Baikal CardDAV
Hello,
I am trying to synchronize my jolla with my baikail cardDav on my laptop without success I put my username, the code After I put
ip_pc/baikal/card.php/addressbooks/username/default/
but nothing happens
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Hello,
I am trying to synchronize my jolla with my baikail cardDav on my laptop without success I put my username, the code After I put
ip_pc/baikal/card.php/addressbooks/username/default/
but nothing happens
I don't use Baikal but as a start let's try to analyse what's going on:
Have a look at the log and try to pinpoint the errors. Instructions for this can be found in several posts. It can be achieved like this:
systemctl --user stop msyncd
killall msyncd
MSYNCD_LOGGING_LEVEL=8 devel-su -p msyncd
devel-su journalctl -af | grep caldav
systemctl --user start msyncd
Report back here and I will try to help.
msyncd refuses to start again after killing it with systemctl and killall (after all, killall reports that there is no process). I'm getting "Failed to register to D-Bus (D-Bus not started or msyncd already running?), aborting start". But "systemctl status dbus" tells me, that dbus is running and "ps aux | grep msyncd" says, that msyncd is not running. Any idea?
sqozz ( 2015-07-08 13:02:02 +0200 )Kill it a bunch of times. You may have to wait a second or two after killing it, in order for the dbus registrations to be dropped by the system. Various triggers can try to restart the service, so you just have to do the systemctl --user stop msyncd
and then killall msyncd
a bunch of times, and then try to start the service manually with the logging env var set.
@cris.adams, I don't get it, I systemctl --user stop msyncd
and then killall msyncd
like crazy, but msyncd wont' start... The killall msyncd
reports that no process was found. :-(
I tried it myself today. Bottom line is: I had to create separate accounts for calDAV and cardDAV to get it working.
calDAV worked fine all the time but cardDAV did not, so I created a separate account for cardDAV with the following URI:
https://server.url/card.php/addressbooks/username/default
Of course this can differ if you have a different version of baikal running or have baikal installed into a directory. Mine is 0.2.7. For 0.4.x it should be:
https://server.url/html/dav.php/addressbooks/username/default
Maybe it also works with different settings, but these worked for me.
@chris.adams : Interested in logs? Main Problem (at least to my untrained eye) seems to be this line from unsuccessful sync:
RequestGenerator::generateRequest:93 - generateRequest(): "" QUrl( "" ) "1" "PROPFIND" "<d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/"><d:prop><d:resourcetype /><d:displayname /><cs:getctag /></d:prop></d:propfind>"
in contrast to
RequestGenerator::generateRequest:93 - generateRequest(): "" QUrl( "https://user@server.url/card.php/addressbooks/user/default" ) "0" "PROPFIND" "<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal /></d:prop></d:propfind>"
I also see some strange behaviour because I migrated my contacts data from one server to another...
Hrm, seems like the addressbookpath isn't being parsed correctly, in the first case (hence the empty URL). There are some recent changes which haven't been released yet (e.g., https://git.merproject.org/mer-core/buteo-sync-plugin-carddav/commit/925d889e661dff18c040250dbcc933569acfb801 and https://git.merproject.org/mer-core/buteo-sync-plugin-carddav/commit/1cacb80a3d0f09b2a673cd62782594c788f79103) which might improve the situation.
chris.adams ( 2016-03-31 09:35:54 +0200 )i also use baikal und it worked for me with following workaraound. i set up for caldav anf carddav 2seperste accounzd in my jolla and parsef the baikal url until ...card.php and on the other account until cal.php. optional path in both cases empty. this works for my calendar and my addressbook. however i have some missing entried in my addressbook but if i make a new contact in the phone it is correctly syncing onto the baikal server. i know try to make the rpm for the buerto sync update but if i fail with that ;) i will wait fot thr next Sailfish update. but generally it works with this settings
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2015-06-30 01:21:49 +0200
Seen: 970 times
Last updated: Jun 10 '16
Can I import my contacts from N9? [answered]
User wants to see certain part of picture as a Lock Screen background [answered]
We want to create our own TOH [answered]
How user can take backups out of device [released]
What is the best maps/navigation application to use on Jolla? [answered]
How to change Ambiences really fast [answered]
Markdown basics [not relevant]
How to remove all contacts in one go? [answered]
+1 because i've the problem since the CardDav-feature exists
sqozz ( 2015-06-30 09:42:58 +0200 )