Piratenpartei Zürich
PC 85-112704-0

Der Politnetz Auftritt von Marc Wäckerlin Im Politnetz unterstützen

kUbuntu 11.10 Oneiric Ocelot kmail Migration fails

Upgrading kmail to kmail2 always fails when migrating from kUbuntu 11.04 to 11.10. The instruction is to manually run kmail-migrator --interactive, — but that fails too and returns: «Migration of kmailrc has already run, not running it again».

Solution: First remove the files generated by the migrator:

rm .kde/share/config/kmail2rc
rm -r .kde/share/apps/kmail2
rm .kde/share/config/kmail-migratorrc
kmail-migrator --interactive

Then the migration starts.

Next start of kmail, I am again asked for migration, here I skipped. Then kMail aborts with error message, that I had no read/write access to my mail folder; «In KMail ist ein schwerwiegender Fehler aufgetreten. Das Programm wird beendet. ie Fehlermeldung lautet: Sie haben keine Lese-/Schreibrechte für Ihren Posteingangsordner.» («KMail encountered a fatal error and will terminate now. The error was: You do not have read/write permission to your inbox folder.»)

The path in akonadi is wrong.


  • Hit Alt+F2 (or open the K-Menu), enter aknonadi and select «Akonadi Console»(«Akonadi Einrichtung»)
  • Look for «KMail-Folder» («KMail-Ordner») and edit it.
  • You see the message: «Error opening /home/user/Mail/cur; this folder is missing» — the subdirectory cur only exists in some subfolders of mail
  • Either change the path to a subdirectory or better delete the entry «KMail-Folder»

Then kmail starts.