[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Back to KDEPIM 1 and KDE SC 4.8.4 due to repeated mail data loss



Hi!

I am back to KDEPIM 1 aka 4.4.11 and KDE SC 4.8.4 from Sid.

Reason? Data losses.

[Akonadi] [Bug 318227] New: Data loss on restarting Akonadi to get it 
responsive again
https://bugs.kde.org/318227


[Akonadi] [Bug 318290] New: Empty mails: AkonadiAgentServer(4890)/libakonadi 
Akonadi::ResourceBase::itemRetrieved: Item does not provide part 
"HEAD"/"RFC822"
https://bugs.kde.org/318290


And finally the thing were I had enough of it:

[Akonadi] [Bug 318444] New: data loss in maildir resource: Mails that were 
accessible disappeared and are not visible in maildir directory anymore
https://bugs.kde.org/318444


KMail 2 / Akonadi lost mails from debian-kde mail folder while I was 
*reading* it. I never saw something like this with any mail application I 
ever used.

I had this running on BTRFS, and due to a BTRFS problem with scrubbing I 
cannot fully prove that my BTRFS /home filesystem is correct. But I do think 
that it is no issue with BTRFS since the rsync based backup worked nicely. 
But the scrubbing does not complete right now and gives a kernel backtrace.


Sorry, but I think my first head up were premature. 


Here is how I went back:

1) I had some discussion with Debian´s package management that I do not 
really remember in full. It basically went down to:

dpkg --force-depends --purge $( dpkg -l | grep 4.10.2 | awk '{print $2;}' )

before trying to install old KDE SC and KDEPIM again.


2) Restore maildir from backup:

merkaba:/mnt/home-zeit> rsync -a -AHXS -P --del  martin-Mail-2013-04-11/ 
/home/martin/Mail/


3) Restore exact matching kmailrc from backup:

martin@merkaba:~/Backup/KDEPIM-1/Konfigurationsdateien> cp -p kmailrc 
~/.kde/share/config/kmailrc

I didn´t do this initially, since I thought KMail 2 uses a new config file 
kmail2rc and the old one would remain unaltered. Well was altered and KMail 
1 tried to check all of its index files and it took ages.


4) Then I had KMail download about 60 MB and 6000 mails from last 5 days 
from my Dovecot POP3 server. This worked cause I configured KMail2 / Akonadi 
to keep mails on server for 7 days.


Only thing that doesn´t work right now is my CRM114 spam filter integration. 
Whyever.


I did not try what happens with IMAP accounts, but at least with POP3 I am 
quite sure that I had data losses. So be careful.

I would have kept testing KDEPIM 2 despite the other about 10 bugs I 
reported which were are about performance issues - on an ThinkPad T520 with 
Intel Sandybridge i5 with 2,5GHz and 8 GB of RAM and 300 GB Intel SSD 320! - 
and some other oddities, but these repeated mail data loss were unacceptable 
for me.

Ciao,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: