OwnCloud CalDAV sync works only after msyncd restart [released]
Sorry for short and blunt words, I'm very tired and frustrated, but here goes:
So, I am trying to sync my OwnCloud 9.1.4 calendar with my Jolla 2.1.0.9 Iijoki EA (but I bet this has been the case for some updates time...) This is how it goes:
- Reboot device
- Create CalDAV account on your OwnCloud, disable CarDAV
- Credentials are checked et. al.
- Choose your calendar of choise and create account
- Let it sync
- Go to calendar, see that events have synced from cloud to device
- Change event on cloud, notice it syncs to device as it shoudl
- Change event on device, notice it doesn't sync to cloud, and also all events briefly disappear
- Restart msyncd:
systemctl --user stop msyncd
andsystemctl --user start msyncd
- Sync calendar manually now for completeness' sake
- Change event on device, notice it now syncs to cloud, as it should in the first place
Because restarting msyncd is required in order to enable debug logging, and it also fixes the behavior, it really can't be used... Perhaps this is some on-device race or permission issue?
OwnCloud calendar is fully functional on web browser side, and after the trick it works well on my Jolla, too. That leads into assuming that the server side configuration is just fine.
I have a strong feeling, that this same procedure would fix my similarily functioning Google Calendar, but thanks to two-factor authentication, I can't test it right now.
Jolla, once again, I can provide you a test account if you want to try it out or if you can't reproduce it on your existing installations.
I'll try to reproduce this next week on our test installation in the Mer infrastructure.
In the meantime, could you try to add MSYNCD_LOGGING_LEVEL=8 to the /var/lib/environment/nemo/50-jolla-ui.conf and then rebooting, and seeing if you can get logs as per steps 5+6+7 from https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_Contributions#Sync_Logs as this doesn't require restarting the msyncd daemon.
Thanks!
chris.adams ( 2017-02-17 08:15:22 +0200 )editThans! I'll try to reproduce it with logging enabled to get the situation logged.
Direc ( 2017-02-17 08:43:42 +0200 )edit