[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 GK changed: What|Removed |Added CC||gkour...@gmail.com --- Comment #24 from GK --- Same here since an update in Kubuntu 18.04. I moved to 19.10 and then a few days ago to 20.04, but got the same errors while launching akonadictl from terminal: QUOTE rg.kde.pim.akonadiserver: Starting up the Akonadi Server... mysqld-akonadi: [ERROR] Failed to open required defaults file: /home/gkourtev/ mysqld-akonadi: [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-akonadi" org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/gkourtev/.local/share/akonadi/mysql.conf", "--datadir=/home/gkourtev/.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-akonadi: [ERROR] Failed to open required defaults file: /home/gkourtev/.local/share/akonadi/mysql.conf\nmysqld-akonadi: [ERROR] Fatal error in defaults handling. Program aborted!\n" org.kde.pim.akonadiserver: exit code: 1 org.kde.pim.akonadiserver: process error: "Unknown error" mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/run/user/1000/akonadi/mysql.socket' (2)' Check that mysqld is running and that the socket: '/run/user/1000/akonadi/mysql.socket' exists! org.kde.pim.akonadiserver: Failed to remove runtime connection config file org.kde.pim.akonadiserver: Shutting down AkonadiServer... org.kde.pim.akonadicontrol: Application '/usr/bin/akonadiserver' exited normally... UNQUOTE Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.4.0-28-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz Memory: 15,5 GiB of RAM -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 Er changed: What|Removed |Added CC||d...@mail.ru --- Comment #23 from Er --- Have the same problem. When install clean system akonadi works good and kate work. When I install mysqlserver akonadi crashed. Deleting mysqlserver does not solve problem. Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.5 Kernel Version: 5.4.0-21-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz Memory: 15,5 ГиБ -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #22 from Dmitry --- As for me, I was able to start Akonadi with: rm -r ~/.config/akonadi rm -r ~/.local/share/akonadi sudo apt update sudo apt install akonadi* --reinstall sudo reboot now But I had to recreate the imap accounts in Kmail after it. -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #21 from subins2...@gmail.com --- I was able to start Akonadi by disabling Apparmor for mysql : sudo aa-disable mysqld This was mentioned here : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921987 -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 subins2...@gmail.com changed: What|Removed |Added CC||subins2...@gmail.com --- Comment #20 from subins2...@gmail.com --- This bug still exists in the Plasma 5.18 update and KDE Neon update. -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #19 from aldo...@gmail.com --- (In reply to Erasmo Caponio from comment #18) > Regarding the problem with Google accounts, it is enough to allow less > secure app to get again access with Akonadi I have the 2FA activated, so Google doesn't allow less secure apps to gain access to my account. I could use a specific app for Kontact/Kmail but, when a Gmail server is used, Kmail disables password in favour of Oauth. And Oauth is currently not usable as I wrote before, because Kontact is not authorized to access. For this reason I can't access my Gmail account using Kontact. -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #18 from Erasmo Caponio --- I don't know if it is a neon bug or not anyway any comparison with other distribution should be done with the same software installed because, as I wrote above, on my system, purging snapd fixrd the issue. Regarding the problem with Google accounts, it is enough to allow less secure app to get again access with Akonadi (In reply to aldolat from comment #17) > I can confirm that this is a KDE Neon bug. Some days ago I had major > problems with my nVidia card and KDE Neon, so I switched to Kubuntu 18.04.3 > and Akonadi works without any problem. > > Anyway, even if KDE Neon developers resolve this issue, there is another > bigger problem with Kontact suite, which has been blocked by Google. Here is > the bug: https://bugs.kde.org/show_bug.cgi?id=404990 -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #17 from aldo...@gmail.com --- I can confirm that this is a KDE Neon bug. Some days ago I had major problems with my nVidia card and KDE Neon, so I switched to Kubuntu 18.04.3 and Akonadi works without any problem. Anyway, even if KDE Neon developers resolve this issue, there is another bigger problem with Kontact suite, which has been blocked by Google. Here is the bug: https://bugs.kde.org/show_bug.cgi?id=404990 -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #16 from Subin --- (In reply to Erasmo Caponio from comment #14) > After removing Snapd from my system (that honestly I find quite useless and > full of problems) everything works fine with Apparmor. Now Akonadi starts > without any problem Is snapd really related to this ? This is a KDE Neon issue. Any confirmed workarounds to fix it ? I can't access KMail :( -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 Sandro Knauß changed: What|Removed |Added CC||skna...@kde.org --- Comment #15 from Sandro Knauß --- this is KDE Neon bug. They don't have merged the changes done by Debian, like removing akonadi-mysql completly in d/rules. -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #14 from Erasmo Caponio --- After removing Snapd from my system (that honestly I find quite useless and full of problems) everything works fine with Apparmor. Now Akonadi starts without any problem -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #13 from Erasmo Caponio --- (In reply to Dan from comment #12) After last upgrade of KDE Neon, also that workaround does not work anymore on my system. Not only this bug is still there after several months, it has become worse too > (In reply to Subin from comment #11) > > I faced the same bug when I upgraded my KDE neon yesterday. Is there a > > workaround please ? > > > > Can't access KMail now... > > There's an apparmor workaround detailed here, although if I recall I got a > lot of apparmor errors about missing files that I needed to create before it > would work that I don't entirely remember and didn't document, and my Kmail > isn't quite doing everything right... but, it mostly works fine. > > https://forum.kde.org/viewtopic.php?f=215=162053 -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 --- Comment #12 from Dan --- (In reply to Subin from comment #11) > I faced the same bug when I upgraded my KDE neon yesterday. Is there a > workaround please ? > > Can't access KMail now... There's an apparmor workaround detailed here, although if I recall I got a lot of apparmor errors about missing files that I needed to create before it would work that I don't entirely remember and didn't document, and my Kmail isn't quite doing everything right... but, it mostly works fine. https://forum.kde.org/viewtopic.php?f=215=162053 -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 Subin changed: What|Removed |Added CC||m...@subinsb.com --- Comment #11 from Subin --- I faced the same bug when I upgraded my KDE neon yesterday. Is there a workaround please ? Can't access KMail now... -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 Alexandr Zamaraev (aka Tonal) changed: What|Removed |Added CC||tonal.proms...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 aldo...@gmail.com changed: What|Removed |Added CC||aldo...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[neon] [Bug 411093] Unable to start Akonadi: Could not open required defaults file
https://bugs.kde.org/show_bug.cgi?id=411093 Christophe Giboudeaux changed: What|Removed |Added Assignee|kdepim-b...@kde.org |neon-b...@kde.org CC||j...@jriddell.org, ||neon-b...@kde.org, ||sit...@kde.org Component|server |general Product|Akonadi |neon Version|GIT (master)|unspecified -- You are receiving this mail because: You are watching all bug changes.