Bug 402205 - Akonadi stops retrieving new email
Summary: Akonadi stops retrieving new email
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: EWS Resource (show other bugs)
Version: 5.9.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-16 19:50 UTC by Aaron Williams
Modified: 2019-01-29 09:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Williams 2018-12-16 19:50:26 UTC
SUMMARY
After a while, Akonadi EWS stopped retrieving new emails. I have run fsck and restarted it multiple times, but it still refuses to display any new email.

Additionally, I see the mail filter agent stuck at 0%.

When I restart Akonadi I get the following messages:

Invalid MIT-MAGIC-COOKIE-1 key[1216/142722.663856:WARNING:stack_trace_posix.cc(699)] Failed to open file: /home/aaronw/#4730176 (deleted)
  Error: No such file or directory
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyKilled
aaronw@ryu:~> akonadictl restart
Invalid MIT-MAGIC-COOKIE-1 keyConnecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyorg.kde.pim.maildispatcher: Item 11 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 10 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 9 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 8 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 7 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 6 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 5 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 4 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 3 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 2 does not have the required attribute Address.
org.kde.pim.maildispatcher: Item 1 does not have the required attribute Address.
org.kde.pim.akonadi_indexer_agent: Failed to fetch items:  "Collection does not exist"
org.kde.pim.akonadi_indexer_agent: Indexing failed:  ""

I have two email accounts, one IMAP and the other using EWS. The IMAP account is connecting to Cyrus IMAP 2.4, the EWS account is connected to Microsoft Office 365.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: OpenSuSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Kontact 5.9.3
Akonadi: 18.8.3
Comment 1 Ovidiu-Florin BOGDAN 2019-01-29 09:02:55 UTC
I've just experienced this, again. One unusual thing I did that might have triggered it:

I was experimenting a workaround for https://bugs.kde.org/show_bug.cgi?id=400730 and took KMail in offline mode, then synced only one account (not the EWS one).

IIRC since then I couldn't get any new emails, not read the unread ones I already had locally. I have brought KMail back to online mode, and restarted everything. I also tried removing the entry for this resource from KWallet, to trigger a re-login.

It behaves like everything is ok, but just doesn't fetch any new mails.

After removing and re-adding the EWS resource (Deleted and added it again from KMail) it works as usual.
Comment 2 Ovidiu-Florin BOGDAN 2019-01-29 09:08:08 UTC
Forgot to give my system info:

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 29 KDE
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Kontact / KMail: 5.9.3
Akonadi: 5.9.3