[arch-general] maria update to 10.4.6 breaks akonadi's db

Jens John lists at 2ion.de
Fri Jun 28 05:49:16 UTC 2019

On Fri, 28 Jun 2019, at 07:41, Oliver Jaksch via arch-general wrote:
> Updated three of my KDE clients by terminal (not logged in by display 
> manager/DM) and ran 
> # systemctl restart mariadb.service && mariadb-upgrade -u root -p

This doesn't affect akonadi's data since it is located someplace else at a non-system location:

     /usr/bin/mysqld --defaults-file=$HOME/.local/share/akonadi/mysql.conf --datadir=$HOME/.local/share/akonadi/db_data/ --s
ocket=/tmp/akonadi-xxx.LdhzVw/mysql.socket --pid-file=/tmp/akonadi-xxx.LdhzVw/mysql.pids

I suggest you look into actually upgrading akonadi's DB first. For that, you probably can pass --defaults-file and --datadir as-is to mariadb-upgrade (and the upgrade should be executed as the user akonadi is running as, not root).

More information about the arch-general mailing list