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

Caldav sync with Owncloud still buggy

asked 2014-12-18 23:21:18 +0300

gehowa gravatar image

updated 2014-12-19 21:11:37 +0300

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 flag offensive close delete

Comments

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.

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

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

thessy ( 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.

martinrusler ( 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.

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

1 Answer

Sort by » oldest newest most voted
5

answered 2014-12-22 11:04:03 +0300

martinrusler gravatar image

updated 2014-12-22 11:08:00 +0300

(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: image description

image description

image description

image description

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

edit flag offensive delete publish link more

Comments

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.

arno784 ( 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.

martinrusler ( 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.

arno784 ( 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
martinrusler ( 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.

arno784 ( 2015-01-21 12:16:10 +0300 )edit
Login/Signup to Answer

Question tools

Follow
9 followers

Stats

Asked: 2014-12-18 23:21:18 +0300

Seen: 857 times

Last updated: Dec 22 '14