Akonadi

akonadictl: org.kde.pim.akonadiserver: process error: "Unknown error"

Error

When starting akonadictl, we get the following error:


$ akonadictl start
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=~/.local/share/akonadi/mysql.conf", "--datadir=~/.local/share/akonadi/db_data/", "--socket=/run/user/1001/akonadi/mysql.socket", "--pid-file=/run/user/1001/akonadi/mysql.pid")

akonadiserver and MySQL upgrades

Sometimes, akonadi will not start because a SQL upgrade is required.

DBUpdater: query error


org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: DB initializer done
org.kde.pim.akonadiserver: DBUpdater: query error: "Invalid default value for 'atime' QMYSQL: Unable to execute query" " "
org.kde.pim.akonadiserver: Query was: "ALTER TABLE PimItemTable ROW_FORMAT=DYNAMIC"
org.kde.pim.akonadiserver: Target version was: 41
org.kde.pim.akonadiserver: Mandatory: true

/usr/bin/akonadi_baloo_indexer

Bug 332195 - Allow to disable akonadi_baloo_indexer
https://bugs.kde.org/show_bug.cgi?id=332195

kill_baloo.sh
Remove baloo from your KDE install. Kill it with fire.
https://gist.github.com/peterix/5376fd5e967774d9cb0e

Bug 342015 - cannot compile libkdepim without baloo
https://bugs.kde.org/show_bug.cgi?id=342015

Indexes stored in:
~/.local/share/baloo/

Various way to disable baloo:
https://www.kubuntuforums.net/showthread.php?65266-KDE-screw-up-baloo-fi...

Syndicate content