Ask / Submit

How to configure CardDAV with Kolabnow?

asked 2015-07-27 01:07:57 +0200

shmerl gravatar image

updated 2015-07-27 10:59:58 +0200

jiit gravatar image

I'm trying to configure CardDAV with Kolabnow service (on Nexus 5 / Sailfish). They recommend these settings:

I added an account and it apparently managed to connect to (CardDAV server). But when doing sync nothing appears in Peopel (Contacts). How can this be troubleshooted?

edit retag flag offensive close delete



@shmerl if you have developer-mode enabled, please do:

1) ensure that /etc/systemd/journald.conf has RateLimitBurst=3000 and RateLimitInterval=10s

2) ssh in and stop the sync service and restart it with extra debugging enabled:

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

Leave the terminal running.

3) Open a new ssh terminal, and use it to collect carddav debug logs:

devel-su journalctl -af | grep carddav

4) Trigger a sync (Settings|Accounts, longpress CardDAV account -> Sync)

The logs in the second (journalctl) terminal should contain much information which should help in debugging the issue.

Note that there is a known bug in our plugin which means that some calendar paths containing percent-encoded characters are not handled correctly - this has been fixed in the git repository (see for that fix) but the fix is not in a public release, yet. It should be in the next one, I hope.

Thanks, Chris.

P.S.: what did you use as the server address? You should be able to use just: And you should not need the (optional) addressbook path, since kolabnow supports automatic path discovery.

chris.adams ( 2015-07-27 06:40:57 +0200 )edit

@chris.adams: It fails on principal retrieval:

[D] CardDav::fetchAddressbookUrls:455 - void CardDav::fetchAddressbookUrls(const QString&) requesting addressbook urls for user
[D] RequestGenerator::generateRequest:93 - generateRequest(): ""  QUrl( "https://[user]%40[userdomain]@[carddavserver]/principals/[user]%2540[userdomain]/" )  "0" "PROPFIND" "<d:propfind xmlns:d="DAV:" xmlns:card="urn:ietf:params:xml:ns:carddav"><d:prop><card:addressbook-home-set /></d:prop></d:propfind>"
[W] CardDav::addressbookUrlsResponse:473 - void CardDav::addressbookUrlsResponse() error: 203 ( 404 ) 
[D] {anonymous}::debugDumpData:60 - "  <s:message>Principal with name [user]%40[userdomain] not found</s:message>"

Values edited to [user] and etc.

I'm using the recommended URL by Kolabnow (without full path). Note something strange there. It tries to read [user]%2540[userdomain] in the URL instead of [user]%40[userdomain]. May be that's causing the bug? %25 is % (URL encoded) which seems the same as the problem you describe above.

shmerl ( 2015-07-28 05:28:28 +0200 )edit

Yup, that looks like the percent-encoding bug I mentioned earlier, unfortunately. It should be fixed in the next release.

chris.adams ( 2015-07-28 06:40:51 +0200 )edit

@chris.adams: Is it supposed to work in I'm updating my Nexus 5 to it now. Or by next release you meant already 2.0?

shmerl ( 2015-10-18 23:41:56 +0200 )edit

I just tested with (which is also 2.0?) and the bug is still there.

shmerl ( 2015-10-19 00:23:05 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-01-09 16:45:52 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2016-01-09 16:45:52 +0200

babba22 gravatar image

Jolla with SailfishOS (Saimaa).

I already wrote a comment describing my problem, but finally I did it! I have kolabnow working with cardDav and calDav! Let me sup up:

  1. First time I tried to sync kolabnow filling user, password and server address only, but it gave me error during account creation;
  2. Then I tried to fill also calDav and CardDav optional field following instructions on kolabnow site (, it did create the account successfully but it couldn't find neither addressbooks nor calendars (the reason is a bug in cardDav&calDav plugin, even if it should have been fixed; for more details read the comments above);
  3. In the end I filled the fields in this way:

Username-> user@domain

Password-> ...

Server address->

CardDAV-> /addressbooks/user@domain

CalDAV-> /calendars/user@domain

where I put @ instead of %40. And now it works!

I don't know if @shmerl is still interested or if this will be usefull to anyone, maybe everybody already knew this and I was the only stupid who didn't, anyway I did it =).

I put it as wiki, that's ok?

edit flag offensive delete publish link more


Thanks! That definitely helps and I can see that sync is working now (at least partially). For example when I create a contact in Sailfish, it syncs it to Kolabnow. But when I tried to delete it in Kolabnow Web UI, it still remained on my Nexus 5, even after the sync.

Deleting it from Sailfish syncs that to Kolabnow.

So the only bug seems to be with deleting in Kolabnow and not syncing that to Sailfish.

Another thing that I didn't figure out - how to see groups. Kolabnow allows grouping contacts using named groups, and Sailfish shows them all in one huge list.

Anyway, at least contacts started working altogether!

shmerl ( 2016-01-10 02:55:11 +0200 )edit

Hi! I am glad you solved it too! I've noticed the same behaviour about the contacts not being deleted on the phone me too, but it also happened to me when I was using fruux; I believe that contacts deleted from the web are only marked as 'not synced anymore' or something similar, but they remains in memory of the smartphone. If you like to verify that you could delete kolab cardDav account and see if your deleted contact remains in the addressbook of the nexus, but anyway this is just a minor problem, I think =). About the groups, I have no idea: probably it's a feature not yet implemented in Sailfish contacts app.

babba22 ( 2016-01-10 12:36:10 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2015-07-27 01:07:57 +0200

Seen: 842 times

Last updated: Jan 09 '16