SUMMARY When opening kmail or kontact, I receive the following error: "A required background service is not running. This application cannot be used without it." When attempting to run Akonadi via `akonadictl start`, the output is as follows: ``` org.kde.pim.akonadictl: Starting Akonadi Server... org.kde.pim.akonadictl: done. ~ ❯ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) org.kde.pim.akonadiserver: Starting up the Akonadi Server... 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/mysqld" org.kde.pim.akonadiserver: arguments: QList("--defaults-file=/home/[user]/.local/share/akonadi/mysql.conf", "--datadir=/home/[user]/.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/mysqld: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadbd' instead\n" org.kde.pim.akonadiserver: exit code: 1 org.kde.pim.akonadiserver: process error: "Unknown error" org.kde.pim.akonadiserver: Shutting down AkonadiServer... org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally... ``` STEPS TO REPRODUCE 1. Attempt to run Akonadi on an up to date version of Arch via akonadictl start SOFTWARE/OS VERSIONS Akonadi: 24.08.3-1 Operating System: EndeavourOS KDE Plasma Version: 6.2.3 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.11.8-arch1-2 (64-bit) Graphics Platform: Wayland
Workaround: error no longer occurs after running: ` mv ~/.local/share/akonadi/db_data ~/.local/share/akonadi/db_data.bak` per https://forum.endeavouros.com/t/akonadi-fails-to-start-kde/27803