Trying to get kmail running on a new install of Arch but akonadi won’t start:
❯ akonadictl start
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl: done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
~
❯ qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.kde.akonadi_control'")
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: Failed to detect mysqld version!
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/bin/mariadb"
org.kde.pim.akonadiserver: arguments: QList("--defaults-file=/home/paul/.local/share/akonadi/mysql.conf", "--datadir=/home/paul/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "/usr/bin/mariadb: unknown variable 'datadir=/home/paul/.local/share/akonadi/db_data/'\n/usr/bin/mariadb: unknown variable 'pid-file=/run/user/1000/akonadi/mysql.pid'\n"
org.kde.pim.akonadiserver: exit code: 7
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: See "/home/paul/.local/share/akonadi/db_data/mysql.err" for more details
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
I see bug 482442 looks similar but my system does not have apparmor so the solutions proposed there don’t apply.
Not sure if I’ve picked out the right bit of the messages (mariadb: unknown variable)
The directories specified by datadir and pid-file exist and are writable though I’m not seeing the file mysql.pid being created. (Maybe not relevant)
❯ /usr/bin/mariadb --version
/usr/bin/mariadb from 12.1.2-MariaDB, client 15.2 for Linux (x86_64) using readline 5.1