Bug 165320

Summary: Several config upgrade issues when migrating to KDE4
Product: [Unmaintained] kmail Reporter: Marcelo Sales <mmtsales>
Component: config compatibilityAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bjoern, christophe, jeromeh, kde, nelson.ferreira, vectro, wstephenson
Priority: NOR    
Version: 1.9.51   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marcelo Sales 2008-06-29 14:31:14 UTC
Version:            (using KDE 4.0.80)
Installed from:    Fedora RPMs
OS:                Linux

After migrating from KDE 4.0.5 (kdepim3) to KDE 4.0.82 (kdepim4), all of my configured accounts were lost (in and out accounts). The identities were migrated correctly, except for a minor dictionary problem, reported in separated bug.
Comment 1 Christophe Marin 2008-06-29 16:25:25 UTC
*** Bug 165323 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2008-06-29 16:25:59 UTC
*** Bug 165324 has been marked as a duplicate of this bug. ***
Comment 3 Thomas McGuire 2008-07-03 17:03:51 UTC
Ok, there are several issues here:

1.
Accounts not migrated. An update script should take care of that, not sure why it didn't work for you.

2.
Dictionary settings were not upgraded sucessfully

3.
Sender identity for folders lost - probably because the identity format changed and there is no upgrade script for the folders.
Comment 4 Thomas McGuire 2008-07-23 13:59:35 UTC
For those users whose upgrade scripts didn't run, try running kconf_update <path/to/new/kmailrc> manually, that should at least migrate the accounts. Also run it on the new emailidentities file to migrate the identities.
Comment 5 Marcelo Sales 2008-11-30 04:37:21 UTC
Just updating, this bug still occurs when upgrading to kdepim4 in KDE 4.1.3. However, this time I didn't lose the out accounts, but just the in accounts (POP3 and local).
Dictionaries of all identities were set to English (Australia).
However, the sender identity for folders were not lost this time.
Unfortunately, I didn't remember to run manually the upgrade scripts before recreating all in accounts and restoring the dictionary settings for identities. :(
Comment 6 Thomas McGuire 2009-03-16 14:02:27 UTC
*** Bug 174756 has been marked as a duplicate of this bug. ***
Comment 7 Thomas McGuire 2009-03-16 14:07:18 UTC
Ok, some updates: KDE 4.2.2 will contain a workaround so that at least your incoming accounts will not be lost (which meant loosing the dimap cache as well).

However, this is not really a bug, but rather a distributions/users error, who are running both versions of KMail at the same time or something similar. In that case, apparently the update scripts get run sometimes, but don't really update the files, e.g. the [$Version] group says the script has run, but that didn't happen. (at least dfaure says it is a distro problem or incorrect setup, and I'm inclinded to believe him).

The dictionary problem is real, we simply don't have an update script for that. Same for some identity changes.
Comment 8 Thomas McGuire 2009-03-18 23:41:17 UTC
*** Bug 187191 has been marked as a duplicate of this bug. ***
Comment 9 Thomas McGuire 2009-03-19 01:18:39 UTC
*** Bug 167784 has been marked as a duplicate of this bug. ***
Comment 10 Laurent Montel 2015-04-12 10:26:18 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.