Reply to topic

Akonadi isn't starting anymore

sstaeglich
Registered Member
Posts
46
Karma
0

Akonadi isn't starting anymore

Thu Jan 09, 2020 2:37 pm
Hi,

the latest updates seems to cause that akonadi isn't starting anymore. I've tested it with several machines and users:
Code: Select all
2020-01-09T15:25:46 [INFO ] org.kde.pim.akonadiserver: Starting up the Akonadi Server...
2020-01-09T15:25:46 [WARN ] org.kde.pim.akonadipriv2020-01-09T15:26:00 [INFO ] org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
t QString&): StandardDirs::saveDir: failed to create directory ' "/run/user/2008/akonadi" '
2020-01-09T15:25:46 [WARN ] default: QDir::mkpath: Empty or null file name
2020-01-09T15:25:46 [CRITICAL] org.kde.pim.akonadiserver: Creating socket directory with name "" failed: Erfolg
2020-01-09T15:25:46 [CRITICAL] org.kde.pim.akonadiserver: Could not create socket directory for Akonadi.
2020-01-09T15:25:46 [WARN ] org.kde.pim.akonadiprivate: /workspace/build/src/private/standarddirs.cpp:131: QString Akonadi::StandardDirs::saveDir(const char*, const QString&): StandardDirs::saveDir: failed to create directory ' "/run/user/2008/akonadi" '
2020-01-09T15:25:46 [WARN ] default: QDir::mkpath: Empty or null file name
2020-01-09T15:25:46 [CRITICAL] org.kde.pim.akonadiserver: Creating socket directory with name "" failed: Erfolg
2020-01-09T15:25:46 [CRITICAL] org.kde.pim.akonadiserver: Could not create socket directory for Akonadi.
2020-01-09T15:25:50 [WARN ] org.kde.pim.akonadiprivate: /workspace/build/src/private/standarddirs.cpp:131: QString Akonadi::StandardDirs::saveDir(const char*, const QString&): StandardDirs::saveDir: failed to create directory ' "/run/user/2008/akonadi" '
2020-01-09T15:25:50 [WARN ] default: QDir::mkpath: Empty or null file name
2020-01-09T15:25:50 [CRITICAL] org.kde.pim.akonadiserver: Creating socket directory with name "" failed: Erfolg
2020-01-09T15:25:50 [CRITICAL] org.kde.pim.akonadiserver: Could not create socket directory for Akonadi.
2020-01-09T15:25:50 [INFO ] org.kde.pim.akonadiserver: Running DB initializer
2020-01-09T15:25:50 [INFO ] org.kde.pim.akonadiserver: DB initializer done
2020-01-09T15:25:54 [WARN ] default: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
2020-01-09T15:25:56 [CRITICAL] org.kde.pim.akonadiserver: Unable to connect to dbus service:  "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.4\" (uid=2008 pid=5443 comm=\"/usr/bin/akonadiserver \" label=\"/usr/bin/akonadiserver (enforce)\") interface=\"org.freedesktop.DBus\" member=\"RequestName\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.DBus\" (bus)"
2020-01-09T15:25:59 [CRITICAL] org.kde.pim.akonadiserver: Failed to remove runtime connection config file


Seems that the error occurs only after rebooting with the latest updates installed.

EDIT: Or after starting akonadi again. I don't know ....

Cheers,
Stefan
sstaeglich
Registered Member
Posts
46
Karma
0

Re: Akonadi isn't starting anymore

Thu Jan 09, 2020 3:01 pm
sstaeglich wrote:Seems that the error occurs only after rebooting with the latest updates installed.

EDIT: Or after starting akonadi again. I don't know ....


I've done an other test. Seems after rebooting. And it doesn't help to downgrade the akonadi packages.
User avatar kde-jriddell
Registered Member
Posts
72
Karma
1
OS

Re: Akonadi isn't starting anymore

Thu Jan 09, 2020 3:32 pm
Sorry about this

Bug at https://bugs.kde.org/show_bug.cgi?id=41 ... ddongudbz0

We have a fix which we are building and testing
sstaeglich
Registered Member
Posts
46
Karma
0

Re: Akonadi isn't starting anymore

Thu Jan 09, 2020 4:03 pm
Hi Jonathan,

thanks for your reply. I've read about issues with Akonadi and AppArmor and so I've done some test already.

Unfortunately It doesn't help to disable
  • AppArmor completly
  • the profiles usr.sbin.mysqld-akonadi and usr.bin.akonadiserver

That's the log:
Code: Select all
2020-01-09T16:55:14 [INFO ] org.kde.pim.akonadiserver: Starting up the Akonadi Server...
2020-01-09T16:56:21 [CRITICAL] org.kde.pim.akonadis2020-01-09T16:56:24 [INFO ] org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
"Can't connect to local MySQL server through socket '/run/user/2008/akonadi/mysql.socket' (2) QMYSQL: Unable to connect"
2020-01-09T16:56:24 [CRITICAL] org.kde.pim.akonadiserver: Failed to remove runtime connection config file
2020-01-09T16:56:24 [INFO ] org.kde.pim.akonadiserver: Shutting down AkonadiServer...


Cheers,
Stefan
sstaeglich
Registered Member
Posts
46
Karma
0

Re: Akonadi isn't starting anymore

Thu Jan 09, 2020 5:03 pm
By the way, I've observed the following error:
Code: Select all
# aa-logprof
Protokolleinträge von /var/log/syslog werden gelesen.
AppArmor-Profile in /etc/apparmor.d werden aktualisiert.

ERROR: Include file /etc/apparmor.d/abstractions/qt5 not found
User avatar kde-jriddell
Registered Member
Posts
72
Karma
1
OS

Re: Akonadi isn't starting anymore

Thu Jan 09, 2020 5:39 pm
The fix is now published, please update and reboot.
sstaeglich
Registered Member
Posts
46
Karma
0
I can confirm this. Many thanks for the quick fix:
https://bugs.kde.org/show_bug.cgi?id=416016#c14

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], darktori, eiglow_, flipwise, Google [Bot], hellozee, herrdeh, hgm, isaacbraham, kakosf, kde-bertil, Majestic-12 [Bot], pramos13pt, raveomelette, Sogou [Bot], Yahoo [Bot]