Bug 509069 - KDE PIM apps can not connect to akonadi after upgrade anymore, despite the fact, that the akonadi processes are running
Summary: KDE PIM apps can not connect to akonadi after upgrade anymore, despite the fa...
Status: RESOLVED DUPLICATE of bug 508382
Alias: None
Product: kmail2
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.5.0
Platform: Neon Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-03 13:25 UTC by Achim Bohnet
Modified: 2025-09-03 14:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kmail error msg (247.32 KB, image/png)
2025-09-03 13:25 UTC, Achim Bohnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Achim Bohnet 2025-09-03 13:25:31 UTC
Created attachment 184669 [details]
kmail error msg

SUMMARY
After upgrading KDE pim ~ 10 days ago, akonadiclt, kmail, korganizer as well as kontact and merkuro can't connect to akonadi anymore, despite the fact that all(?) akonadi procecces are running.   Akonadi processes are running after Plasma (Wayland) login.

STEPS TO REPRODUCE
1. start kmail or korganizer or kontact or merkuro or ...
2. wait until the App window appears (it shows that it's trying to connect to akonadi)

OBSERVED RESULT
1. app show an error that required background service is not operational
2. akonadictl stop says 'not running'; akonadictl start says 'is already running'

EXPECTED RESULT
kmail and other KDE pim apps could find akonadi again (like before the KDE gear 25.08 upgrade)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Distro is KDE Neon User Edition

Still the same problem after todays akonadi and qt upgrade:

[I] ~►dpkg -l akonadi\* kmail korganizer                                                                                                   
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version                                      Architecture Description
+++-======================-============================================-============-====================================
ii  akonadi-backend-mysql  4:25.08.0-0zneon+24.04+noble+release+build49 amd64        MySQL storage backend for Akonadi
un  akonadi-backend-sqlite <none>                                       <none>       (no description available)
un  akonadi-contacts-data  <none>                                       <none>       (no description available)
un  akonadi-import-wizard  <none>                                       <none>       (no description available)
un  akonadi-mime-data      <none>                                       <none>       (no description available)
ii  akonadi-server         4:25.08.0-0zneon+24.04+noble+release+build49 all          Dummy transitional
ii  kmail                  4:25.08.0-0zneon+24.04+noble+release+build37 amd64        full featured graphical email client
ii  korganizer             4:25.08.0-0zneon+24.04+noble+release+build36 amd64        calendar and personal organizer
[I] ~►



[I] ~[128]►psg akonadi                                                                                                                             14:25
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ach         5444  0.0  0.3 1006588 112628 ?      Sl   14:23   0:00 /usr/bin/akonadi_control
ach         5494  0.0  0.1 741788 45372 ?        Sl   14:23   0:00 /usr/bin/akonadiserver
ach         5509  0.0  0.3 1525660 106804 ?      Sl   14:23   0:01 /usr/sbin/mysqld --defaults-file=/home/ach/.local/share/akonadi/mysql.conf --datadir=/home/ach/.local/share/akonadi/db_data/ --socket=/run/user/20334/akonadi/mysql.socket --pid-file=/run/user/20334/akonadi/mysql.pid
ach         6103  0.0  0.5 1264164 162692 ?      Sl   14:23   0:00 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
ach         6114  0.0  0.1 278816 35760 ?        Sl   14:23   0:00 /usr/bin/akonadi_birthdays_resource --identifier akonadi_birthdays_resource
ach         6116  0.0  0.1 275312 34944 ?        Sl   14:23   0:00 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
ach         6118  0.0  0.1 282152 37208 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_10
ach         6121  0.0  0.1 283200 39856 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_5
ach         6123  0.0  0.1 282276 38924 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_7
ach         6124  0.0  0.1 282280 38712 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_8
ach         6131  0.0  0.3 1017848 116064 ?      Sl   14:23   0:00 /usr/bin/akonadi_followupreminder_agent --identifier akonadi_followupreminder_agent
ach         6137  0.0  0.1 279556 36908 ?        Sl   14:23   0:00 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
ach         6144  0.0  0.4 1041564 136616 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_0
ach         6145  0.0  0.4 1040112 134884 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_1
ach         6146  0.0  0.4 1040112 134408 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_11
ach         6149  0.0  0.4 1044980 135920 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_19
ach         6150  0.0  0.4 1044852 135452 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_21
ach         6151  0.0  0.4 1040368 134864 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_4
ach         6175  0.0  0.1 300048 44300 ?        SNl  14:23   0:00 /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent
ach         6185  0.0  0.1 291152 41556 ?        Sl   14:23   0:00 /usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0
ach         6188  0.0  0.1 292668 42820 ?        Sl   14:23   0:00 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
ach         6189  0.0  0.4 1264308 162528 ?      Sl   14:23   0:00 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
ach         6192  0.0  0.3 1027340 120576 ?      Sl   14:23   0:00 /usr/bin/akonadi_mailmerge_agent --identifier akonadi_mailmerge_agent
ach         6194  0.0  0.1 297260 44000 ?        Sl   14:23   0:00 /usr/bin/akonadi_mbox_resource --identifier akonadi_mbox_resource_4
ach         6196  0.0  0.3 1017356 115384 ?      Sl   14:23   0:00 /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
ach         6197  0.0  0.3 1029980 121104 ?      Sl   14:23   0:00 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
ach         6199  0.0  0.4 1260232 159272 ?      Sl   14:23   0:00 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent
ach         6225  0.0  0.4 1264256 160484 ?      Sl   14:23   0:00 /usr/bin/akonadi_unifiedmailbox_agent --identifier akonadi_unifiedmailbox_agent
[I] ~►kmail                                                                                                                                        14:53
2025-09-03T14:54:25 kmail2[14219]: <w> org.kde.pim.pimcommonactivities: Plasma activities is not running:  1
2025-09-03T14:54:55 kmail2[14219]: <w> org.kde.pim.akonadicore: Job error:  "" for collection: QList()
2025-09-03T14:54:55 kmail2[14219]: <w> org.kde.pim.akonadicore: Job error:  "" for collection: QList()
2025-09-03T14:54:55 kmail2[14219]: <w> org.kde.pim.messagelist: Failed to load tags  ""
2025-09-03T14:54:55 kmail2[14219]: <w> org.kde.pim.kmail: ""
2025-09-03T14:54:55 kmail2[14219]: <w> org.kde.pim.mailcommon: failed to retrieve tags  ""
[I] ~►akonadictl stop                                                                                                                     273.141s 14:58
Akonadi is not running.
[I] ~[4]►psg akonadi                                                                                                                               14:58
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ach         5444  0.0  0.3 1006588 112628 ?      Sl   14:23   0:00 /usr/bin/akonadi_control
ach         5494  0.0  0.1 741788 45372 ?        Sl   14:23   0:00 /usr/bin/akonadiserver
ach         5509  0.0  0.3 1525660 106804 ?      Sl   14:23   0:01 /usr/sbin/mysqld --defaults-file=/home/ach/.local/share/akonadi/mysql.conf --datadir=/home/ach/.local/share/akonadi/db_data/ --socket=/run/user/20334/akonadi/mysql.socket --pid-file=/run/user/20334/akonadi/mysql.pid
ach         6103  0.0  0.5 1264164 162692 ?      Sl   14:23   0:00 /usr/bin/akonadi_archivemail_agent --identifier akonadi_archivemail_agent
ach         6114  0.0  0.1 278816 35760 ?        Sl   14:23   0:00 /usr/bin/akonadi_birthdays_resource --identifier akonadi_birthdays_resource
ach         6116  0.0  0.1 275312 34944 ?        Sl   14:23   0:00 /usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
ach         6118  0.0  0.1 282152 37208 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_10
ach         6121  0.0  0.1 283200 39856 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_5
ach         6123  0.0  0.1 282276 38924 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_7
ach         6124  0.0  0.1 282280 38712 ?        Sl   14:23   0:00 /usr/bin/akonadi_davgroupware_resource --identifier akonadi_davgroupware_resource_8
ach         6131  0.0  0.3 1017848 116224 ?      Sl   14:23   0:00 /usr/bin/akonadi_followupreminder_agent --identifier akonadi_followupreminder_agent
ach         6137  0.0  0.1 279556 36908 ?        Sl   14:23   0:00 /usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
ach         6144  0.0  0.4 1041960 137096 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_0
ach         6145  0.0  0.4 1040244 135044 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_1
ach         6146  0.0  0.4 1040112 134568 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_11
ach         6149  0.0  0.4 1044980 136080 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_19
ach         6150  0.0  0.4 1044852 135612 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_21
ach         6151  0.0  0.4 1040368 135024 ?      Sl   14:23   0:00 /usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_4
ach         6175  0.0  0.1 300048 44300 ?        SNl  14:23   0:00 /usr/bin/akonadi_indexing_agent --identifier akonadi_indexing_agent
ach         6185  0.0  0.1 291152 41556 ?        Sl   14:23   0:00 /usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0
ach         6188  0.0  0.1 292668 42820 ?        Sl   14:23   0:00 /usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
ach         6189  0.0  0.5 1264308 162688 ?      Sl   14:23   0:00 /usr/bin/akonadi_mailfilter_agent --identifier akonadi_mailfilter_agent
ach         6192  0.0  0.3 1027340 120576 ?      Sl   14:23   0:00 /usr/bin/akonadi_mailmerge_agent --identifier akonadi_mailmerge_agent
ach         6194  0.0  0.1 297260 44000 ?        Sl   14:23   0:00 /usr/bin/akonadi_mbox_resource --identifier akonadi_mbox_resource_4
ach         6196  0.0  0.3 1017356 115384 ?      Sl   14:23   0:00 /usr/bin/akonadi_migration_agent --identifier akonadi_migration_agent
ach         6197  0.0  0.3 1029980 121104 ?      Sl   14:23   0:00 /usr/bin/akonadi_newmailnotifier_agent --identifier akonadi_newmailnotifier_agent
ach         6199  0.0  0.4 1260232 159272 ?      Sl   14:23   0:00 /usr/bin/akonadi_sendlater_agent --identifier akonadi_sendlater_agent
ach         6225  0.0  0.4 1264256 160644 ?      Sl   14:23   0:00 /usr/bin/akonadi_unifiedmailbox_agent --identifier akonadi_unifiedmailbox_agent
[I] ~►

[I] ~►akonadictl stop                                                                                                                              
Akonadi is not running.
[I] ~[4]►akonadictl start                                                                                                                          
Akonadi is already running.
[I] ~[3]►ls -l /run/user/20334/akonadi/mysql.socket                                                                                                      
srwxrwxrwx 1 ach ach 0 Sep  3 14:23 /run/user/20334/akonadi/mysql.socket=
[I] ~►
Comment 1 Achim Bohnet 2025-09-03 13:29:23 UTC
Here the missing version information:

[I] ~►kinfo                                                                                                                                 0.518s 15:27
ERROR:             VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.14.0-29-generic (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: Intel® Arc

[I] ~►psg kwin                                                                                                                              0.396s 15:27
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
ach         4485  0.0  0.0 152492 18520 ?        Ssl  14:23   0:00 /usr/bin/kwin_wayland_wrapper --xwayland
ach         4495  8.7  1.8 3384860 596736 ?      Sl   14:23   5:38 /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/20334/xauth_rTTSnP --xwayland
[I] ~►dpkg -l kwin\*                                                                                                                               15:27
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name              Version                                    Architecture Description
+++-=================-==========================================-============-================================================
un  kwin              <none>                                     <none>       (no description available)
ii  kwin-addons       4:6.4.4-0zneon+24.04+noble+release+build35 amd64        additional desktop and window switchers for KWin
ii  kwin-common       4:6.4.4-0zneon+24.04+noble+release+build54 amd64        KDE window manager, common files
ii  kwin-data         4:6.4.4-0zneon+24.04+noble+release+build54 all          transitional package
ii  kwin-style-breeze 4:6.4.4-0zneon+24.04+noble+release+build49 amd64        KWin Breeze Style
ii  kwin-wayland      4:6.4.4-0zneon+24.04+noble+release+build54 amd64        KDE window manager, wayland version
ii  kwin-x11          4:6.4.4-0zneon+24.04+noble+release+build8  amd64        KDE window manager, X11 version
ii  kwin-x11-common   4:6.4.4-0zneon+24.04+noble+release+build8  amd64        KDE window manager, X11 version - common files
[I] ~►
Comment 2 Allen Winter 2025-09-03 14:12:16 UTC
probably the same bug lots of Neon and Arch users are having

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

*** This bug has been marked as a duplicate of bug 508382 ***