Bug 464500

Summary: Akondai PIM Fails to Start Causing Application Errors
Product: [Unmaintained] kjots Reporter: Sakthi Santhosh <sakthisanthosh010303+kde>
Component: generalAssignee: Igor Poboiko <igor.poboiko>
Status: RESOLVED UNMAINTAINED    
Severity: critical    
Priority: NOR    
Version First Reported In: 5.1.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KAddressBook Akonadi PIM Fail

Description Sakthi Santhosh 2023-01-19 11:46:35 UTC
Created attachment 155423 [details]
KAddressBook Akonadi PIM Fail

Starting KJots, KMail, KAddressBook produces error when the application starts because Akonadi PIM fails to start due to an MySQL error. I've attached the log below along with screenshot for your reference.

Akonadi Log:
sakthi@HP:~$ akonadictl start
org.kde.pim.akonadictl: Starting Akonadi Server...
org.kde.pim.akonadictl: done.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Starting up the Akonadi Server...
mysqld: [ERROR] Failed to open required defaults file: /etc/xdg/akonadi/mysql-global.conf
mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
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"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/sakthi/.local/share/akonadi/mysql.conf", "--datadir=/home/sakthi/.local/share/akonadi/db_data/", "--socket=/run/user/1000/akonadi/mysql.socket", "--pid-file=/run/user/1000/akonadi/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "mysqld: [ERROR] Failed to open required defaults file: /home/sakthi/.local/share/akonadi/mysql.conf\nmysqld: [ERROR] Fatal error in defaults handling. Program aborted!\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Shutting down AkonadiServer...
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally...
Comment 1 TraceyC 2025-06-12 23:59:37 UTC
KJots has been retired for almost a year, all bugs for it are being closed.

Quoting the public announcement
https://kontact.kde.org/blog/2024/2024-07-01-kde-pim-may-june-2024/#retiring-kjots-and-knotes

We have decided to retire the KJots and KNotes applications. These applications have not seen any support or development in many years and are not in a state that we feel comfortable shipping to our users. With the introduction of Marknote, KDE can now offer a modern, well-maintained note-taking application that we can recommend users to migrate to. The latest release of Marknote has gained support for importing notes from KJots and KNotes, so no notes will be lost.