Package: kmail
Version: 4:4.10.5-2
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

Today, following a safe-upgrade which updated the Qt4 libraries,
I found the whole KMail/Akonadi system quite broken.

I should note that, after the upgrade, I rebooted the system, as
it included updates to the kernel.

At first, things seemed normal, except filters weren't working.

I closed KMail, and tried to re-open it. It wouldn't start,
saying it "Failed to fetch resource collection".

Now, I am not sure exactly when I restarted what. At some point,
akonadiconsole wouldn't start with the same complaint. Later,
it opened, but KMail still refused to run. Reports on the web
suggested the problem was a misconfigured mail folder, but
the mail folder was configured correctly.

I noticed that the Akonadi self-test was reporting an error in
the mysql server startup -- missing tables. After consulting the
web, I decided to try to recreate the database with 

mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/ --user=shai 
--force

This seems to have worked -- after a few more false starts,
logoff-logon cycles, akonadi restart, and KMail failures,
something finally clicked into place and KMail started. 

At first it seemed like it had forgotten all my mail. But
something was synchronizing, so I let it go. When it was
done (didn't follow closely, but ~20 minutes later) it had
restored my mails -- sort of.

It managed to forget the "read" status of ~3 months of mails,
so I suddenly had more than 4000 unread mails in my inbox.
The 3 months weren't the last ones, but mid April to mid July;
I suspect these were the first 3 months of KMail2 on this system.

And then I noted the filters were still not working. I have ~20 
filters, most of them just send messages to different folders. When I
looked at the filter configuration, I realized all the filter target
folders were wrong. It wasn't too hard to resotre them, but
it had to be done manually.

So -- 

A) There was real (though minor) data loss -- the "read" status,
and the filters configurations;
B) There was what looked like data loss -- at first, seeing the
empty mail folders was scary; it is very easy to panic and kill
the program at that stage, which is likely to cause more serious
data loss.

References:

https://bbs.archlinux.org/viewtopic.php?pid=695037 for the tables
https://bugs.kde.org/show_bug.cgi?id=259355 for the startup fail
(comment 10 there seems to be suggested often as a workaround; as
noted above, was not relevant for my case. I believe the problem 
I encountered is similar in effects, but different in cause).

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kmail depends on:
ii  kde-runtime                   4:4.10.5-1
ii  kdepim-runtime                4:4.10.5-2
ii  kdepimlibs-kio-plugins        4:4.10.5-1
ii  libakonadi-contact4           4:4.10.5-1
ii  libakonadi-kde4               4:4.10.5-1
ii  libakonadi-kmime4             4:4.10.5-1
ii  libakonadiprotocolinternals1  1.9.2-2+b1
ii  libc6                         2.17-93
ii  libcalendarsupport4           4:4.10.5-2
ii  libgcc1                       1:4.8.2-1
ii  libgpgme++2                   4:4.10.5-1
ii  libincidenceeditorsng4        4:4.10.5-2
ii  libkabc4                      4:4.10.5-1
ii  libkcalcore4                  4:4.10.5-1
ii  libkcalutils4                 4:4.10.5-1
ii  libkcmutils4                  4:4.10.5-1+b1
ii  libkdecore5                   4:4.10.5-1+b1
ii  libkdepim4                    4:4.10.5-2
ii  libkdeui5                     4:4.10.5-1+b1
ii  libkio5                       4:4.10.5-1+b1
ii  libkleo4                      4:4.10.5-2
ii  libkmime4                     4:4.10.5-1
ii  libknotifyconfig4             4:4.10.5-1+b1
ii  libkontactinterface4          4:4.10.5-1
ii  libkparts4                    4:4.10.5-1+b1
ii  libkpgp4                      4:4.10.5-2
ii  libkpimidentities4            4:4.10.5-1
ii  libkpimtextedit4              4:4.10.5-1
ii  libkpimutils4                 4:4.10.5-1
ii  libkprintutils4               4:4.10.5-1+b1
ii  libksieveui4                  4:4.10.5-2
ii  libktnef4                     4:4.10.5-1
ii  libmailcommon4                4:4.10.5-2
ii  libmailimporter4              4:4.10.5-2
ii  libmailtransport4             4:4.10.5-1
ii  libmessagecomposer4           4:4.10.5-2
ii  libmessagecore4               4:4.10.5-2
ii  libmessagelist4               4:4.10.5-2
ii  libmessageviewer4             4:4.10.5-2
ii  libnepomukcore4               4:4.10.5-1+b1
ii  libpimcommon4                 4:4.10.5-2
ii  libqt4-dbus                   4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqt4-network                4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqt4-xml                    4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqtcore4                    4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqtgui4                     4:4.8.5+git121-g2a9ea11+dfsg1-2
ii  libqtwebkit4                  2.2.1-6
ii  libsolid4                     4:4.10.5-1+b1
ii  libsoprano4                   2.9.2+dfsg.1-4
ii  libstdc++6                    4.8.2-1
ii  libtemplateparser4            4:4.10.5-2
ii  perl                          5.14.2-21

Versions of packages kmail recommends:
ii  gnupg-agent                   2.0.22-1
ii  gnupg2                        2.0.22-1
ii  pinentry-gtk2 [pinentry-x11]  0.8.1-1

Versions of packages kmail suggests:
ii  bogofilter                 1.2.4+dfsg1-2
pn  clamav | f-prot-installer  <none>
ii  kaddressbook               4:4.10.5-2
pn  kleopatra                  <none>
ii  procmail                   3.22-21
ii  spambayes                  1.1a6-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131026232441.18847.36682.reportbug@deblack.local

Reply via email to