[Bug 728755] New: Kmail automatic import fails
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c0 Summary: Kmail automatic import fails Classification: openSUSE Product: openSUSE 12.1 Version: RC 2 Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: KDE4 Applications AssignedTo: kde-maintainers@suse.de ReportedBy: timshel@rocketmail.com QAContact: qa@suse.de Found By: Beta-Customer Blocker: --- Created an attachment (id=460774) --> (http://bugzilla.novell.com/attachment.cgi?id=460774) kmail log during automatic migration I have installed 12.1 RC2 but kept the home directory of 11.4. I have two Imap accounts and use the local inbox for storing the mails of the account which doesn't have so much space. After starting Kmail it asked for the migration which failed and the program crashed. I thought this might have something to do that I had a newer version of Kmail for some time (from Tumbleweed) so I removed all akonadi, kmail, kontact and so on settings and directories in my home directory and only restored the kmail folder and the kmailrc. After that the automatic kmail import still failed with the following message boxes: Message Box 1 after the migration: "Migration to KMail 2 failed. In case you want to try again, run 'kmail-migrator --interactive' manually." After confirming the last message box I got another one in Kmail: "KMail encountered a fatal error and will terminate now. The error was: Failed to fetch the resource collection." After confirming that Kmail vanishes except of the mail account creation dialog. The kmail output during the migration is attached. Using the kmail-migrator does seem to work at first but Kmail doesn't really work in this case too but I am posting another bug report for this issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c1 milan zimmermann <milan.zimmermann@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |milan.zimmermann@gmail.com --- Comment #1 from milan zimmermann <milan.zimmermann@gmail.com> 2011-11-13 16:42:43 UTC --- I am having same experience, with similar messages. After 2 days of googling and trying, I am getting used to loosing 12 years or so of my Kmail, too bad... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c2 --- Comment #2 from Tim - <timshel@rocketmail.com> 2011-11-17 22:41:22 UTC --- After restoring .kde4 and .local I have managed to prevent the import from failing by activating Nepomuk beforehand. Nevertheless Kmail still hangs while accessing my local mails although Imap has worked. Because of that I switched back to 11.4 which means Kmail 4.4. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c3 Will Stephenson <wstephenson@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED CC| |wstephenson@suse.com AssignedTo|kde-maintainers@suse.de |wstephenson@suse.com Summary|Kmail automatic import |KMail migration failure |fails |with 'Unable to fetch the | |resource collection' --- Comment #3 from Will Stephenson <wstephenson@suse.com> 2011-11-21 20:43:28 UTC --- https://bugs.kde.org/show_bug.cgi?id=259355 Launch akonadiconsole, find the Local Folders Agent, configure it natively, if the path is empty or an invalid path, set the path to .local/share/local-mail . Does this help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c4 Kjetil Kilhavn <kjetil@kilhavn.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kjetil@kilhavn.no --- Comment #4 from Kjetil Kilhavn <kjetil@kilhavn.no> 2011-11-21 22:14:03 UTC --- http://forums.opensuse.org/english/get-technical-help-here/applications/4678... The crash with error message about inability to get resource collection was in my case caused by an error in ~/.kde4/share/config/specialmailcollectionsrc - it pointed to akonadi_maildir_resource_0. I renamed akonadi_maildir_resource_1rc (in ~/.kde4/share/config/) to akonadi_maildir_resource_0rc and that took care of the crash. KMail has an account for "Local Folders" (no data) in addition to the translated account (in my case "Lokale mapper" (which has correct configuration and points to ~/.local/share/local-mail). This is probably an error in the migrator. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c5 --- Comment #5 from Kjetil Kilhavn <kjetil@kilhavn.no> 2011-11-21 22:24:52 UTC --- Added to most annoying bugs for 12.1 - because it is! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c6 --- Comment #6 from milan zimmermann <milan.zimmermann@gmail.com> 2011-11-24 22:33:54 UTC --- (In reply to comment #3)
https://bugs.kde.org/show_bug.cgi?id=259355
Launch akonadiconsole, find the Local Folders Agent, configure it natively, if the path is empty or an invalid path, set the path to .local/share/local-mail .
Does this help?
Not really in my case. I fixed this a while ago, this only makes my KMail2 start but pre-update messages never show up. I submitted 732692 with my details -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c7 --- Comment #7 from Kjetil Kilhavn <kjetil@kilhavn.no> 2011-11-27 21:42:16 UTC --- (In reply to comment #4) Another upgrade was made, and this time I cancelled the dialogs for entering my account details when starting KMail. No akonadi_maildir_resource_<number>rc file existed in my config folder, so I changed specialmailcollectionsrc and deleted the value (akonadi_maildir_resource_0). When I started KMail again the local folders resource file was created and specialmailcollectionsrc updated to point to it. However, the preexisting e-mail was not available - which is not acceptable at all - and for people with multiple accounts it is also a pain point having to set everything up again. So, the file kmail-migratorrc was moved to a backup area and the migrator executed interactively (kmail-migrator --interactive) as suggested by others. The migration was now successful - at least that's what the migrator reported. When I started KMail again I was asked about migration and said no. Inside KMail, the folders from the preexisting mail archive showed up, but no messages - and where did the local folders go? Getting closer, but still can't say this is something I would reccommend to my mother - or your average MSCE :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c8 --- Comment #8 from milan zimmermann <milan.zimmermann@gmail.com> 2012-01-24 22:45:47 UTC --- In conclusion to this (from my perspective) - it seems almost impossible to get old mail back. If you were using KMail since long time ago, update to KMail2, for all practical purposes, means old email will be lost. I have gotten some important folders back by copying them to a newly created directory, creating a mixed resource for each folder and importing it one by one. Overall the process was so complicated and lenghty, and experimental (many man days), I cannot repeat all steps, one I remember was old indexes had to be deleted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c9 Wilson Guerrero-Coltters <wcoltters@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wcoltters@gmail.com --- Comment #9 from Wilson Guerrero-Coltters <wcoltters@gmail.com> 2012-01-29 01:11:59 UTC --- (In reply to comment #8)
In conclusion to this (from my perspective) - it seems almost impossible to get old mail back. If you were using KMail since long time ago, update to KMail2, for all practical purposes, means old email will be lost.
I have gotten some important folders back by copying them to a newly created directory, creating a mixed resource for each folder and importing it one by one. Overall the process was so complicated and lenghty, and experimental (many man days), I cannot repeat all steps, one I remember was old indexes had to be deleted.
Maybe is a little too late for Milan, but I want to give "hope" to others that may feel the same, including me this week when I update from 11.2 to 12.1. I had the same migrations errors as others and at first I was very frustrated. But little but little, resolving Nepomuk errors starting it from the commad line I was able to first start Kmail, then import the messages, the copy them to the final folders and up and running. But I still have problems with filters. When I active a filter messages get duplicated. Not when I execute the filter manually. I can live without automatic filters for a time. In short I'm very glad with this version. Just give it time to grow on you. And don't give up! Your old email will not be lost! :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=728755 https://bugzilla.novell.com/show_bug.cgi?id=728755#c10 --- Comment #10 from milan zimmermann <milan.zimmermann@gmail.com> 2012-01-29 21:12:34 UTC --- (In reply to comment #9)
(In reply to comment #8)
In conclusion to this (from my perspective) - it seems almost impossible to get old mail back. If you were using KMail since long time ago, update to KMail2, for all practical purposes, means old email will be lost.
I have gotten some important folders back by copying them to a newly created directory, creating a mixed resource for each folder and importing it one by one. Overall the process was so complicated and lenghty, and experimental (many man days), I cannot repeat all steps, one I remember was old indexes had to be deleted.
Maybe is a little too late for Milan, but I want to give "hope" to others that may feel the same, including me this week when I update from 11.2 to 12.1. I had the same migrations errors as others and at first I was very frustrated. But little but little, resolving Nepomuk errors starting it from the commad line I was able to first start Kmail, then import the messages, the copy them to the final folders and up and running. But I still have problems with filters. When I active a filter messages get duplicated. Not when I execute the filter manually. I can live without automatic filters for a time. In short I'm very glad with this version. Just give it time to grow on you. And don't give up! Your old email will not be lost! :-)
Hi Wilson: thanks for sharing. To comment some more, I am in no way giving up on KDE (or Opensuse) for this migration :) I have been using KDE since it's alpha (was it like, 1996/1997?) and love it with almost no complains. KMail has been such a workhorse for me, I have KMail messages since 2000 carried through all updates, even one "cross distro" 7-8 years ago. There are issues with this upgrade, at least on older bigger mail directories - they are fixable, as you have (and partly I have) managed, but require lenghty manual work. Hopefully most users went through the upgrade ok. BTW, my filters were converted OK and I do not have dual messages. That part went well :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com