[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

Don Rudo bugzilla_noreply at kde.org
Sun Jul 9 19:37:20 BST 2023


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

Don Rudo <pro at donrudo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro at donrudo.com

--- Comment #27 from Don Rudo <pro at donrudo.com> ---
(In reply to KimHono from comment #23)
> In my case :
> - "touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0" worked for
> several times but finally failed. Even while restoring a backup realized
> before the issue.
> - "mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
> --socket=/run/user/$(id -u)/akonadi/mysql.socket
> --check-if-upgrade-is-needed" was clean but didn't resolve anything.
> - "rm -r ~/.local/share/akonadi/db_data" followed by "akonadictl start" is
> finally the best solution. Thanks to IMAP protocol I didn't loose any email !

I confirm this was the best fix for me, with only one addition, I got into some
issues beforehand because journalctl was only showing the warning about
"mysqld" being deprecated in favor of "mariadbd" as a potential 'error', the
full change was:

sed -i 's/mysqld/mysqldbd/g' ~/.config/akonadi/akonadiserverrc
rm -r ~/.local/share/akonadi/db_data
akonadictl start

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


More information about the Kdepim-bugs mailing list