Page 1 of 1

[SOLVED] Akonadi stopped working on one computer Mageia 5

PostPosted: Sep 29th, '17, 00:26
by rychok
For a while I have seen some updates on my main desktop computer, but there was once some problem with server and some update sources were disabled I could not make this update due to missing dependencies. On two laptops update were fine and Akonadi resources are available there.
Yesterday I have enabled back update sources and went with update on my desktop. (I should not do it).
After reboot (new dbus) I have noticed that nothing in kontact is working - no Akonadi personal information available.
I have added new user to this computer and everything is working there, so it must be some configuration or permition that must have changed. Based on Akonadi log it looks like it can not start mysql.
Also says Akonadi control process not registered at D-Bus.

I'll appreciate any suggestions - Thank you

Attached error logs and list of packages updated at that time,

Re: Akonadi stopped working on one computer Mageia 5

PostPosted: Sep 29th, '17, 01:23
by mark9117
Hey rychok,

This is what happened to me in a Mageia 6 installation. It stopped working after an update as well.

Check all of your akonadi packages and make sure they are on the correct version. I was able to get some very patient help in the KDE forums. Check out that link and skip to the bottom of the first page and top of the second page.

I have no idea what the versions should be on those Mageia 5 packages, but they all need to line up.

Get versions with something like this:
Code: Select all
# rpm -qa |grep akonadi


Also:
Code: Select all
# rpm -qa |grep kdepim


As you can see in the KDE thread that I referenced earlier I had "[t]he 4.14.10 packages are irrelevant (they are from KDE4).
But the rest "randomly" mixes 16.08.3 and 16.12.3." Mageia 5 does use KDE4, if I'm not mistaken. Nevertheless, the versions of these packages must agree.

I used the drakrpm package manager to uninstall the older packages (16.08.3) and reinstall the 16.12.3 packages. It was very straight forward once I got into the package manager.

Probably some more help available here as needed.

Best of luck with it. I have always been good about updating my systems as updates become available, but still it kicked my ass for weeks. No idea why those stale packages didn't update.

Re: Akonadi stopped working on one computer Mageia 5

PostPosted: Sep 30th, '17, 03:21
by rychok
Thanks Mark,

In my case it were corrupted database files. I have no idea why this happened during an update, it might be just one case when akonadi server was doing something during update.
So I was able to start the server with "innodb_force_recovery = 4" option in mysql.conf file in akonadi folder. But this just gave me only headers of my data, and emails, the links to content of messages, contacts,and notes were lost.
The only thing I could do (good that actual data are in separate folders) was delete ~/.local/share/akonadi folder and let server rebuild it. Some how this folder is half of size of previous and contains 200 files (over 39000 old one), but I do not see anything missing.