After update on June 12 2022 akonadi will not start

After doing a system update on 6-12-2022 Kontact/Kmail will not display my email. It looks like the problem is with the akonadi server. If I try to start Kontact in a termal I get the following output:

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: ("--defaults-file=/home/fptretter/.local/share/akonadi/mysql.conf", "--datadir=/home/fptretter/.local/share/akonadi/db_data/", "--socket=/run/user/1001/akonadi/mysql.sock
et", "--pid-file=/run/user/1001/akonadi/")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "2022-06-12 12:15:28 0 [Note] /usr/bin/mysqld (server 10.8.3-MariaDB) starting as process 4843 ...\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...
Found no modules in speech-dispatcher. No text to speech possible.
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
org.kde.pim.akonadicore: Job error:  "" for collection: QVector()
org.kde.pim.akonadicore: Job error:  "" for collection: QVector()
org.kde.pim.messagelist: Failed to load tags  ""
org.kde.pim.mailcommon: failed to retrieve tags  ""

I saw someone post something similar but that was 19 days ago and I believe his exit code was 6 whereas mine is 1.
I also tried akonadictl status and got this output:

Akonadi Control: stopped
Akonadi Server: stopped
Akonadi Server Search Support: available (Remote Search, Akonadi Search Plugin)
Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_etesync_resource, akonadi_ews_resourc
e, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_knut_resource, akon
adi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mailmerge_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, ak
onadi_newmailnotifier_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_res
ource, akonadi_vcarddir_resource

Any help or advice will be appreciated.

1 Like

I have just done a similar update (mainly kde-applications 22.04.1 to 22.04.2, I think), arising in the same problem with akonadi not running.

Maybe try:

touch ~/.local/share/akonadi/db_data/ib_logfile0

See FS#75033 - [mariadb] Version 10.8.3-1 breaks Akonadi


Ironically I installed Manjaro KDE on a laptop, today, that I plan to use in my office and have ran into the same issue as you are having. I still have not figured out what is causing this but if you figure it out before I do, please let me know.

This actually did the trick for me thanks.

+1 from me too, fixed my issue

:+1: Thanks

thank you very much

3 posts were split to a new topic: Akonadi issue after last update

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.