After a routine update a couple of days ago the
Akonadi server won't start. At first the self-test dialogue reported very many errors; after following this advice from the KDE site the number is down to five:
Copy it from /usr/share/config/akonadi/mysql-global.conf into ~/.config/akonadi/mysql-local.conf. (For debian and openSuSE users the file is located in /etc/akonadi/mysql-global.conf). Then open it and uncomment the line sql_mode=strict_trans_tables.
The most serious one seems to be that
Akonadi can't find any resource agents. It's looking for them in
/usr/share/akonadi/agents, where the XDG_DATA_DIRS environment variable tells it to.
I'm also informed that neither the
Akonadi control process nor the
Akonadi server process are registered at D-Bus, which is probably a result of the above: not finding the resource agents
Akonadi is simply not running. On top of that the error dialogue complains about some error logs.
I have reinstalled
Akonadi and
mysql-core, and after some googling I tried renaming the
~/.config/akonadi and
~/.local/share/akonadi/db_data directories. Smaller versions lacking most of the contents of the old ones were created, but apart from that no change.
Strangely enough
Strigi runs happily without
Akonadi.
I would have attached the latest self-test log but the option seems to have gone missing. I will probably add selected parts of it to a follow-up post instead. (In its entirety it's too long for a post.)