[kmail2] [Bug 508078] New: Akonadi was corrupted and kmail makes no attempt to correct it

Christian Wichmann Moesgaard bugzilla_noreply at kde.org
Sun Aug 10 10:24:29 BST 2025


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

            Bug ID: 508078
           Summary: Akonadi was corrupted and kmail makes no attempt to
                    correct it
    Classification: Applications
           Product: kmail2
      Version First 6.4.3
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: folders
          Assignee: kdepim-bugs at kde.org
          Reporter: christian at moesgaard.dk
  Target Milestone: ---

I was a little in doubt about where to post this, because it's basically an
interaction.

What happened was that since last Wednesday my inbox folder stopped syncing.
Only my inbox folder, everything else synced fine and I could send mail.

What fixed it was running akonadictl fsck

This revealed missing external files and unreferenced external files. After
this, KMail synced again.

So one might argue this isn't a bug in KMail, but I actually think it is for
the following user: No end user should ever have to run akonadictl fsck in a
terminal. KMail should react to something going wrong in akonadi that could be
related to missing external files and run akonadictl fsck for you. I consider
it a bug because it effectively broke my ability to receive e-mail.

Here's what I got on clean-up:
Cleaning up missing external file:
/home/christian/.local/share/akonadi/file_db_data/25/78325_r1 for item: 38197
on part: 78325
Cleaning up missing external file:
/home/christian/.local/share/akonadi/file_db_data/51/143951_r0 for item: 70482
on part: 143951
Cleaning up missing external file:
/home/christian/.local/share/akonadi/file_db_data/53/143953_r0 for item: 70483
on part: 143953
...
Found unreferenced external file:
/home/christian/.local/share/akonadi/file_db_data/76/144176_r1
Found unreferenced external file:
/home/christian/.local/share/akonadi/file_db_data/25/78325_r2
Found unreferenced external file:
/home/christian/.local/share/akonadi/file_db_data/95/147195_r1
...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list