CalDAV: Lose calendar entries on connection problems

asked 2015-07-28 10:29:36 +0200

cy8aer gravatar image

updated 2015-08-01 18:34:48 +0200

Yo gravatar image

If the CalDAV-connection to the server does not work well (e. g. behind a deep inspection device or proxy with no full CalDAV protocol support) the CalDAV entries in the calendar are lost when syncing. It would be fine if there would be a recovery of the old data set from before the sync try on failure. Otherwise you are not able to recover your data when you sit in a hotel with no other connectivity and you need your calendars :-( and automatic sync.

So switch to manual sync is the only help by now.

edit retag flag offensive close delete


What version of the caldav sync plugin are you using (devel-su -p pkcon get-details buteo-sync-plugin-caldav)? This should have been fixed since version 0.1.24, unless there's some other bug lurking in the plugin which also causes this issue. Are you able to provide logs of a sync where this occurs?

 systemctl --user stop msyncd
 killall msyncd
 MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd

then in a different terminal:

 devel-su journalctl -af | grep caldav

then trigger sync. The second (journalctl) terminal should have useful logs - they may need redacting to remove personal information.

Thanks, Chris.

chris.adams ( 2015-08-03 05:17:19 +0200 )edit