[SOLVED] Akonadi stopped working on one computer Mageia 5

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Akonadi stopped working on one computer Mageia 5

Postby rychok » Sep 29th, '17, 00:26

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,
Attachments
mysql-err.txt
part of error log
(18.03 KiB) Downloaded 92 times
packages-20170927.txt
(284.87 KiB) Downloaded 125 times
akonadi-selftest-report-20170928.txt
(168.52 KiB) Downloaded 108 times
Last edited by rychok on Sep 30th, '17, 03:22, edited 1 time in total.
rychok
 
Posts: 59
Joined: Jul 9th, '13, 03:03

Re: Akonadi stopped working on one computer Mageia 5

Postby mark9117 » Sep 29th, '17, 01:23

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.
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Akonadi stopped working on one computer Mageia 5

Postby rychok » Sep 30th, '17, 03:21

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.
rychok
 
Posts: 59
Joined: Jul 9th, '13, 03:03


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest