View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004442 | SOGo | Backend Address Book | public | 2018-04-09 09:03 | 2018-04-27 13:23 |
Reporter | bassist144 | Assigned To | ludovic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04.4 LTS |
Product Version | 4.0.0 | ||||
Fixed in Version | 4.0.1 | ||||
Summary | 0004442: Unable to add new Contact to MySQL-Backend. | ||||
Description | Apr 09 10:35:50 sogod [26795]: [ERROR] <0x0x55b6b9aa1b20[GCSFolder]> -[GCSFolder _generateInsertStatementForRow:adaptor:tableName:]: no type found for column name c_hascertificate SOGo seems been unable to get column-type from new c_hashcertificate on MariaDB. Mail / Calender works just fine. | ||||
Steps To Reproduce | Stop SOGo; | ||||
Additional Information | ii libsope-appserver4.9 4.9.r1664.20180320 Database is Clusted with Galera. {
| ||||
Tags | No tags attached. | ||||
Please run the sql-update-3.2.10_to_4.0.0-mysql.sh script. |
|
Sorry for reopening it, but as you might know. Database changed In my opinion there is a problem with mariadb/innodb and the column type. As there is a try to get the type, which throws an error and then leaves out the c_hascertificate in the INSERT. Apr 09 21:16:01 sogod [30697]: [ERROR] <0x0x558aa8518740[GCSFolder]> -[GCSFolder _generateInsertStatementForRow:adaptor:tableName:]: no type found for column name c_hascertificate so an insert with an missing value throws the: ERROR: Column count doesn't match value count at row 1 |
|
Replaced default NULL with default 0 in the mysql-utf8mb4.sql Alter your database schema and you should be all good. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-04-09 09:03 | bassist144 | New Issue | |
2018-04-09 12:55 | francis | Note Added: 0012819 | |
2018-04-09 12:55 | francis | Status | new => closed |
2018-04-09 12:55 | francis | Assigned To | => francis |
2018-04-09 12:55 | francis | Resolution | open => no change required |
2018-04-10 07:33 | bassist144 | Note Added: 0012822 | |
2018-04-10 07:33 | bassist144 | Status | closed => feedback |
2018-04-10 07:33 | bassist144 | Resolution | no change required => reopened |
2018-04-27 13:22 | ludovic | Changeset attached | => sogo master 64055678 |
2018-04-27 13:22 | ludovic | Assigned To | francis => ludovic |
2018-04-27 13:23 | ludovic | Note Added: 0012856 | |
2018-04-27 13:23 | ludovic | Status | feedback => resolved |
2018-04-27 13:23 | ludovic | Fixed in Version | => 4.0.1 |
2018-04-27 13:23 | ludovic | Resolution | reopened => fixed |