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

Fruux synced calendar multiplying in Jolla calendar

asked 2015-08-27 21:38:36 +0300

Pheet gravatar image

updated 2015-08-27 21:41:07 +0300

I'm getting weird behavior with calendar app and Fruux: Now, every time a calendar is synced with Fruux, it will create a duplicate in the Jolla app, thus the calendar setting is being populated with a Fruux calendars after every sync. I've tried to remove fruux account and set it up again, but the problem still appears. The duplicates are empty, and no new event is synced with Fruux (with the one and only seen on my Fruux calendar page) no matter what calendar is selected when the event is created on Jolla.

As far as I know, I didn't alter anything important before this started happening, just installing and uninstalling few Android apps (uninstalled Wunderlist, Todoist; installed TickTick and TimeMeter...no of which shouldn't affect Jolla's calendar afaik).

Screenshot-27-08-15-20-54-02.png

Some insight would be much appreciated.

Also did a request on Fruux's zendesk (Request #13410)

edit retag flag offensive close delete

Comments

Thanks for the report. Almost certainly this is a bug in the Sailfish OS CalDAV sync plugin, and not a bug in Fruux. I have given instructions in a comment below describing how to get extra debug logs out of the sync process, which may help me to investigate this issue.

chris.adams ( 2015-08-28 07:45:12 +0300 )edit

Well, this bug is still present today, 2.1.0.11 . Any news?

Aslanex ( 2017-06-06 20:01:01 +0300 )edit

2 Answers

Sort by » oldest newest most voted
2

answered 2015-08-27 21:54:16 +0300

raketti gravatar image

There's a bug in the sync plugin, it's known and should be released in 1.2.0 (so according to Jolla - in a few weeks). See a similar post about Google calendars multiplying. I think your issue is caused by the same plugin bug. So for now there's nothing much to do, but to wait for an update.

edit flag offensive delete publish link more

Comments

"in a few weeks"? Has 1.1.9 been cancelled?

ossi1967 ( 2015-08-27 22:06:42 +0300 )edit

No, that's why I said according to Jolla. ;) I've been waiting for the 1.1.7. to be stable, but it seems this one is a bit tricky. But considering that it's taken so long to get this update out and they announced that 1.1.8 is skipped/merged, I'm guessing (hoping) 1.1.9 will be available sooner rather than laiter.

raketti ( 2015-08-27 22:09:44 +0300 )edit

I was irritated only because while I expect 1.1.9 a short time after 1.1.7 stable (if that ever happens :) ...), I cannot recall Jolla stating something about 1.2 being only a few weeks away. (OTOH, if we asked them, I'm sure they'd say "soon" ;) ...)

ossi1967 ( 2015-08-27 22:23:41 +0300 )edit

I might have mixed it with 1.1.9, since that's the one to complete the transition UI-wise to 2.0. (1.2.0 includes the under the hood stuff more if I've understood it correctly). But (huge but) if they are true to their word, the (at least) 1.1.9 should be released in line with the tablet shipping. That's what they said in the first place, 2.0 will be released with the tablets, so... let's wait ...some more...

raketti ( 2015-08-27 22:31:06 +0300 )edit
1

The CalDAV plugin in separate to the Google Calendars sync plugin. I haven't seen this issue with CalDAV plugins in 1.1.7 or later, in our internal tests.

Can you please do the following:

1) ensure that /etc/journald.conf has RateLimitBurst=5000 and RateLimitInterval=10s, then reboot device

2) ssh into device and restart sync daemon with more logging enabled:

 systemctl --user stop msyncd
 killall msyncd
 MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd

Leave that terminal running.

3) Collect logs by sshing into the device again with a different terminal, and doing:

 devel-su journalctl -af | grep caldav

and leave that terminal running.

4) Trigger sync with caldav (via Settings/Accounts->Longpress CalDAV -> Sync

Send the logs from the journalctl terminal to chris dot adams at jolla dot com (after redacting any personal information as necessary) and I will investigate.

Thanks!

chris.adams ( 2015-08-28 05:49:45 +0300 )edit
2

answered 2015-10-22 00:02:57 +0300

mattikbk gravatar image

I managed to remove the extra calendars by using the answer from https://together.jolla.com/question/59173/delete-all-entries-from-a-calendar/ :

devel-su
sqlite3 /home/nemo/.local/share/system/privileged/Calendar/mkcal/db
SELECT * FROM Calendars;
DELETE FROM Components WHERE Notebook='<insert calendar id from the previous listing>';
DELETE FROM Calendars WHERE CalendarID='<insert calendar id from the previous listing>';
edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-08-27 21:38:36 +0300

Seen: 435 times

Last updated: Oct 22 '15