We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-02-16 02:30:35 +0200

OwnCloud CalDAV sync works only after msyncd restart

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:

  1. Reboot device
  2. Create CalDAV account on your OwnCloud, disable CarDAV
  3. Credentials are checked et. al.
  4. Choose your calendar of choise and create account
  5. Let it sync
  6. Go to calendar, see that events have synced from cloud to device
  7. Change event on cloud, notice it syncs to device as it shoudl
  8. Change event on device, notice it doesn't sync to cloud, and also all events briefly disappear
  9. Restart msyncd: systemctl --user stop msyncd and systemctl --user start msyncd
  10. Sync calendar manually now for completeness' sake
  11. 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.

OwnCloud CalDAV sync works only after msyncd restartrestart [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:

  1. Reboot device
  2. Create CalDAV account on your OwnCloud, disable CarDAV
  3. Credentials are checked et. al.
  4. Choose your calendar of choise and create account
  5. Let it sync
  6. Go to calendar, see that events have synced from cloud to device
  7. Change event on cloud, notice it syncs to device as it shoudl
  8. Change event on device, notice it doesn't sync to cloud, and also all events briefly disappear
  9. Restart msyncd: systemctl --user stop msyncd and systemctl --user start msyncd
  10. Sync calendar manually now for completeness' sake
  11. 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.

OwnCloud CalDAV sync works only after msyncd restart [released]restart

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:

  1. Reboot device
  2. Create CalDAV account on your OwnCloud, disable CarDAV
  3. Credentials are checked et. al.
  4. Choose your calendar of choise and create account
  5. Let it sync
  6. Go to calendar, see that events have synced from cloud to device
  7. Change event on cloud, notice it syncs to device as it shoudl
  8. Change event on device, notice it doesn't sync to cloud, and also all events briefly disappear
  9. Restart msyncd: systemctl --user stop msyncd and systemctl --user start msyncd
  10. Sync calendar manually now for completeness' sake
  11. 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.