Hi Community,
Since the last KDE update, a pop-up window with “akonadi_migration_agent” appears when KDE is launched, but it always stops at 66% progress. After restarting the system, the same thing happens again (see screenshot).
Kmail and Kontact can no longer be started. Error message (translated from German):
A necessary background service is not working (Ein notwendiger Hintergrunddienst funktioniert nicht)
What can I do to solve this problem?
Info about my system:
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3320M CPU @ 2.60GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Intel® HD Graphics 4000
Manufacturer: LENOVO
Product Name: 2347A31
System Version: ThinkPad T430
Greetings
Bluelupo
The problem has now occurred on a second laptop. I don’t have the “hanging pop-up” there, i.e. it closes again after a few seconds. But what is fatal is that Kontact or Kmail can no longer be started.
The error must obviously have something to do with the “akonadi_migration_tool”. Does anyone know of a bug report for this?
As a workaround (on the first laptop), I restored a system backup (as of 01.08.2025). With this backup, I have no problems with Kontact or Kmail, i.e., they run correctly. But of course, not updating the system is not a permanent solution.
krake
August 22, 2025, 11:27am
3
This bug report could be related https://bugs.kde.org/show_bug.cgi?id=508382
It does not say anything about the migration tool but also seemed to have happened at a recent update.
Weirdly I have updated Neon last Sunday as well and have no issues at all.
Thanks for letting me know.
I have problems with Kontact/Kmail not starting on two out of three systems. One system runs smoothly, even after a recent update.
I have opened a bug report at Bug 508594
It’s also clear that Kontact isn’t working, since “akonadi control” is always stopped according to “akonadictl status.” Something is blocking it.
$ ps -ef| grep -i akonadi
michael 3657 2992 0 14:32 ? 00:00:00 /usr/bin/akonadi _control
michael 3681 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi server
michael 3687 3681 0 14:32 ? 00:00:00 /usr/sbin/mysqld-akonadi --defaults-file=/home/michael/.local/share/akonadi /mysql.conf --datadir=/home/michael/.local/share/akonadi /db_da
ta/ --socket=/run/user/1000/akonadi /mysql.socket --pid-file=/run/user/1000/akonadi /mysql.pid
michael 3722 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _archivemail_agent --identifier akonadi _archivemail_agent
michael 3723 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _birthdays_resource --identifier akonadi _birthdays_resource
michael 3724 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _contacts_resource --identifier akonadi _contacts_resource_0
michael 3725 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _davgroupware_resource --identifier akonadi _davgroupware_resource_0
michael 3726 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _davgroupware_resource --identifier akonadi _davgroupware_resource_1
michael 3727 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _followupreminder_agent --identifier akonadi _followupreminder_agent
michael 3728 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _ical_resource --identifier akonadi _ical_resource_0
michael 3729 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_0
michael 3730 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_1
michael 3731 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_2
michael 3732 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_3
michael 3733 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_4
michael 3734 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_7
michael 3735 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _imap_resource --identifier akonadi _imap_resource_8
michael 3736 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _indexing_agent --identifier akonadi _indexing_agent
michael 3737 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _maildir_resource --identifier akonadi _maildir_resource_0
michael 3738 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _maildispatcher_agent --identifier akonadi _maildispatcher_agent
michael 3739 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _mailfilter_agent --identifier akonadi _mailfilter_agent
michael 3740 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _mailmerge_agent --identifier akonadi _mailmerge_agent
michael 3743 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _mbox_resource --identifier akonadi _mbox_resource_2
michael 3746 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _migration_agent --identifier akonadi _migration_agent
michael 3747 3657 0 14:32 ? 00:00:00 /usr/bin/akonadi _newmailnotifier_agent --identifier akonadi _newmailnotifier_agent
michael 3749 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _sendlater_agent --identifier akonadi _sendlater_agent
michael 3750 3657 1 14:32 ? 00:00:00 /usr/bin/akonadi _unifiedmailbox_agent --identifier akonadi _unifiedmailbox_agent
michael 4119 4113 0 14:33 pts/1 00:00:00 grep --color=auto -i akonadi
$ akonadictl status
Akonadi Control: stopped
Akonadi Server: running
Akonadi Server Search Support: available (Remote Search)
Available Agent Types: akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_etesync_resource, akonadi_ews_resource, akona
di_ewsmta_resource, akonadi_followupreminder_agent, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_kolab_re
source, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mailmerge_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resou
rce, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_unifiedmailbox_agent, akonadi_vcard_resource,
akonadi_vcarddir_resource
krake
August 22, 2025, 12:51pm
6
This looks similar to a post a couple of days ago Akonadi not working since update
Might even the same person who reported the bug I linked to earlier
I was able to solve it. After looking through the bug reports you linked to, I noticed that deleting the “knotes” package helped one user.
Deleting knotes solved the problem.
$ sudo apt purge knotes
After restarting the system, I was able to start Kmail/Kontact again. So far, I have not noticed any negative effects from deleting the “knotes” package.
Thanks for your tips.
Greetings
Michael
1 Like
krake
August 22, 2025, 1:51pm
8
Maybe also add this as a comment to your bug report.
It might help to find the actual cause
I have closed the bugreport 508594
1 Like