Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#62997 - [akonadi] akonadi 19.04.2-3 doesn't start when using PostgreSQL backend

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Monday, 24 June 2019, 15:52 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 27 June 2019, 15:16 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


After updating to akonadi 19.04.2-3 it doesn't start anymore.

akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: "\nSql error: ERROR: column \"version\" of relation \"schemaversiontable\" already exists\n(42701) QPSQL: Unable to create query\nQuery: ALTER TABLE SchemaVersionTable ADD COLUMN version INTEGER NOT NULL DEFAULT 0"
org.kde.pim.akonadiserver: Unable to initialize database.
waiting for server to shut down.... done
server stopped
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...

If I downgrade to akonadi 19.04.2-2 and qt5-* 5.12.4 is works again.

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any
akonadi 19.04.2-3
qt5-base 5.13.0-4
qt5-* 5.13.0-1

Steps to reproduce:
Configure PostgreSQL as the DB backend for Akonadi and run:
akonadictl start
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 27 June 2019, 15:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  akonadi 19.04.2-4
Comment by Antonio Rojas (arojas) - Monday, 24 June 2019, 16:21 GMT Comment by nl6720 (nl6720) - Monday, 24 June 2019, 16:38 GMT
I couldn't revert them :(
If someone could prepare a patch, I could test it.
Comment by Antonio Rojas (arojas) - Tuesday, 25 June 2019, 21:30 GMT Comment by nl6720 (nl6720) - Wednesday, 26 June 2019, 03:42 GMT
qt5-base 5.13.0-4.1 works.

$ akonadictl status
Akonadi Control: running
Akonadi Server: running
Comment by Antonio Rojas (arojas) - Wednesday, 26 June 2019, 06:37 GMT
Alright, then it's I don't understand the code well enough to know if it's a bug in Qt or akonadi must adapt to the new code. Please report it to and let's see what akonadi devs say.
Comment by nl6720 (nl6720) - Thursday, 27 June 2019, 08:10 GMT Comment by Antonio Rojas (arojas) - Thursday, 27 June 2019, 15:03 GMT
I made a package including Dan's patch, please test it
Comment by nl6720 (nl6720) - Thursday, 27 June 2019, 15:12 GMT
I already built a package with the patch and tested it.
Your package works too.