Bug 397609 - Akonadi server dies using fsck to remove orphan resources
Summary: Akonadi server dies using fsck to remove orphan resources
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-19 09:30 UTC by kde
Modified: 2018-08-23 15:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2018-08-19 09:30:00 UTC
System:
Opensuse 15.0
+ KDE:Applications (KDE_Frameworks5_openSUSE_Leap_15.0)
+ KDE Frameworks 5 development repository (openSUSE_Leap_15.0)
+ The Qt5 development repository (openSUSE_Leap_15.0)

Background: I wanted to add a new IMAP account, got hit with the new fangled "wizard", after I entered the server address, nothing seemed to happen, I clicked on the [DETAILS] button and had an empty dialog - the wizard was probably doing something but maybe my internet connection was slow - so I closed the dialogs and tried again, and maybe again a couple more times.

Then I realised I should have used the "custom resource" option to manually configure it instead. So finally I got my new IMAP account setup in KMail. However the folders column on the left showed the failed accounts that was setup by the "wizard" having names "IMAP Account 9 (offline)", ..., "IMAP Account 12 (offline)".

There doesn't seem to be any way of deleting these accounts from within KMail (they don't show up in "Settings > Configure KMail > Accounts > Receiving")

So I used "akonadictl fsck" to try and clean them out:

=======================================
Looking for resources in the DB not matching a configured resource...
Found 4 orphan resources: akonadi_imap_resource_8,akonadi_imap_resource_9,akonadi_imap_resource_10,akonadi_imap_resource_11
Removing resource akonadi_imap_resource_8
=======================================

At this point a dialog pops up to say "Akonadi Server has Closed Unexpectedly" and akonadictl itself hangs and I need to CTRL-C to terminate it.
Comment 1 kde 2018-08-23 07:24:56 UTC
An update has resolved this. Can this entry be deleted?