Bug 393817 - Akonadi does not start
Summary: Akonadi does not start
Status: RESOLVED DUPLICATE of bug 392948
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 18:43 UTC by Przem
Modified: 2018-06-17 13:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screnschotts (372.34 KB, application/zip)
2018-05-03 18:43 UTC, Przem
Details
report (11.66 KB, text/plain)
2018-05-09 12:45 UTC, Przem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Przem 2018-05-03 18:43:59 UTC
Created attachment 112395 [details]
Screnschotts

I download latest KDE Neon user edition - 3 may 2018. And i wants install and run Kontact. And i have error - see screenshots into zip file. 

This same error i have in fresh install Manjaro, Netrunner - pradably everyone distro.
Comment 1 Christoph Feck 2018-05-03 18:56:01 UTC
Could you please try starting Akonadi from the Konsole? It should then show a detailed log. Use:

akonadictl start

More information is available at https://userbase.kde.org/Akonadi and https://techbase.kde.org/KDE_PIM/Akonadi

Please do not use the Keywords and Alias fields, they are assigned by developers.
Comment 2 Przem 2018-05-03 19:05:01 UTC
akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
neon@neon:~$ sudo org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/neon/.local/share/akonadi/mysql.conf", "--datadir=/home/neon/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-neon.MPVu47/mysql.socket", "--pid-file=/tmp/akonadi-neon.MPVu47/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "180503 21:04:13 [Note] /usr/sbin/mysqld (mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 5747 ...\n180503 21:04:13 [Warning] Can't create test file /home/neon/.local/share/akonadi/db_data/neon.lower-test\n\x07/usr/sbin/mysqld: Can't change dir to '/home/neon/.local/share/akonadi/db_data/' (Errcode: 2 \"No such file or directory\")\n180503 21:04:13 [ERROR] Aborting\n\n180503 21:04:13 [Note] /usr/sbin/mysqld: Shutdown complete\n\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...
Comment 3 Przem 2018-05-03 19:06:06 UTC
This same eroor in ewery distro in KDE.
Comment 4 Christoph Feck 2018-05-03 19:25:53 UTC
Do not start akonadi as root.
Comment 5 Przem 2018-05-03 19:38:47 UTC
I know. This its live KDE Neon. No change to root.
Comment 6 bernd 2018-05-08 09:54:29 UTC
Same here on KDE Neon and other distros after the KDE applications upgrade to 18.04.

This is from the PCLinucOs forum, TEX (admin) wrote:

Good deal. We have been configuring akonadi to place the mysql-global.conf file in the /etc/akonadi folder but 18.04.0 can't find it there so I just let akonadi tell me where it wants it to be.


Bernd
Comment 7 Przem 2018-05-09 07:16:52 UTC
When can you expect a patch? For now I have uninstalled KDE Neon and changed to KUbuntu (older KDE and Akonadi works), but KDE Neon is better and wants to come back.

By the way - can I copy KMail configuration files after I return to KDE Neon to quickly migrate to KDE Neon from Kubuntu? Where all account configuration files, attachment files, message templates, etc. are kept. He would get them out of Kubuntu and transfer them to Neon as I install him. I have 6 e-mail accounts - the setting of all this is a lot of work.
Comment 8 Przem 2018-05-09 12:45:39 UTC
Created attachment 112530 [details]
report
Comment 9 BAKfr 2018-06-17 13:21:44 UTC
A workaround is to manually create the folder ~/.local/share/akonadi/db_data/

*** This bug has been marked as a duplicate of bug 392948 ***