Synology DSM

DAVdroid has been successfully tested with Synology DSM.

Synology DiskStation Manager (DSM) is a Linux based software package that is the operating system for Synology's DiskStation and RackStation products. A CalDAV server is available in the base system. CardDAV can be installed as an extra package. It's also possible to run other CalDAV/CardDAV software like Baïkal and ownCloud on Synology systems. In this case, see the respective configuration pages for details.

DAVdroid settings for Calendar

The Calendar package provides a calendar with Web and CalDAV interface.

You can view the CalDAV URL in the Calendar Web interface (Calendar > CalDAV Account). Use the macOS / iOS URL.

So, the CalDAV Base URL could look like this:
http://diskstation.lan:5000/caldav/YOUR_USERNAME

Note: In previous Synology DSM versions, CalDAV was served using the WebDAV server package (default ports 5005/5006). This method is now obsolete. Make sure that you don't have enabled CalDAV in the WebDAV server package when you use the new Calendar package. If you don't need WebDAV for file access, you can completely uninstall the WebDAV server package.

The Calendar package seems to provide a CardDAV service, too. This is why "CardDAV" appears in DAVdroid accounts created for Synology Calendar. You can even create an address book using DAVdroid. However, this feature is not officially supported and there's no user interface in the Calendar package. So, use the CardDAV server package instead (see below).

DAVdroid settings for CardDAV Server

The CardDAV Server package provides a CardDAV server with address book backend in the Web interface.

CardDAV Base URL:http(s)://example.com:port/addressbooks/users/YOUR_USERNAME
(for example: https://diskstation.example.com:8443/addressbooks/users/sample if your user name is sample)

For older versions of CardDAV server, you need to append addressbook like that:
http(s)://example.com:port/addressbooks/users/YOUR_USERNAME/addressbook

User name and password: same as for Synology DSM

Contact group method: groups are separate VCards

Do not import .vcf files generated by Android directly into the Synology CardDAV server! It may break synchronization, because Android sometimes exports invalid vCard files.

If you're still using the WebDAV package …

If you're still using the WebDAV package (instead of the Calendar package) for CalDAV (which is not recommended):

  1. Open Synology DSM: Control Panel / WebDAV.
  2. Enable WebDAV or WebDAV HTTPS and remember the port.
  3. Enable CalDAV in the WebDAV server package.
  4. Go to "View calendar list" and add a calendar. Make sure that you have read/write permissions on the destination folder.
  5. In the calendar list, each calendar has a location (e.g. MyFolder/Work). This location is required to add the calendar with DAVdroid.

Now you can add an account in DAVdroid:

CalDAV URL:http(s)://server.example:port/MyFolder

If you're accessing a newly created calendar/task list, Synology returns 404 Not Found when this collection is queried by DAVdroid. To work around this, add an event and a task to the calendar (e.g. with DAVdroid). Then synchronize and the 404 error should be gone. If possible, use the new Calendar package on your Synology device to avoid this problem.

Last updated: 03 Mar 2018