Kmail2/akonadi IMAP resources offline after Fedora upgrade

Marek Greško marek.gresko at protonmail.com
Wed Jul 10 21:02:22 BST 2024


Hello,

I just found a workaround. I had to remove NetworkManager-config-connectivity-fedora package.

Marek




Sent with Proton Mail secure email.

On Monday, July 8th, 2024 at 7:55, Marek Greško <marek.gresko at protonmail.com> wrote:

> Hello,
> 
> the akonadictl status is:
> 
> 
> Akonadi Control: running
> Akonadi Server: running
> Akonadi Server Search Support: available (Remote Search)
> Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mailmerge_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
> 
> 
> I still use mysql backend. I tried to create new user with clean profile and he had the same problem. I expect the new user used sqlite? I did not check. I have akonadi-server-mysql installed.
> 
> The Akonadi.error file contains:
> 
> 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: Subscriber "" disconnected
> 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc4230220) )
> 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc4232960) )
> 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc4230220) )
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42a70c0) )
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc41675c0) )
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber "" disconnected
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42953e0) )
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42250a0) )
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc4232960) identified as "KMail Kernel ETM - 94559590777456"
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc4230220) identified as "SpecialCollectionsMonitor - 94559592100912"
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42a70c0) identified as "MessageListTagMonitor - 94559593889584"
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42953e0) identified as "MessageViewerMonitor - 94559593728160"
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42953e0) identified as "MessageViewerMonitor - 94559593728160"
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42250a0) identified as "TagActionManagerMonitor - 94559598292848"
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42a5b50) )
> 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42a5b50) identified as "FilterManagerTagMonitor - 94559598415664"
> 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: ItemRetrievalJob for request 13 finished with error: "Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde."
> 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection kmail2-1616966258 (0x55d80b871970) : Unable to fetch item from backend (collection -1) : Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde.
> 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: ItemRetrievalJob for request 14 finished with error: "Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde."
> 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection MessageViewer-94559593727584 (0x55d80b80a800) : Unable to fetch item from backend (collection -1) : Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde.
> 2024-07-07T11:49:40 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc400e300) )
> 2024-07-07T11:49:40 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc400e300) identified as "MessageListTagCacheMonitor - 94559617975456"
> 2024-07-07T11:49:42 [INFO ] org.kde.pim.akonadiserver: Subscriber "MessageViewerMonitor - 94559593728160" disconnected
> 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "MessageListTagMonitor - 94559593889584" disconnected
> 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "KMail Kernel ETM - 94559590777456" disconnected
> 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "SpecialCollectionsMonitor - 94559592100912" disconnected
> 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "TagActionManagerMonitor - 94559598292848" disconnected
> 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "FilterManagerTagMonitor - 94559598415664" disconnected
> 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "MessageListTagCacheMonitor - 94559617975456" disconnected
> 
> 
> The message "Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde." means something like "You cannot select item in offline mode".
> 
> The akonadictl fsck seems correct except for:
> 
> Collection "Search" (id: 1) has no RID.
> 
> I do not know whether it is somehow related?
> 
> From my point of view the akonadi seems running and OK, but thinks I have no network connectivity.
> 
> Marek
> 
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> On Sunday, July 7th, 2024 at 11:54, Marek Greško marek.gresko at protonmail.com wrote:
> 
> > Hello,
> > 
> > the akonadictl status is:
> > 
> > Akonadi Control: running
> > Akonadi Server: running
> > Akonadi Server Search Support: available (Remote Search)
> > Available Agent Types: akonadi_akonotes_resource, akonadi_archivemail_agent, akonadi_birthdays_resource, akonadi_contacts_resource, akonadi_davgroupware_resource, akonadi_ews_resource, akonadi_ewsmta_resource, akonadi_followupreminder_agent, akonadi_google_resource, akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource, akonadi_indexing_agent, akonadi_knut_resource, akonadi_kolab_resource, akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mailfilter_agent, akonadi_mailmerge_agent, akonadi_mbox_resource, akonadi_migration_agent, akonadi_mixedmaildir_resource, akonadi_newmailnotifier_agent, akonadi_notes_agent, akonadi_notes_resource, akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_sendlater_agent, akonadi_tomboynotes_resource, akonadi_unifiedmailbox_agent, akonadi_vcard_resource, akonadi_vcarddir_resource
> > 
> > I still use mysql backend. I tried to create new user with clean profile and he had the same problem. I expect the new user used sqlite? I did not check. I have akonadi-server-mysql installed.
> > 
> > The Akonadi.error file contains:
> > 
> > 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: Subscriber "" disconnected
> > 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc4230220) )
> > 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc4232960) )
> > 2024-07-07T11:49:37 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc4230220) )
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42a70c0) )
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc41675c0) )
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber "" disconnected
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42953e0) )
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42250a0) )
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc4232960) identified as "KMail Kernel ETM - 94559590777456"
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc4230220) identified as "SpecialCollectionsMonitor - 94559592100912"
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42a70c0) identified as "MessageListTagMonitor - 94559593889584"
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42953e0) identified as "MessageViewerMonitor - 94559593728160"
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42953e0) identified as "MessageViewerMonitor - 94559593728160"
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42250a0) identified as "TagActionManagerMonitor - 94559598292848"
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc42a5b50) )
> > 2024-07-07T11:49:38 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc42a5b50) identified as "FilterManagerTagMonitor - 94559598415664"
> > 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: ItemRetrievalJob for request 13 finished with error: "Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde."
> > 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection kmail2-1616966258 (0x55d80b871970) : Unable to fetch item from backend (collection -1) : Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde.
> > 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: ItemRetrievalJob for request 14 finished with error: "Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde."
> > 2024-07-07T11:49:40 [WARN ] org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection MessageViewer-94559593727584 (0x55d80b80a800) : Unable to fetch item from backend (collection -1) : Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde.
> > 2024-07-07T11:49:40 [INFO ] org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7f0cc400e300) )
> > 2024-07-07T11:49:40 [INFO ] org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7f0cc400e300) identified as "MessageListTagCacheMonitor - 94559617975456"
> > 2024-07-07T11:49:42 [INFO ] org.kde.pim.akonadiserver: Subscriber "MessageViewerMonitor - 94559593728160" disconnected
> > 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "MessageListTagMonitor - 94559593889584" disconnected
> > 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "KMail Kernel ETM - 94559590777456" disconnected
> > 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "SpecialCollectionsMonitor - 94559592100912" disconnected
> > 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "TagActionManagerMonitor - 94559598292848" disconnected
> > 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "FilterManagerTagMonitor - 94559598415664" disconnected
> > 2024-07-07T11:49:43 [INFO ] org.kde.pim.akonadiserver: Subscriber "MessageListTagCacheMonitor - 94559617975456" disconnected
> > 
> > The message "Unable to retrieve item from resource: Nemôžete vybrať položku v offline móde." means something like "You cannot select item in offline mode".
> > 
> > The akonadictl fsck seems correct except for:
> > 
> > Collection "Search" (id: 1) has no RID.
> > 
> > I do not know whether it is somehow related?
> > 
> > From my point of view the akonadi seems running and OK, but thinks I have no network connectivity.
> > 
> > Marek
> > 
> > Sent with Proton Mail secure email.
> > 
> > On Sunday, July 7th, 2024 at 10:16, Achim Bohnet ach at mpe.mpg.de wrote:
> > 
> > > Hi Marek,
> > > 
> > > I had the same problem. What’s the output of
> > > 
> > > akonadictl status
> > > 
> > > In qt5 times the mysql driver was the akonadi default. Now based
> > > on qt6 they switched to sqlite as default. In my case (KDE neon) the problem was that
> > > 
> > > akonadi-mysql
> > > 
> > > was no longer not installed.
> > > 
> > > Also have a look at. ~/.local/share/akonadi/Akonadi.error. It may explain
> > > what’s going g wrong.
> > > 
> > > Check also for any KDE PIM related service units as ’normal’ user
> > > 
> > > systemctl status —user
> > > journalctl —user -u <name>.service -e
> > > 
> > > If it does not help, please send us more informations. E.g. you error
> > > msg of akonadi and/or the list of packages that you think are relevant and installed.
> > > 
> > > Achim
> > > 
> > > > On 6. Jul 2024, at 15:35, Marek Greško marek.gresko at protonmail.com wrote:
> > > > 
> > > > Hello,
> > > > 
> > > > this does not seem to be a dependency problem. I installed all reasonable packages used on working system, byt the state is still the same. Does anybody have any clue when to move next?
> > > > 
> > > > Thanks
> > > > 
> > > > Marek
> > > > 
> > > > On Friday, July 5th, 2024 at 22:25, Marek Greško marek.gresko at protonmail.com wrote:
> > > > 
> > > > > Hello,
> > > > > 
> > > > > I had a working kmail2 in Fedora 39. The user connected to the IMAP server and authenticated using GSSAPI. Since upgrade to Fedora 40 I only see all the IMAP resources offline and cannot bring them online. I cannot find why is this. I thought it is a general problem of kmail/akonadi, but thereafter I found out, it is not general. I upgraded also another machine outside of my network and it is working OK. I am not aware of any differences I did not try to overcome. The only differences I am aware of are:
> > > > > 
> > > > > 1. In the local network I use kerberos and GSSAPI authentication together with NFS home directories. But I tried to create also new local account with local home directory and PLAIN authentication with the same result. Also clean profile was present so no failed profile upgrade is there. Evolution works perfectly.
> > > > > 
> > > > > 2. I use polkit policy not to allow users to setup interfaces. But I tried also same policy on the external machine and it is still working. So it is still not the source of the problems.
> > > > > 
> > > > > I am not aware of any other differences. Maybe some missing package (dependency problem)? But which one? I think akonadi, or plasma, or something is thinking I have no connectivity, but I do not know why. I suspect is it hidden somewhere in Qt, but I am not aware of means the Qt is checking for connectivity. I tried tcpdump, but there is no attempt to do any communication.
> > > > > 
> > > > > Do you have any suggestion on how to continue to troubleshoot the problem? The only thing I am thinking about now is to check the installed packages from the working machine and try them to install one by one on the non-working. But this is quite time consuming and may not lead to the solution, since the dependency problem may not be the root cause.
> > > > > 
> > > > > Thanks
> > > > > 
> > > > > Marek


More information about the kdepim-users mailing list