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

CalDAV account not appearing in calendar app

asked 2017-04-12 21:39:16 +0300

fledermaus gravatar image

updated 2017-07-19 09:33:52 +0300

jovirkku gravatar image

Note: This used to work in the release before lijoki: It stopped working a couple of weeks before lijoki landed. It still doesn't work in lijoki. The caldav server was updated at _roughly_ the time the bug showed up but that doesn't 100% line up with the problem's timeline.

Setup, from accounts UI:

Caldav account: 
Server: https://sogo.example.com
Cardav path: not set
Caldav path: /SOGo/dav/usernamehere/Calendar (for all calendars)
                    /SOGo/dav/usernamehere/Calendar/personal (for a single calendar)

Account successfully logged in, expected set of calendars is displayed.

Calendar app:

Calendar starts up. No events from caldav source above listed.
Manual syncing: still no events.
Wait for syncperiod x2 to pass: no events.
Go to "Manage Calendars" 
  caldav source above is not listed
  after a few seconds the caldav source apears, and is selected (radio widget is "bright")
  one or two seconds later the caldav source disappears from the list again.

Caldav account continues to appear valid in accounts UI.

There appear to be no entries from that caldav source in the sqlite cache (I think, I should double check this).

edit retag flag offensive close delete

Comments

I have the exact same symptoms on my Uni's ownCloud server. When I delete everything from the calender (by removing it, and readding it), it works for a while. My personal nextCloud server works perfectly.

I currently have another problem though, so I cannot test it.

Ruben De Smet ( 2017-04-12 22:04:18 +0300 )edit

try to set the caldav path as the server-url, uncheck carddav, leave caldav path empty. this works for my posteo-account under 2.0.5.6/fairphone2, another constellation does not work. (i had to set up 2 accounts on sailfish, one for caldav, the other for carddav. both in one sailfish account did not work for me.)

Ole ( 2017-04-13 21:19:38 +0300 )edit

Tried it - made no difference, but I wouldn't have expected it to.

As I said, this setup used to work, and accounts UI can see all my calendars: It's the calendar app that rejects the caldav source for some reason.

fledermaus ( 2017-04-13 21:49:09 +0300 )edit

I remember someone telling me to kill a certain daemon, and running the same daemon in debug mode over SSH. I remember that the daemon soft-crashed on a certain field or character that was present in a certain calendar entry, and therefore neglected the whole calendar. I even remember that it displayed exactly what field/char it was, but I do not remember how to start that daemon (which one, for the most) myself.

Ruben De Smet ( 2017-04-15 15:43:47 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2017-04-14 11:52:41 +0300

TheSeer gravatar image

updated 2017-04-14 11:54:04 +0300

I'm not sure this qualifies as an answer, but for me the caldav account loads after a long delay with no visual feedback or other information explaining the delay.

If the calendar app is opened, everything is empty. After a while (~20+ seconds), the entries for the currently selected day show up. Funny enough, all days with entries are marked correctly but selecting a different day, does not update the list of entries shown for it. Waiting for another while - totaling waiting time to about a minute -, this suddenly changes as well and I can select any day within the current month and get the events shown as expected.

When I swipe to a different month, all days with events are marked but again the event list shown when a day is selected doesn't update. And again, this fixes itself after a while of waiting.

So, technically, the caldav is working - it's just unbelievably slow and because of that almost useless.

edit flag offensive delete publish link more

Comments

Would qualify as an answer to me, but I do not believe this solves the question. I have the same problem, and even after leaving Jolla connected to the internet for the whole day, nothing shows up.

Ruben De Smet ( 2017-04-15 15:41:53 +0300 )edit

Do entries show up in the notification area? For me, only the display within the calendar app is empty. I actively have to start the calendar app and wait as described above for the entries to eventually show up in the app. The fact whether the phone is connected to the internet or not does not change that in any way.

TheSeer ( 2017-04-15 16:23:14 +0300 )edit

No, no notifications, nothing. I nearly missed some meetings at work as a result, since before this bug showed up I'd have got alerts/notifications, but now the whole calendar source is just ignored.

fledermaus ( 2017-04-18 21:08:10 +0300 )edit

I tried copying the ical blob to my phone - the calendar application does open when I open the file from the file browser - and it even offers to import the event, and claims the event was imported... but nothing appears in my calendar. Sad Panda 🐼. I guess I'll try pumping the events into the sqlite db directly next.

fledermaus ( 2017-04-24 20:04:13 +0300 )edit
0

answered 2018-02-06 21:26:17 +0300

fledermaus gravatar image

This seems to work properly again in Kymijoki.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2017-04-12 21:39:16 +0300

Seen: 531 times

Last updated: Feb 06 '18