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

CalDAV/CardDAV Sync Problem with Nextcloud on XA2

asked 2019-01-25 13:05:02 +0300

tomas3000 gravatar image

updated 2019-01-25 14:30:01 +0300

jiit gravatar image

Sailfish 3.0.11.

I wanted to synchronise my XA2 with NextCloud. Unfortunately this is not really smooth / not working at all:

Contacts: They are not synchronising at all (or maybe only the first time while establishing the new sync account on XA2

Calendar: This is syncing without problems (so I know that syncing in general is working). BUT: When I establish a new calendar on Nextcloud or change the name of an exisiting one, it does not update on the XA2. The only way to get the new calendars or the one with changed names is to delete the sync account and establish a new one.

Do other user have the same problems? Or do I have a wrong setting maybe?

On a parallel used Lineage (Android) phone it works with DAVx5 smooth and without any problems...

Used address for sync with Nextcloud: https://myhomepage.de/remote.php/dav/principals/users/MYNAME/

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted

answered 2019-01-25 13:23:09 +0300

Cryx gravatar image

You just need the path up to "dav/". My Nextcoud account works with that, but be sure to use the full path including dav as address. It doesn't work if you put the "remote...dav" part into the path fields for caldav and carddav, so just keep them empty.

Adding a new Calendar is a problem, I had this too. Renaming a calendar or change the colour may have the same reasons, but I didn't try that so far.

edit flag offensive delete publish link more


Thank you, I will try on Monday ;-) Is there a way to add the part with the new calendar adding to a bug list for possible future improvement of Sailfish OS?

tomas3000 ( 2019-01-25 20:11:44 +0300 )edit

A path like this? https://example.com/remote.php/dav/ (I have no special entries in the fields for caldav and carddav)

Problem is, that I do not get an error message or anything else when I manually synchronise in the accounts app on my Jolla. But with some tests I found out:

When I change a contact in nextcloud, it updates also in e.g. Thunderbird. But when I synchronize with Sailfish, the older (and untouched) contact of my jolla phone overwrites the contact in nextcloud. It seems like there is only a sync in one direction (Phone -> Nextcloud) and not the other way round... (i have two-way sync on jolla on). Or the phone has dominant entries (no matter how old or new they are)?

tomas3000 ( 2019-01-28 10:00:57 +0300 )edit

answered 2019-04-03 18:19:21 +0300

Maus gravatar image

There are a couple of bugs in the CalDAV sync backend which break syncing events and contacts with specific settings. This is especially true if you configured (long) sync intervals. This is being worked on at the moment but needs some time to find a concept for a proper fix. In the meantime, it may help to manually sync immediately after modifying a contact/event or to only modify data on the remote end.

edit flag offensive delete publish link more


Thank you Maus. Nice to know, that you work in it!

tomas3000 ( 2019-04-04 08:59:09 +0300 )edit

I just assist in finding those bugs, I don't actually work on it myself!

Maus ( 2019-04-04 11:51:05 +0300 )edit

I am testing a software update that fixes a specific bug in the CalDAV backend I experienced. It improves the stability of syncing of events. It looks promising and will likely be included in a future OS version.

Unfortunately I also seem to have found (and reported) another bug in the CardDAV backend.

Maus ( 2019-04-09 23:21:19 +0300 )edit

The fix I mentioned above is not part of, we'll have to wait a bit longer.

Maus ( 2019-04-25 10:00:53 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2019-01-25 13:05:02 +0300

Seen: 952 times

Last updated: Apr 03 '19