Akonadi server is broken after mysql update
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| akonadi (Ubuntu) |
Undecided
|
Unassigned | |||
Bug Description
After recent updates, i cannot longer use the Akonadi services - it is failing during the start process with following error message:
search paths: ("/home/
Found mysql_install_db: "/usr/bin/
Found mysqlcheck: "/usr/bin/
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/
arguments: ("--defaults-
stdout: ""
stderr: "2015-04-17 10:12:47 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
"
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x418c8a]
1: akonadiserver() [0x418f04]
2: /lib/x86_
3: /lib/x86_
4: /lib/x86_
5: /usr/lib/
6: akonadiserver() [0x41ad0d]
7: /usr/lib/
8: /usr/lib/
9: /usr/lib/
10: akonadiserver() [0x48235e]
11: akonadiserver() [0x41b90f]
12: akonadiserver() [0x41dff8]
13: akonadiserver() [0x4e2e49]
14: /usr/lib/
15: /usr/lib/
16: /usr/lib/
17: /usr/lib/
18: /lib/x86_
19: /lib/x86_
20: /lib/x86_
21: /usr/lib/
22: /usr/lib/
23: /usr/lib/
24: /usr/lib/
25: akonadiserver() [0x4131b5]
26: /lib/x86_
27: akonadiserver(
]
"
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted!
| affects: | kde4libs (Ubuntu) → akonadi (Ubuntu) |
| uszatan (belniak) wrote : | #3 |
I have another solution:
- 1st i run update:
sudo aptitude update
when it is done then:
sudo aptitude purge mysql-server-
aptitute will tell it has many dependencies, many packages will be removed ... so it asks if i accept that solution - choose no (n)
then it will propose installing:
1) mariadb-
2) mariadb-common [10.0.17-0ubuntu1 (vivid)]
3) mariadb-
- if you accept this - mysql will be removed, mariadb (fork of mysql) will be installed, and akonadi will start without any issues.
| Félim Whiteley (felimwhiteley) wrote : | #4 |
Thank you uszatan I had the same issue and your fix worked perfectly. Many thanks.
| O. Sinclair (o-sinclair) wrote : | #5 |
Thanks to Usztan, I did this on 14.10 with MySQL 5.5 and feel that KMail and so on are definitely "snappier" since
| Richard Johnson (rmchard) wrote : | #6 |
Just did the conversion to mariadb and still have the same issue.
Kubuntu 15.10 (daily 10/12/2015)
Trying the next suggested workaround.
$ akonadictl start
Starting Akonadi Server...
done.
Connecting to deprecated signal QDBusConnection
richard@
Found mysql_install_db: ""
Found mysqlcheck: "/usr/bin/
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/
arguments: ("--defaults-
stdout: ""
stderr: "151012 19:40:37 [Note] /usr/sbin/mysqld (mysqld 10.0.20-
"
exit code: 1
process error: "Unknown error"
"[
0: akonadiserver() [0x57e2f6]
1: akonadiserver() [0x57e61e]
2: /lib/x86_
3: /lib/x86_
4: /lib/x86_
5: /usr/lib/
6: akonadiserver() [0x580c1c]
7: /usr/lib/
8: /usr/lib/
9: /usr/lib/
10: /usr/lib/
11: akonadiserver() [0x4974ea]
12: akonadiserver() [0x420b09]
13: akonadiserver() [0x422177]
14: akonadiserver() [0x503289]
15: /usr/lib/
16: /usr/lib/
17: /usr/lib/
18: /usr/lib/
19: /lib/x86_
20: /lib/x86_
21: /lib/x86_
22: /usr/lib/
23: /usr/lib/
24: /usr/lib/
25: akonadiserver() [0x41fa79]
26: /lib/x86_
| Richard Johnson (rmchard) wrote : | #7 |
Follow-up to previous note:
as suggested here:
https:/
I removed the two files
~/.local/
and ~/.local/
The result follows. It started the db but is missing a table. I will continue to look for old config files that seem to confuse it.
$ akonadictl start
Starting Akonadi Server...
done.
Connecting to deprecated signal QDBusConnection
richard@
Found mysql_install_db: ""
Found mysqlcheck: "/usr/bin/
akonadi.
akonadi.
akonadi.
akonadi.
akonadi.flagtable OK
akonadi.
akonadi.parttable OK
akonadi.
akonadi.
akonadi.
akonadi.
akonadi.
Error : Table 'akonadi.
status : Operation failed
akonadi.
Error : Table 'akonadi.
status : Operation failed
akonadi.
akonadi.
akonadi.
akonadi.
akonadi.tagtable OK
akonadi.
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.innodb_
mysql.innodb_
mysql.ndb_
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.servers OK
mysql.slave_
mysql.slave_
mysql.slave_
mys...


Status changed to 'Confirmed' because the bug affects multiple users.