KMail2 migration wizard does not work on localized versions of Kubuntu

Bug #856710 reported by Julien Aubin
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When starting KMail2 for the first time after an upgrade from KMail 1, the user is prompted to migrate the mails to KMail2. However, in localized versions of Ubuntu, KMail2 has localized names for the folder names, for example inbox folder in French is named "boîte de réception".

So after then the user is unable to see the emails, and the user gets an error message indicating that the migration process has failed. KMail may also crash at startup after the message indicating that migration has failed.

For the crashing bug, workaround consists in launching kmail-converter manually in interactive mode before first launch of KMail.

For the unable to migrate bug, here's the procedure :
- Go to the KMail 2 configuration panel, in the accounts applet. There, select the "KMail folder" and click modify. Put a folder anywhere but the default location which is ~./kde/share/apps/kmail/mail
- KMail will create its folder tree for emails there.
- Stop KMail.
- Then manually move the content of the folders under ~/.kde/share/apps/kmail/mail under their equivalent under the new folder tree.
- Start KMail.
- Akonadi will refresh the content of the folders, which can be fairly long.

This bug is in my opinion a showstopper as users will simply believe their emails are lost.

Tags: kmail2
affects: kubuntu-ppa → kdepim (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kdepim (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel Moyne (daniel-moyne-free) wrote :

In my case it is even more complex as I have used the following line in kmail setting :
folders[$ie]=${KMAIL_HOME}
where I do set KMAIL_HOME in my "~/.profile".

Apparently the migration script does not follow link or does not take into account this particular setting !

Now the user does not know where Kmaiul2 is storing mail which is not acceptable as a user MUST have full control of its own data whatever the software involved : akondadi, mysql, nepomuk.

Another way to handle migration is this :
- at first use "do not migrate now",
- use migration possibility in main menu,
- then move folders wherever you want.

In my case same problem with coexistence of equivalemnt folders like "sent-mail" et "boîte d'envoi" with no possibility to either :
- rename a folder,
- delete it.

Revision history for this message
X181 (olag-2) wrote :

How can i rerun the migration ( kmail-migrator --interactive)?

kmail-migrator --interactive
kmail-migrator(6888) main: Migration of kmailrc has already run, not running it again

Revision history for this message
Marco Cimmino (cimmo) wrote :

To run migrator again:
rm ~/.kde/share/config/kmail-migratorrc

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.