Discussion:
[Akonadi] [Bug 327979] New: The body of some emails is missing
Éric Brunet
2013-11-23 16:07:56 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=327979

Bug ID: 327979
Summary: The body of some emails is missing
Classification: Unclassified
Product: Akonadi
Version: 1.10.3
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: IMAP resource
Assignee: ***@fastmail.fm
Reporter: ***@lps.ens.fr
CC: kdepim-***@kde.org, ***@kde.org

I have set up an imap account with "disconnected mode" enabled and configure to
always fetch the whole messages.

In one folder, I have two messages where the body is missing.
* I have checked with another imap client that the messages do have a body on
the server
* I have tried to look at the source of the message in kmail, there are all the
headers (The first line missing is "This is a multi-part message in MIME
format')
* I have tried to look at the messages in akonadiconsole: no difference
* I have tried to fetch all the mails, to quit and restart kmail, to quit
kmail, quit akonadi, restart akonadi, restart kmail, and to reboot the
computer, nothing changes: the messages are not complete.

Apart from this, things are working nicely.

Note that around the time the messages where received, my laptop died because
it ran out of battery. It is possible that it died at the time akonadi was
fetching the mails.

So, of course akonadi should be able to maintain the collection in sync even in
the case of a power failure at a critical time, but this is a hard problem and,
hey, bugs exist. What I would really like to do is a button or a menu entry in
kmail which forces akonadi to refetch a given message from the server, or to
refetch a given folder from the server, or to refetch all the messages
posterior to a given date. I have tried to look for such an option in kmail and
in akonadiconsole, and couldn't find any. It looks as if the only way to force
a refetch is to erase completely the database, and this is quite brutal...

Reproducible: Couldn't Reproduce




akonadi is configured to use the internal MySQL server.

There is an actual bug report, which will be difficult to fix as I cannot
reproduce it, and a wishlist.
--
You are receiving this mail because:
You are on the CC list for the bug.
Daniel Vrátil
2013-11-25 13:47:02 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=327979

Daniel Vrátil <***@redhat.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@redhat.com

--- Comment #1 from Daniel Vrátil <***@redhat.com> ---
"Fetch all emails" in KMail only does incremental fetch, it won't fetch mails
that are already in Akonadi.

Quit KMail, open Akonadi Console, got to Browser tab, right-click the folder in
which the emails are and click 'Clear Akonadi Cache'. This will delete the
folder from Akonadi (but not from the server!). Then start KMail and click
"Fetch all emails" . This will refetch the folder from scratch.

I should probably add a button to purge single item from Akonadi Console,
writing SQL queries is PITA :-)
--
You are receiving this mail because:
You are on the CC list for the bug.
Éric Brunet
2013-11-25 17:12:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=327979
right-click the folder in which the emails are and click 'Clear Akonadi Cache'
Ah, yes, thank-you. I looked for a button, I looked for an entry in the menus,
I looked in the contextual menu of the item, and I didn't look in the
contextual menu of the folder....

Everything is now in order, thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.
Christian Mollekopf
2013-12-11 09:10:57 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=327979

Christian Mollekopf <***@kolabsys.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |***@kolabsys.com
Resolution|--- |FIXED

--- Comment #3 from Christian Mollekopf <***@kolabsys.com> ---
Juha Tuomala
2018-12-09 19:33:35 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=327979

Juha Tuomala <***@iki.fi> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@iki.fi

--- Comment #4 from Juha Tuomala <***@iki.fi> ---
Has anyone considered reopening this one? Constant problem. Why there can't be
"reload" or something that would re-download given folder/message?
--
You are receiving this mail because:
You are on the CC list for the bug.
Juha Tuomala
2018-12-09 19:45:26 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=327979

--- Comment #5 from Juha Tuomala <***@iki.fi> ---
Well, running:

akonadictl fsck

fixed it. Great.
--
You are receiving this mail because:
You are on the CC list for the bug.
Fortsæt læsning på narkive:
Loading...