Connect Nextcloud Calendar (CalDAV) to CalendarMigrata
This article explains how to connect Nextcloud Calendar to CalendarMigrata. Nextcloud Calendar uses CalDAV at https://<host>/remote.php/dav/calendars/<user>/. The Files app URL and the Calendar web app URL return a 401 error or an HTML page.
Limitations
localhostaddresses do not work. The CalendarMigrata engines must reach the host over HTTPS.- Self-signed TLS certificates fail the connection check. Put a valid certificate in front of the host.
- Private IP addresses are blocked by the SSRF guard unless you enable Allow private network.
- Deck and Talk are not calendars and are not migrated.
- Only events (VEVENTs) are copied, even when Calendar and Files share a host. Files need a separate FileMigrata WebDAV job.
- Mail and contacts are not migrated. Use MailMigrata and ContactMigrata (Connect Nextcloud Contacts (CardDAV) to ContactMigrata).
- IceWarp on the same server uses a different DAV path. See Connect IceWarp calendars.
What is migrated
- Events
- Recurring series and their exceptions
- Time zones
- Attachments up to about 512 KB
Prerequisites
- A Nextcloud app password. The account password fails when MFA is enabled.
- The DAV base URL. Do not use
/apps/calendar. - A publicly reachable hostname, or a private network you have allowed and made reachable.
Steps
- In Nextcloud, go to Personal settings > Security > Devices & sessions and create a new app password.
- In CalendarMigrata, select Nextcloud / CalDAV.
- Enter the DAV base URL, for example
https://cloud.example.com/remote.php/dav/calendars/alice/. - Enter the app password and connect.
- Confirm the list shows the calendars the account owns, such as personal and work. Group calendars appear if the user can see them.
Choosing calendars
- Each Nextcloud calendar collection maps to one destination calendar.
- Leave holiday and subscribed calendars unselected unless the destination can store them.
- Map work calendars to work calendars, and personal calendars to a clearly named personal calendar.
Troubleshooting
- 401 Unauthorized: You used the login password with MFA. Use an app password.
- SSRF / private IP refused: The host has an RFC 1918 address. Enable Allow private network only if you intend it and the engine can reach the host.
- Timeout: The host cannot be reached from the engine. Use a VPN or a reverse proxy with a public hostname.