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

# Caldav sync with Owncloud still buggy

First the good news: Caldav sync sort of works for me now in 1.1.1.26, even with a self-signed certificate and all that. However, the sync behaviour is strange. After account setup no entries from the server where displayed. I then created test events on the phone and triggered a manual sync. The entries were correctly uploaded to the server, but I then started another manual sync. The entries created on the phone disappeared, but the entries from the server appeared. Another sync: phone entries appeared, server entries disappeared, etc.

This strange behaviour is only on the phone side. On the server all entries are present, even those created on the phone.

edit retag close delete

It is working as expected for me, at least for now. I'll chime back in if it starts doing the same on my setup.

( 2014-12-19 08:30:25 +0300 )edit

Can also not confirm this behavior. A first test worked as expected with OC7

( 2014-12-20 15:57:35 +0300 )edit
2

For me, which have had the caldav account since before update 9, got duplicate calendars after update 10. That is, when I looked at "manage calendars" I suddenly had ~20 calendars for my one owncloud calendar. Now I have several events in black color, with no account assigned, and no details in the calendar, only time and date. I am quite disappointed about the (lack of) improvement regarding owncloud/caldav on jolla over the past year. I have a startssl authorized certificate and owncloud myself.

( 2014-12-22 10:28:48 +0300 )edit
2

Same problem as gehowa here (1.1.1.27, ownCloud 7.0.4). Hardly foreseeable which entries disappear after next sync, though some entries seem to be never affected by this bug and are always visible. For this reason jolla calender is not reliable when using caldav.

( 2014-12-22 14:36:47 +0300 )edit

Sort by » oldest newest most voted

(This is not an answer, but it was the only way I found to attach a pic) With Vaarainjärvi (1.1.1.27), I deleted my caldav account, and recreated a new one in order to get rid of duplicate calendars (not calendar events, but calendars as shown in "manage calendars" inside the calendar app). I host owncloud myself, and run version 7.0.4 (stable).

When I recreated the caldav account, I still got several duplicate calendars. I used this config:  Server address: https://YOURSERVER:PORT Server path: /OWNCLOUDPATH/remote.php/caldav/calendars/USERNAME/ 

I got some events that are not assigned to any calendar (in black), and does not contain any info other than date and time:

(Edit: Had to use another browser to add pics, since it didn't work in Opera for Linux)

more

4

Deleting and recreating accounts just make things worse... I had to moved/renamed the files in /home/nemo/.local/share/system/privileged/Calendar/mkcal. They are named "db" and "db.changed" (/!\ this requires superuser rights, I used "FBroot" from openrepos/warehouse to do this). After doing it, there is no need to recreate or reconfigure accounts if they are already existing, the files will be recreated automatically and updated upon sync.

( 2014-12-22 12:45:51 +0300 )edit

Thank, moving both files away got rid of the unassigned entries. Giwever, after a day of use, I now have numerous identical calenders in 'manage calendars'.

I'm soon giving up on caldav on this phone. I'm a bit.. nevermind.

( 2014-12-23 20:15:15 +0300 )edit
1

There are also some databases in /home/nemo/.local/share/system/privileged/Calendars that can be moved/deleted. Hopefully this helps to solve the problem.

( 2014-12-24 11:14:54 +0300 )edit
1

@arno784 Thanks again! This seems to have solved the problem for me:


\$ devel-su
# cd /home/nemo/.local/share/system/privileged/Calendar/mkcal/
# mkdir hide
# mv db* hide

# cd /home/nemo/.local/share/system/privileged/Calendars/
# mkdir hide
# mv caldav-* hide

# reboot

( 2014-12-27 11:20:54 +0300 )edit

somehow calendars started to multiply again... so now I have something like 10 replicates, but the events are displayed only once... I'm not sure what's wrong. I'll reset again the calendars and see what happens.

( 2015-01-21 12:16:10 +0300 )edit