FS#47484 - [akonadi] "Failed to fetch the resource collection."

Attached to Project: Arch Linux
Opened by Michał Walenciak (Kicer) - Tuesday, 22 December 2015, 10:59 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 30 December 2015, 21:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After system update to kde5 I cannot launch Kontact or KMail.
Both application are crashing.
I've attached console output and backttrace (which actually doesn't say anything special)


Additional info:
Qt 5.5.1
KDE 5.17.0
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 30 December 2015, 21:25 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Tuesday, 22 December 2015, 13:07 GMT
Try removing the problematic resource with akonadiconsole
Comment by Michał Walenciak (Kicer) - Tuesday, 22 December 2015, 17:34 GMT
No suspicious agents (I guess that's what you mean) in akonadiconsole
Comment by Antonio Rojas (arojas) - Tuesday, 22 December 2015, 17:37 GMT
Well, your log shows that akonadi_maildir_resource_1 is causing trouble, so remove that one.
Comment by Michał Walenciak (Kicer) - Wednesday, 23 December 2015, 10:27 GMT
Now it takes Kotact a few minutes to show up.
When it finally does, there are no mails in Mail tab. I've 2 imap resources and 1 pop/smtp so there are data to be shown :)
Imap resources seem to be hanged - both have status "Ready (0%)".
Something went really really bad in kde5.
Comment by Antonio Rojas (arojas) - Wednesday, 23 December 2015, 10:30 GMT
which akonadi backend are you using?
Comment by Michał Walenciak (Kicer) - Wednesday, 30 December 2015, 17:58 GMT
According to ~/.config/akonadi/akonadiserverrc it is QSQLITE3
Comment by Antonio Rojas (arojas) - Wednesday, 30 December 2015, 20:48 GMT
Unfortunately the akonadi sqlite backend is completely broken in Qt5 and fixing it is not a priority for upstream developers. You'll need to switch to MySQL:
- Stop akonadi ($ akonadictl stop)
- Backup and remove the akonadi database (~/.local/share/akonadi)
- Change your backend from QSQLITE3 to QMYSQL in ~/.config/akonadi/akonadiserverrc
- Restart akonadi ($ akonadictl start) and wait for everything to sync again
Comment by Michał Walenciak (Kicer) - Wednesday, 30 December 2015, 21:24 GMT
It seems to work now.
Thx

Loading...