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

Calendar app shows CalDAV entries multiple times, increases

asked 2017-06-15 11:25:02 +0300

onion gravatar image

updated 2017-07-19 09:25:23 +0300

jovirkku gravatar image

Background:

  • SFOS 2.1.0.11
  • CalDAV account on private ownCloud 8.2.10
  • Accounts shows the various shared calendars OK, one entry per calendar

Calendar application shows every shared calendar in Manage Calendars multiple times. First time I noticed it there where 2 entries, the after a time 3 and now when I checked it had increased again to 4. And that of course leads to every caldav event to show up 4 times.

I haven't noticed any pattern that makes the entries to increase, a reboot didn't do it.

edit retag flag offensive close delete

Comments

1

I have the exact same issue as well... same SFOS-version syncing to owncloud, and the number of duplicated calendars keeps increasing. Right now I'm also seeing each calendar 4 times.

nelbrog ( 2017-06-15 11:38:08 +0300 )edit
2

The same for Nextcloud. I need to delete and add my account again every week or so. Has been like this on Sailfish forever.

William ( 2017-06-15 17:31:16 +0300 )edit
2

Same here for posteo.de calendar.

jumPM ( 2017-06-16 08:48:35 +0300 )edit
1

No need to add another question for this. There are several already. It has nothing to do with owncloud/nextcloud/posteo. Unfortunately the latest testbuild, in which there were hope to solve it, did not solve this calendar duplication issue.

ljo ( 2017-06-16 11:33:16 +0300 )edit

I tried looking for this specific issue but didn't find it. My bad.

onion ( 2017-06-19 13:20:03 +0300 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2017-11-16 09:49:32 +0300

coco gravatar image

I found a workaround that cleans out multiple entries and keeps only the one synced first. Following is working for me:

devel-su -p sqlite3 /home/nemo/.local/share/system/privileged/Calendar/mkcal/db "delete from calendars where syncProfile like 'caldav-sync%' and CalendarId not in (select CalendarId from calendars c where syncDate=(select min(syncDate) from calendars where syncProfile=c.syncProfile));"

At least I can now drop obsolete entries but ofc this does not prevent the phone from creating any further, a final solution would be much appreciated.

edit flag offensive delete publish link more

Comments

This works, thank you! Will put it to cron as a workaround.

erikderzweite ( 2017-11-16 11:23:10 +0300 )edit

coco thank's, it also works for me :-)

druk13 ( 2017-11-23 16:50:04 +0300 )edit

Worked ok, had to resync with caldav-server to get all dates back, thank you very much! I would also appreciate a final solution!! (https://together.jolla.com/question/158893/caldavcarddav-testing-volunteers-requested/)

jpw ( 2018-01-11 19:05:46 +0300 )edit
Login/Signup to Answer

Question tools

Follow
10 followers

Stats

Asked: 2017-06-15 11:25:02 +0300

Seen: 554 times

Last updated: Nov 16 '17