View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004418 | SOGo | Backend Address Book | public | 2018-03-10 06:02 | 2018-03-12 18:51 |
Reporter | neradp | Assigned To | ludovic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | [Server] Linux | OS | RHEL/CentOS | OS Version | 7 |
Summary | 0004418: Cannot add user to address book | ||||
Description | Im using nightly build version 4 and I cannot add users to adress books. Im runnig sogo server on mysql(mariadb) .. | ||||
Steps To Reproduce | when i do clean install run sogod service tables created in sogo db are wrong.. So i run sogo sql upgrade 3.2.10 to 4.0.0 script for mysql to do tables correction.. Now column c_hascertificate is in place... but adding user gave me this error in logs: Mar 09 23:11:36 sogod [26916]: [ERROR] <0x0x56381d5245d0[GCSFolder]> -[GCSFolder _generateInsertStatementForRow:adaptor:tableName:]: no type found for column name c_hascertificate | ||||
Tags | No tags attached. | ||||
Show your configuration (sogo.conf file). |
|
Attached |
|
My guess is that you used the Scripts/mysql-utf8mb4.sql when creating your SOGo environment from scratch. This script did not add by default the c_hascertificate column. |
|
no i did not :( I have no utf8mb4 configuration options in mariadb... |
|
Then cleanup your sogo.conf file - you have duplicate keys in it. I've just tested it on a fresh environment with the 9 tables structure and it works perfectly. |
|
i did none schema creation for tables... sogod on first run created tables itself... sorry for my bad english :-D |
|
oh...yes duplicates folders for mysql.. sogo stoped sogo_guick_contact table has no column c_hascertificate :( |
|
Enable MySQL4DebugEnabled = YES; in your config, remove all tables and restart sogod. Paste the result from your sogo.log file. |
|
attached |
|
2018-03-12 19:33:31.915 sogod[31515] <MySQL4Channel[0x0x5602a20466c0] connection=0x0x5602a219a860> SQL: CREATE TABLE sogo_quick_contact (c_folder_id INT NOT NULL, c_name VARCHAR(255) NOT NULL, c_givenname VARCHAR(255) NULL, c_cn VARCHAR(255) NULL, c_sn VARCHAR(255) NULL, c_screenname VARCHAR(255) NULL, c_l VARCHAR(255) NULL, c_mail VARCHAR(255) NULL, c_o VARCHAR(255) NULL, c_ou VARCHAR(255) NULL, c_telephonenumber VARCHAR(255) NULL, c_categories VARCHAR(255) NULL, c_component VARCHAR(10) NOT NULL, CONSTRAINT sogo_quick_contact_pkey PRIMARY KEY(c_folder_id, c_name)); Have you installed SOGo from sources or from packages? |
|
"CREATE TABLE sogo_cache_folder" 2x.. in config i have no duplicates.. SQL: CREATE TABLE sogo_quick_contact (c_folder_id INT NOT NULL, c_name VARCHAR(255) NOT NULL, c_givenname VARCHAR(255) NULL, c_cn VARCHAR(255) NULL, c_sn VARCHAR(255) NULL, c_screenname VARCHAR(255) NULL, c_l VARCHAR(255) NULL, c_mail VARCHAR(255) NULL, c_o VARCHAR(255) NULL, c_ou VARCHAR(255) NULL, c_telephonenumber VARCHAR(255) NULL, c_categories VARCHAR(255) NULL, c_component VARCHAR(10) NOT NULL, CONSTRAINT sogo_quick_contact_pkey PRIMARY KEY(c_folder_id, c_name)); No column c_hascertificate :((( |
|
Please answer my question |
|
im installing from repository... nightly builds |
|
I think you failed to upgrade the sope gdlcontentstore package. |
|
oh shit i forgot for this: i have installed sogo-openchange-backend-2.3.1-1.centos6.x86_64.rpm Can this package do some errors ? |
|
of course it will |
|
Broken update. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-03-10 06:02 | neradp | New Issue | |
2018-03-12 13:46 | ludovic | Note Added: 0012650 | |
2018-03-12 13:46 | ludovic | Severity | block => minor |
2018-03-12 17:03 | neradp | File Added: sogo.conf.bak | |
2018-03-12 17:04 | neradp | Note Added: 0012651 | |
2018-03-12 17:19 | ludovic | Note Added: 0012652 | |
2018-03-12 17:35 | neradp | Note Added: 0012653 | |
2018-03-12 17:37 | ludovic | Note Added: 0012655 | |
2018-03-12 17:46 | neradp | Note Added: 0012658 | |
2018-03-12 17:56 | neradp | Note Added: 0012659 | |
2018-03-12 17:57 | ludovic | Note Added: 0012660 | |
2018-03-12 18:37 | neradp | File Added: sogo.log | |
2018-03-12 18:37 | neradp | Note Added: 0012662 | |
2018-03-12 18:41 | ludovic | Note Added: 0012663 | |
2018-03-12 18:43 | neradp | Note Added: 0012664 | |
2018-03-12 18:43 | ludovic | Note Added: 0012665 | |
2018-03-12 18:47 | neradp | Note Added: 0012666 | |
2018-03-12 18:49 | ludovic | Note Added: 0012667 | |
2018-03-12 18:50 | neradp | Note Added: 0012668 | |
2018-03-12 18:51 | ludovic | Note Added: 0012669 | |
2018-03-12 18:51 | ludovic | Note Added: 0012670 | |
2018-03-12 18:51 | ludovic | Status | new => resolved |
2018-03-12 18:51 | ludovic | Resolution | open => no change required |
2018-03-12 18:51 | ludovic | Assigned To | => ludovic |