![]() Registered Member ![]()
|
After yesterday's upgrade to KDE Applications 19.08 on KDE neon User Edition 5.16, Akonadi won't start any more. It was operational until then.
I verified that ~/.local/share/akonadi/mysql.conf still exists and that I have permissions for that file. I also tried to move it out of the way (expecting Akonadi to regenerate it from scratch), but that did not help either. The system was fully shut down after the update, then booted today. Regarding the message concerning mysqld, I do happen to have a running mysql server on my machine, but I guess this is about Akonadi's built-in local mysql server. I heavily rely on KMail and KOrganizer for my work -- any hints to solve this problem would be highly appreciated.
Last edited by bovender on Tue Aug 20, 2019 12:22 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
I'm having the same problem, also on KDE Neon. Akonadi/Kmail has almost always broken on updates for me, both on systems with old hardware and new, but usually following the "clean start after a failed migration" directions fixes things. This time it didn't work.
When starting Akonadi after deleting everything called for in the failed migration directions, I did notice that while Akonadi re-created the akonadi folder in local/share and in config, it didn't re-create any of the usual files in config outside of the config/akonadi folder. also, I took a peek in /run/user/1000/akonadi/ and it was empty (and stayed empty when starting akonadi in order to try to re-create everything). <sigh> |
![]() Registered Member ![]()
|
Maybe it is again the problem with apparmor
![]() |
![]() Registered Member ![]()
|
I don't think so. Added the line
both under
and under
in /etc/apparmor.d/usr.sbin.mysqld-akonadi, and issued
both times and got the same error messages. I also uninstalled akonadi-server, moved ~/.local/share/akonadi out of the way, then re-installed the PIM applications and still could not start KMail, KOrganizer & Co. |
![]() Registered Member ![]()
|
Thanks for the suggestion, but I couldn't get this to work for me. First of all, I looked in /etc/apparmor.d/usr.sbin.mysqld-akonadi and per the thread you referenced, it did include the bugfix for the lockfile:
I noticed in my akonadi output (same as bovender's, above) that the argument being supplied to org.kde.pim.akonadiserver had a slightly different path
and not
and adding a line
to /etc/apparmor.d/usr.sbin.mysqld-akonadi just in case it made a difference didn't do anything, either. I guess it's probably time to file a bug report. |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Did you edit the log to anonyminize you user name or is this the original log output ? If original, than the launcher is using probably the environment variable $USER wrong ![]()
Last edited by raphaelra on Tue Aug 20, 2019 9:14 am, edited 1 time in total.
|
![]() Registered Member ![]()
|
It's redacted. I replaced my true user name with USER here. Will add this to the bug report in order to avoid confusion. Thanks. |
![]() Registered Member ![]()
|
Beat me to it! Awesome, thanks. |
![]() Registered Member ![]()
|
I dared to update my neon today ...
Akonadi started without errors after reboot ![]() @bovender: Regarding to your comment to reported bug ... Here my apparmor profile for akonadi-mysql:
|
![]() Registered Member ![]()
|
weird. your apparmor profile for akonadi-mysql is identical to mine. system is the same except my kernel is 5.0.0-25 generic. could that be a factor? |
![]() Registered Member ![]()
|
Thanks. It's almost identical to mine:
I pasted it into my file nonetheless and systemctl-reloaded apparmor, to no avail. Could it be that another apparmor profile is interfering? Seems that I have to learn more about apparmor after all... |
![]() Registered Member ![]()
|
From bovender's syslog:
|
![]() Registered Member ![]()
|
I think I finally solved it! Kind of by accident, and I still don't know what the cause was.
(NB: systemctl cannot handle the `teardown` task) Now akonadi works again! ![]() |
![]() Registered Member ![]()
|
Does it work after rebooting? Or do you have to tear down and restart apparmor every time? |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]