Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help needed - my KDEPIM-4.7 (kmail) upgrade NIGHTMARE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1619
Location: /mnt/Gentoo/Europe

PostPosted: Fri Dec 09, 2011 10:49 am    Post subject: Help needed - my KDEPIM-4.7 (kmail) upgrade NIGHTMARE Reply with quote

Hi,

As a long user of kmail (over 10 years now) I thought it wont be any problems for me to upgrade to kdepim (kmail etc.) to version 4.7. I was wrong...

First, I've read the instruction:
http://wiki.gentoo.org/wiki/KDEPIM-4.7_upgrade

I made a backup and because migration script failed, I have made manual migration by typing: kmail-migrator --interactive

After this I realized that migration was fine for all old folder, accounts and setting but I did not have my old emails, and because kmail was extremely slow, and after reading one email I could only see: “Retrieving Folder Contents, Please Wait...”, so I tough maybe I have done something wrong, and because it was 2am I was trying to repeat this step (kmail-migrator --interactive) 3 times more... This did not fix anything and things went even more wrong.

The problem is now – my kmail do not work properly, and I lost over 20 000 emails as I can not import it. I know many user had similar problem and went into Thunderbird, but I have to fix it as I can not lost my old emails and jobs form last 7 years.

Bellow there is a list of all my problems after migrating, if someone have a solution for just one step, I hope step by step I will fix everything.

[1] Duplicate Kmail Folders in Kmail.
As I said above, because I repeated (kmail-migrator --interactive) 4 times, I have 4 time duplicated main tree in Kmail. Each one has working accounts. Some of them fetch all emails, some of them fetch only few emails. You can see it here:
http://img521.imageshack.us/img521/7586/printscreenkmail02.png
I was trying do delete those 3 unwanted folder, but with no results. Maybe I should delete manually every sub-folder first or maybe is another solution to delete it?

[2] Kde Wallet setting
I have 4 Kmail Folders in Kmail, and about 10 accounts in every one, and I do not know why KDE Wallet is working in this way, but every few minutes I have dozen of windows where I have to click the password for every account and password for access for kdewallet. Before upgrade, I had to put password once (during opening kmail) and after that anything, now during writing this text, I had to click over 100's times. How to fix it?
Here is a printscreen how it looks like, I have to click all the time OK, OK, Ok...:
http://img210.imageshack.us/img210/4858/printscreenkmail01.png

[3] Nepomuk
New Kmail needs Akonadi and Akonadi needs Nepomuk
In my previous kmail everything worked just fine. After upgrade I have errors messages like bellow:
http://img832.imageshack.us/img832/9895/printscreenkmail03.png

Quote:
Sematic Data Storage
Nepomuk was not able to find the configured database backend 'sesame2'. Existing data can thus not be accessed. For data security reasons Nepomuk will be disabled until the situation has been reso…


Quote:
Nepomuk Indexing Disabled
Nepomuk Indexing Agents Have Been Disabled
The Nepomuk service is not available or fully operational and attempts to rectify this have failed. Therefore indexing of all data stored in the Akonadi PIM service has been disabled, which will severely l…

The following problems were detected:
Calling the Nepomuk storage service failed: 'The name org.kde.NepomukStorage was not provided by any .service files'.
Additional help can be found here: userbase.kde.org/Akonadi


I was trying to do this manual - Nepomuk Indexing Agents have been Disabled:
http://userbase.kde.org/Akonadi_4.4/Troubleshooting#Nepomuk_Indexing_Agents_have_been_Disabled
but with no success :(

My status:
Code:
$ akonadictl status
Akonadi Control: running
Akonadi Server: running
Akonadi Server Search Support: not available


Code:
$ nepomukserver
Nepomuk server already running.


[4] Missing all old emails
The last one, the most important one. I was doing everything from this manual:
http://wiki.gentoo.org/wiki/KDEPIM-4.7_upgrade
but I could not import even one email. How to do this? It is possible to do this in old way, eg by coping files?

[5] Kmail extremly slow
I have many problems as you could see above, but fortunately kmail works, but.... very, very slow...
I have wait few minutes to see any email, and I can only see “Retrieving Folder Contents, Please Wait...”
Any sollution for this?

Many thanks for help, I slept only 2 hours, my email program does not work and for a moment I lost all my email :( If there is no solution, it possible to downgrade do old kde and kmail?
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Dec 09, 2011 11:16 am    Post subject: Re: Help needed - my KDEPIM-4.7 (kmail) upgrade NIGHTMARE Reply with quote

Xywa wrote:
( If there is no solution, it possible to downgrade do old kde and kmail?

Sorry for not being able to usefully answer to your most important questions, I did not do the migration.
But, as you had made a backup, there should be no trouble going as advised by dilfridge in some latest news :
eselect news read 15 wrote:
If you *dont* want to upgrade your KDEPIM yet but keep the old version,
please download the following file and add it into your
/etc/portage/package.mask:
http://www.gentoo.org/proj/en/desktop/kde/kdepim-4.7-mask.txt

So I would just do as advised then simply emerge --deep --update --newuse world then revdep-rebuild then restart on kde 4.7 with good old kmail1 after restoring the backups.
_________________
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1619
Location: /mnt/Gentoo/Europe

PostPosted: Fri Dec 09, 2011 12:10 pm    Post subject: Re: Help needed - my KDEPIM-4.7 (kmail) upgrade NIGHTMARE Reply with quote

aCOSwt wrote:
So I would just do as advised then simply emerge --deep --update --newuse world then revdep-rebuild then restart on kde 4.7 with good old kmail1 after restoring the backups.


I hoping it will be works, just downgrading kmail :)

There is a big mess with new kmail2 all over the world:
http://forum.kde.org/viewforum.php?f=20
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1619
Location: /mnt/Gentoo/Europe

PostPosted: Fri Dec 09, 2011 1:45 pm    Post subject: Re: Help needed - my KDEPIM-4.7 (kmail) upgrade NIGHTMARE Reply with quote

aCOSwt wrote:
So I would just do as advised then simply emerge --deep --update --newuse world then revdep-rebuild then restart on kde 4.7 with good old kmail1 after restoring the backups.


I lost 12 hours, but downgrade solved it. It works!!!!!!!!!!!!!!

Good bless you 8) :) 8) :) 8) :) 8)

p.s. Myabe in the far away future I will try again kmail2
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7412

PostPosted: Fri Dec 09, 2011 2:01 pm    Post subject: Reply with quote

And you're just a user, think about the dev that handle that :)
http://dilfridge.blogspot.com/2011/09/who-cares-about-users-and-distributions.html
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1619
Location: /mnt/Gentoo/Europe

PostPosted: Fri Dec 09, 2011 2:18 pm    Post subject: Reply with quote

krinn wrote:
And you're just a user, think about the dev that handle that :)
http://dilfridge.blogspot.com/2011/09/who-cares-about-users-and-distributions.html


I agree :)

What is the best alternative for kmail? I think about easy of migration all my accounts, folders (over 700) and email (> 20 000)?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7412

PostPosted: Fri Dec 09, 2011 2:24 pm    Post subject: Reply with quote

I honestly don't know, i never use kde nor kmail, but as far as i remember, i never get anything else than thunderbird, i could say i'm use to it, and without telling i'm a big fan, it doesn't bug me and do the work, i suppose "i love it".
Back to top
View user's profile Send private message
wjb
Guru
Guru


Joined: 10 Jul 2005
Posts: 429
Location: Fife, Scotland

PostPosted: Fri Dec 09, 2011 3:14 pm    Post subject: Reply with quote

I ended up with no emails - manual update failed as well, it choked on some mail folders others were fine.

The "Local Account" folder in the new kmail looked like maildir format, other than there not being any index/sorted files, so I just tried a direct copy of my mail backup - which worked ... :D

  • Quit KMail
  • Create a directory under ~/..maildir.directory called .myimports.directory (be careful with the dots)
  • Copy everything under the saved Mail directory into the new directory
  • Removed all the *.index, *.ids, *.sorted files from the new directory
  • Restart KMail
  • Look under Local Account -> myimports
Back to top
View user's profile Send private message
rubik-wuerfel
n00b
n00b


Joined: 29 Sep 2004
Posts: 53
Location: Goettingen, Germany

PostPosted: Sun Jan 01, 2012 2:48 pm    Post subject: Reply with quote

wjb wrote:

so I just tried a direct copy of my mail backup - which worked ... :D

Thanks, this saved my day! :D

The only problem left is that some of my old folders were mixed maildir/mbox format, the mbox files were not recognized this way. But I think this is something I can work around pretty easily in a second step.
Back to top
View user's profile Send private message
sam_i_am
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2003
Posts: 131

PostPosted: Mon Jan 02, 2012 5:12 pm    Post subject: Reply with quote

Now that you got your emails back, I would really recommend setting up a IMAP server (dovecot is just great) and then move your emails to that.

I have been doing that for the past 8 years or so and accessing my email from other clients is just a breeze (provided you can make your imap server accessible over internet).

Biggest plus is that your next kmail migration would now be a bit easier :)

Sam
_________________
Sam
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 704
Location: tra veneto e friuli (italy)

PostPosted: Mon Jan 02, 2012 8:46 pm    Post subject: Re: Help needed - my KDEPIM-4.7 (kmail) upgrade NIGHTMARE Reply with quote

Xywa wrote:

[3] Nepomuk
New Kmail needs Akonadi and Akonadi needs Nepomuk
In my previous kmail everything worked just fine. After upgrade I have errors messages like bellow:
http://img832.imageshack.us/img832/9895/printscreenkmail03.png

Well, according to this blog entry from S. Trueg About Strigi, Soprano, Virtuoso, CLucene, and Libstreamanalyzer I have changed some USE flags like so:
Code:

ronzinante xdarma # emerge -pv nepomuk strigi soprano virtuoso-server raptor redland

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/raptor-2.0.4  USE="curl unicode xml -debug -json -static-libs" 0 kB
[ebuild   R   ~] dev-db/virtuoso-server-6.1.4  USE="ldap readline -kerberos" 0 kB
[ebuild   R    ] app-misc/strigi-0.7.6-r1  USE="dbus exif ffmpeg inotify qt4 -clucene -debug -fam -hyperestraier (-log) -test" 0 kB
[ebuild   R    ] dev-libs/redland-1.0.14  USE="berkdb iodbc odbc sqlite ssl xml -mysql -postgres -static-libs" 0 kB
[ebuild   R    ] dev-libs/soprano-2.7.0  USE="dbus raptor redland virtuoso -clucene -debug -doc -test" 0 kB
[ebuild   R    ] kde-base/nepomuk-4.7.3  USE="handbook (-aqua) -debug (-kdeenablefinal)" 0 kB

Total: 6 packages (6 reinstalls), Size of downloads: 0 kB

Note that I use only sqlite for redland, for akonadi I use mysql.
In my box nepomuk works well, kmail2 don't work :-(
_________________
proud user of faKeDE-4.7.3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum