Kmail crash: "Could not create collection outbox, resourceId 15"

Rainer Dorsch <[email protected]> Wed, 12 Jul 2023 20:11:21 +0200
Newsgroups gmane.comp.kde.users.pim,gmane.linux.debian.user.kde
Message-ID <3893094.NEZkxCStr8@n3150>
Hi,

I just got a kmail crash out of the blue with a message

"Could not create collection outbox, resourceId 15"

I updated a few weeks back to Debian 12, but apart from that I am not aware of 
any updates.

I tried to run akonadictl fsck and got a similar result

[...]
org.kde.pim.akonadiserver: Error during insertion into table "CollectionTable" 
"Duplicate entry '8-outbox' for key 'CollectionTable_parentAndNameIndex' 
QMYSQL3: Der Befehl konnte nicht ausgeführt werden"
org.kde.pim.akonadiserver: Failed to append Collection "outbox" in resource 
"akonadi_maildir_resource_0"
org.kde.pim.akonadicore: Failed SpecialCollectionsRequestJob::slotResult 
"Could not create collection outbox, resourceId 15"
org.kde.pim.akonadiserver: Error while handling command CreateCollection on 
connection akonadi_maildispatcher_agent (0x555c6ad0ccc0)
org.kde.pim.maildispatcher: Failed to get outbox folder. Giving up.
org.kde.pim.akonadicore: Failed CollectionCreateJob. "Could not create 
collection outbox, resourceId 15"


I am wondering if

https://userbase.kde.org/KMail/
FAQs_Hints_and_Tips#Clean_start_after_a_failed_migration

is still the correct way to fix this. Unfortunately, this implies to configure 
all the accounts, identities, folders etc. again. 

I am wondering why resetting the cached imap etc. data requires to reset all 
user configuration data as well. 

Many thanks
Rainer
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEwKpFOnqqZphxJhIkhD/McJJVHkwFAmSu7MkACgkQhD/McJJV
HkxY9QgAm0O0+rV+FWpUFW0DlQdk7SDyMjUBONTqGzlpKiPoc27GzxsSCKE8h1e7
Dzp0rBrkZQPfvUgryjgdl6b5sphgY0DErVWMQY8h+NUSgiX1jYHNr5ez2rQDN54P
MOBMmy9UaA9+YprFFilspJ3nOjU51WIbr0UU5BgKskYFHHAFtMGh2SXWYhnsEa9i
jAOXhMop5c5RiJmvkToT27VMkl4iGM478Eqc5zUpZuf3EqNp5j8CRVC6pOH5Zcs4
DuRJK6XHiRk/e+vA9HIyu5FrI51GiHA4Y0RwtrLUet0Kp9LuquX4fS+mke0kkkqW
RYg3ND1ehNk/xMMDfZ2QyHmkhJDNeQ==
=nQ7D
-----END PGP SIGNATURE-----