CalDAV Problem after update

asked 2015-05-09 12:02:23 +0200

barmeier gravatar image

updated 2015-05-09 14:10:53 +0200

Hi,

as always after upgrading to a new version (now 1.1.4.29) my calendar hast stopped working. As a pro in losing CalDAV support I made the following:

  1. systemctl --user stop msyncd
  2. killall msyncd
  3. MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd
  4. in another terminal: devel-su journalctl -af | grep caldav

I recognized tons of errors:

    [W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/facebook.Calendars-21.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "facebook.Calendars-21" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/facebook.Contacts-21.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "facebook.Contacts-21" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/facebook.Images-21.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "facebook.Images-21" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/facebook.Notifications-21.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "facebook.Notifications-21" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/facebook.Signon-21.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "facebook.Signon-21" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/syncemail-4.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "syncemail-4" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/twitter.Notifications-5.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "twitter.Notifications-5" 
[W] Buteo::ProfileManagerPrivate::parseFile:1108 - Failed to parse profile XML:  "/home/nemo/.cache/msyncd/sync/twitter.Posts-5.xml" 
[W] Buteo::ProfileManagerPrivate::load:152 - Failed to load profile: "twitter.Posts-5"

on the synced output side.

On the journalctl terminal I saw many:

Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteFormat::modifyComponents:494 - sqliteformat.cpp: 494 - sqlite3_step error: 11 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteStorage::Private::saveIncidences:2055 - sqlitestorage.cpp: 2055 - database disk image is malformed for incidence "36a223af-0845-4f87-9606-8503bd387ba0" 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteFormat::modifyComponents:494 - sqliteformat.cpp: 494 - sqlite3_step error: 11 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteStorage::Private::saveIncidences:2055 - sqlitestorage.cpp: 2055 - database disk image is malformed for incidence "7c9710c5-c399-4273-92ab-772e5c0353e3" 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteFormat::modifyComponents:494 - sqliteformat.cpp: 494 - sqlite3_step error: 11 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteStorage::Private::saveIncidences:2055 - sqlitestorage.cpp: 2055 - database disk image is malformed for incidence "DBBDC060-682D-4F40-9A96-57EEA00D502A" 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteFormat::modifyComponents:494 - sqliteformat.cpp: 494 - sqlite3_step error: 11 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteStorage::Private::saveIncidences:2055 - sqlitestorage.cpp: 2055 - database disk image is malformed for incidence "2a06bfd70c" 
Mai 09 10:48:41 Jolla caldav-client[14200]: [C] mKCal::SqliteFormat::modifyComponents:494 - sqliteformat.cpp: 494 - sqlite3_step error: 11

Is there a solution that does not mean to delete all accounts and recreate them ? I am tired of entering the same account again and again and again...

Please help.

BTW: Before the update the CalDAV sync does not work from time to time but now the CalDAV sync does not work at all.

Ciao Matze

edit retag flag offensive close delete

Comments

"Database disk image is malformed" is a very serious error which suggests that the filesystem was corrupted somehow. How full is your disk image? Have you done a btrfs rebalance at some stage?

chris.adams ( 2015-05-11 04:30:46 +0200 )edit

6,7 GB in use. I don't know what a btrfs rebalance is. Is this something I should do ?

barmeier ( 2015-05-11 12:12:51 +0200 )edit

It should happen automatically if you have your phone plugged into a charger during Monday nights. I wonder if this operation failed somehow, causing the corruption? A bug has been created to track this issue internally, I will try to investigate the cause.

chris.adams ( 2015-05-13 10:04:32 +0200 )edit

Do you have a workaround in the mean time ? It is absolute possible that my Jolla was connected Monday nights for months. I load it every Sunday to start the week with a fully loaded phone. Recharge is necessary Tuesday or Wednesday depending on the usage. Can I trigger the check manually and will it help ?

barmeier ( 2015-05-13 12:52:45 +0200 )edit

If you have no data in the database which you need to keep, you can simply devel-su rm -rf /home/nemo/.local/share/system/privileged/Calendar and then retrigger sync.

chris.adams ( 2015-05-22 11:54:51 +0200 )edit