I want to sync my phone (Android 5.0.1) with DAVdroid to an Synology NAS (DSM 6.1.4).
This was already successful with Synology CalDAV but with the CardDAV-Server from Synology it is not possible to sync from phone to the server. From Server to phone it works well.
All firewall optios are checked, also PC (Tunderbird, cal & cards) sync with Synology is working without problems.
As I need two different URLs for the DAVdroid Accounts I need also two different accounts. So it is for me not possible to use the mail account as recommended.
I assume that is not a problem?
At first initialising the adresssbook DAVdroid presents two different addressbooks:
One with the user id as entered for Synology and one other addressbook with /uids/ and a cryptic id. One is automatically named as “<myname> sw” the other as “<myname> sQ”. What does that mean? Both can be synced and appear in the contacts list. Both have the same problem that an upward sync (from phone to server) does not work.
The error report is as follows:
<?xml version='1.0' encoding='UTF-8'?>
<error-description xmlns='http://twistedmatrix.com/xml_namespace/dav/'>Cannot change the UID in an existing resource.</error-description>↵
Can somebody help me ? What is going wrong?
Here is the complete errorinfo
ok, first, be advised that baikal now doesn’t make use of the ‘flat’ package distinction anymore, just get the single latest release (0.3.5) from github.
Please not that you are discarding the baikal instructions if you don’t use the well-known urls.
However, with the latest package, you just point to the baikal/html/dav.php/ and you’re fine (it will autodiscover calendars and addressbooks).
For a previous release (tested 0.2.7), you use card.php or cal.php .
What is weird in your logs is the HTTP exception 405.
Baikal comes with a TROUBLESHOOTING.md have you tested the output of (alternative is --digest for digest, replace your usernames and password )
curl -so - --digest --user testuser:testuser http://server/baikal-flat/cal.php/principals/testuser? It should give you an XML document containing GET is only implemented on File objects.