https://bugs.kde.org/show_bug.cgi?id=424935
Bug ID: 424935 Summary: Akonadi crashes/loops importing imap mail box Product: Akonadi Version: 5.13.2 Platform: Other OS: Linux Status: REPORTED Severity: grave Priority: NOR Component: general Assignee: kdepim-bugs@kde.org Reporter: sgr...@redhat.com Target Milestone: --- SUMMARY There is a problem in one of my folders. Aug 1 09:28:19 x2 akonadi_imap_resource[3094]: org.kde.pim.imapresource: Detected inconsistency in local cache, we're missing some messages. Server: 165935 Local: 9 Aug 1 09:28:19 x2 akonadi_imap_resource[3094]: org.kde.pim.imapresource: Refetching complete mailbox. So, it spends a long time fetching 5Gb of email. But before it can finish, Aug 1 10:05:04 x2 akonadi_mixedmaildir_resource[3108]: org.kde.pim.mixedmaildirresource: Failed to read item "1442061842.R339.x2" in Maildir "/home/sgrubb/.kde/share/apps/kmail/mail/Fedora-devel" Aug 1 10:06:11 x2 akonadi_mixedmaildir_resource[3108]: org.kde.pim.mixedmaildirresource: Store fetch for new item "" in collection -124 , "" did not return the expected item. error= 102 , "Error while reading mails from folder Fedora-devel" Aug 1 10:06:15 x2 akonadi_mixedmaildir_resource[3108]: org.kde.pim.mixedmaildirresource: Failed to read item "1442061842.R339.x2" in Maildir "/home/sgrubb/.kde/share/apps/kmail/mail/Fedora-devel" Aug 1 10:06:15 x2 akonadi_mixedmaildir_resource[3108]: org.kde.pim.mixedmaildirresource: Store fetch for new item "" in collection -124 , "" did not return the expected item. error= 102 , "Error while reading mails from folder Fedora-devel" Aug 1 12:09:43 x2 akonadi_indexing_agent[3100]: org.kde.pim.akonadicore: Failed to open external payload: "/home/sgrubb/.local/share/akonadi/file_db_data/30/9573130_r0" "No such file or directory" Aug 1 12:09:43 x2 akonadi_indexing_agent[3100]: org.kde.pim.akonadicore: Failed to open external payload: "/home/sgrubb/.local/share/akonadi/file_db_data/33/9573133_r0" "No such file or directory" It does not work any longer. I have to reboot my system. It then repeats the same cycle. My Fedora-devel folder is a local folder that my imap account gets filtered into. No amount of refetching imap will fix the local folder. If there was corruption in the imap cache, sure. But the local folder should just have the missing entry deleted and life goes on. How do I fix this? And can akonadi just delete missing entries to fix itself? I'd rather lose an email than lose all of them. Linux/KDE Plasma: 5.18.5-2 KDE Plasma Version: KDE Frameworks Version: 19.12.2 Qt Version: 5.14.2 ADDITIONAL INFORMATION This is a Fedora 32 x86_64 system. -- You are receiving this mail because: You are the assignee for the bug.