Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Cannot get Akonado to work on Debian 11

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
aario
Posts: 24
Joined: 2019-04-18 06:26

[SOLVED] Cannot get Akonado to work on Debian 11

#1 Post by aario »

Hi Folks,
Here is what I get when try to get akonadi to work:

Code: Select all

myuser@HOSTNAME:/home/myuser$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
myuser@HOSTNAME:/home/myuser$ akonadictl restart
Akonadi is not running.
myuser@HOSTNAME:/home/myuser$ akonadictl start  
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadicontrol: Service org.freedesktop.Akonadi.Control.lock already registered, terminating now.
org.kde.pim.akonadicontrol: ProcessControl: Application '/usr/bin/akonadiserver' returned with exit code 253 (Unknown error)
Cannot remove old log file '/home/myuser/.local/share/akonadi/Akonadi.error.old': Permission denied
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = akonadiserver path = /usr/bin pid = 124571
KCrash: Arguments: /usr/bin/akonadiserver 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
Icon theme "-Dark" not found.
Icon theme "Zafiro" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
Error: akonadi_control was started but didn't register at D-Bus session bus.
Make sure your system is set up correctly!
myuser@HOSTNAME:/home/myuser$ akonadiconsole 
Icon theme "-Dark" not found.
Icon theme "Zafiro" not found.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Connection to speech-dispatcher failed
Please register the custom scheme 'cid' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
QSqlQuery::prepare: database not open
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
org.kde.pim.akonadi_search_xapian: Xapian Database does not exist at  "/home/myuser/.local/share/akonadi/search_db/calendars/"
org.kde.pim.akonadi_search_xapian: Xapian Database does not exist at  "/home/myuser/.local/share/akonadi/search_db/contacts/"
org.kde.pim.akonadi_search_xapian: Xapian Database does not exist at  "/home/myuser/.local/share/akonadi/search_db/email/"
org.kde.pim.akonadi_search_xapian: Xapian Database does not exist at  "/home/myuser/.local/share/akonadi/search_db/notes/"
org.kde.pim.akonadiconsole: DatabaseOpeningError "DatabaseOpeningError: Couldn't detect type of database" 
Basically it cannot connect to its database. I tries sqlite but that also did not work. These are all the packages that I have installed:

Code: Select all

myuser@HOSTNAME:/home/myuser$ dpkg --get-selections | grep 'akonadi\|sql'
akonadi-backend-mysql                           install
akonadi-contacts-data                           install
akonadi-mime-data                               install
akonadi-server                                  install
akonadiconsole                                  install
default-mysql-client-core                       install
default-mysql-server                            install
default-mysql-server-core                       install
kmailtransport-akonadi:amd64                    install
libhsqldb1.8.0-java                             install
libkf5akonadi-data                              install
libkf5akonadiagentbase5:amd64                   install
libkf5akonadicalendar-data                      install
libkf5akonadicalendar5abi1:amd64                install
libkf5akonadicontact5:amd64                     install
libkf5akonadicore5abi2:amd64                    install
libkf5akonadimime5:amd64                        install
libkf5akonadinotes5:amd64                       install
libkf5akonadiprivate5abi2:amd64                 install
libkf5akonadisearch-bin                         install
libkf5akonadisearch-data                        install
libkf5akonadisearch-plugins:amd64               install
libkf5akonadisearchcore5:amd64                  install
libkf5akonadisearchdebug5:amd64                 install
libkf5akonadisearchpim5:amd64                   install
libkf5akonadisearchxapian5:amd64                install
libkf5akonadiwidgets5abi1:amd64                 install
libkf5akonadixml5:amd64                         install
libkf5mailimporterakonadi5:amd64                install
libkf5mailtransportakonadi5:amd64               install
libkf5pimcommonakonadi5abi1:amd64               install
libqt5sql5:amd64                                install
libqt5sql5-mysql:amd64                          install
libqt5sql5-sqlite:amd64                         install
libreoffice-sdbc-hsqldb                         install
libreoffice-sdbc-mysql                          install
libreoffice-sdbc-postgresql                     install
libsqlite3-0:amd64                              install
mysql-common                                    install
I also tried creating this file:

Code: Select all

[Debug]
#./.config/akonadiserverrc 
Tracer=null

[%General]
Driver=QMYSQL

[QMYSQL]
Host=
Name=akonadi
Options="UNIX_SOCKET=/run/mysqld/mysqld.sock"
ServerPath=/usr/sbin/mysqld
StartServer=true
This also did not work. Any idea is appreciated. Thanks in advance.
Last edited by aario on 2021-11-09 22:20, edited 1 time in total.

aario
Posts: 24
Joined: 2019-04-18 06:26

Re: Cannot get Akonado to work on Debian 11

#2 Post by aario »

SOLUTION:
Seems like akonadi does not support home folder or its config folder being a symlink to another folder. I changed my configuration so that the whole home folder including configuration files of akonadi where not through any symlink and that solved the problem.

Post Reply