https://bugs.kde.org/show_bug.cgi?id=392948

            Bug ID: 392948
           Summary: Akonadi fails to start on a fresh system (cannot
                    create directory)
           Product: Akonadi
           Version: GIT (master)
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs@kde.org
          Reporter: olaf.the.lost.vik...@gmail.com
  Target Milestone: ---

I just installed a fresh KDE Neon Developer Edition using the development
branches because I wanted to check for another critical (for me) bug (#374546).

The assistant when starting Kontact the first time fails without giving usable
error messages. The console reveals that the database directory is not created
automatically and akonadi fails to start. Bad for new users ;-)

olaflostviking@neon-valhalla:~$ akonadictl start  
olaflostviking@neon-valhalla:~$ Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
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/olaflostviking/.local/share/akonadi/mysql.conf",
"--datadir=/home/olaflostviking/.local/share/akonadi/db_data/",
"--socket=/tmp/akonadi-olaflostviking.7ef5j8/mysql.socket",
"--pid-file=/tmp/akonadi-olaflostviking.7ef5j8/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "180409 23:03:19 [Note] /usr/sbin/mysqld
(mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 1809 ...\n180409
23:03:19 [Warning] Can't create test file
/home/olaflostviking/.local/share/akonadi/db_data/neon-valhalla.lower-test\n\x07/usr/sbin/mysqld:
Can't change dir to '/home/olaflostviking/.local/share/akonadi/db_data/'
(Errcode: 2 \"No such file or directory\")\n180409 23:03:19 [ERROR]
Aborting\n\n180409 23:03:19 [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...

olaflostviking@neon-valhalla:~$ cd .local/share/akonadi/ 
olaflostviking@neon-valhalla:~/.local/share/akonadi$ ls -l
total 24
-rw-rw-r-- 1 olaflostviking olaflostviking  150 Apr  9 23:03
akonadi_control.error
-rw-rw-r-- 1 olaflostviking olaflostviking  150 Apr  9 23:03
akonadi_control.error.old
-rw-rw-r-- 1 olaflostviking olaflostviking    0 Apr  9 23:03 akonadictl.error
-rw-rw-r-- 1 olaflostviking olaflostviking    0 Apr  9 23:03
akonadictl.error.old
-rw-rw-r-- 1 olaflostviking olaflostviking  995 Apr  9 23:03
akonadiserver.error
-rw-rw-r-- 1 olaflostviking olaflostviking  995 Apr  9 23:03
akonadiserver.error.old
-rw-rw-r-- 1 olaflostviking olaflostviking 3423 Apr  9 22:58 mysql.conf
drwxrwxr-x 4 olaflostviking olaflostviking 4096 Apr  9 22:58 search_db
lrwxrwxrwx 1 olaflostviking olaflostviking   34 Apr  9 22:58
socket-neon-valhalla -> /tmp/akonadi-olaflostviking.7ef5j8
olaflostviking@neon-valhalla:~/.local/share/akonadi$ mkdir db_data
olaflostviking@neon-valhalla:~/.local/share/akonadi$ akonadictl start
olaflostviking@neon-valhalla:~/.local/share/akonadi$ Connecting to deprecated
signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
/usr/bin/mysqlcheck: Got error: 1049: Unknown database 'akonadi' when selecting
the database
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.kidentitymanagement: IdentityManager: There was no default
identity. Marking first one as default.
org.kde.pim.maildirresource: the resource is not properly configured: there is
no config file for the resource. We create a new one.
org.kde.pim.kidentitymanagement: IdentityManager: There was no default
identity. Marking first one as default.
org.kde.pim.kidentitymanagement: IdentityManager: There was no default
identity. Marking first one as default.
"No file selected."
org.kde.pim.maildirresource: the resource is not properly configured: there is
no config file for the resource. We create a new one.
QObject::killTimer: Timers cannot be stopped from another thread

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to