Documentation

Help for MailMigrata and the whole suite

Connect a generic CalDAV server to CalendarMigrata

Generic CalDAV fits any host that the provider directory does not list, such as Radicale, DAViCal, Baïkal, a university Cyrus server, or a random NAS. You paste the DAV base URL or the calendar-home URL into the connection form, because the form accepts either address form. CalendarMigrata follows the .well-known/caldav discovery path whenever you give it only a host name, so you rarely need the full path. A pasted HTML login page proves that you reached the vendor web UI instead of the DAV endpoint, so check the address again. Private IP addresses require the allow flag, and Generic CalDAV and SSRF explains why the engine blocks them by default.

What You’ll Learn

  • This page explains which URL you paste into the connection form, and why the choice matters.
  • Discovery through the .well-known/caldav path finds your calendar collections automatically, which saves you from guessing paths.
  • You will learn when to skip discovery and pin a collection URL directly, because a known path is faster.
  • Private IP addresses need an explicit allow, and this page says why the engine enforces that rule.
  • CardDAV address books appear elsewhere in the documentation, because they belong to an entirely different product.



What you need

CalendarMigrata needs an HTTPS CalDAV base URL, a username with a password or token, and a route from its engines. Authentication is CalDAV basic auth or a token, so provide credentials that the server already accepts. The endpoint that this product talks to is Your server (RFC 4791), so confirm that address before you continue.



Connect in CalendarMigrata

  1. Open CalendarMigrata in your browser and choose the CalDAV option from the connector list.
  2. Paste the DAV URL rather than the PHP web calendar, because only the DAV endpoint accepts PROPFIND requests.
  3. The connection check sends a PROPFIND request instead of fetching a login form, so a web page fails the test.
  4. If you already know the collection URL, paste that URL and skip discovery entirely to save a round trip.

When the connection succeeds, you should see the same calendars that the provider’s own calendar app shows. An empty list usually means the wrong identity or the wrong URL, because a real account rarely starts empty.



Which calendars should you pick?

Choose each VEVENT collection that holds the events you want to move, because one collection is one calendar. Address books speak CardDAV, so they belong to ContactMigrata instead of this calendar migration job. Leave holiday overlays and subscribed calendars off unless you know that the destination can store them. Map work to work, and map personal data to a clearly named personal calendar so the split stays obvious.



What copies, and what stays behind

CalendarMigrata copies events, repeating series with their exceptions, and the timezones that anchor them, so recurring meetings keep their shape. Small attachments under about 512 KB come along with the event data as part of the same move. Mail, contacts, and files belong on MailMigrata, ContactMigrata, and FileMigrata, so this job ignores them.

Read How RRULE series and exceptions survive a move if you want the full technical path through the code. The guide on VTIMEZONE and why 9am stays 9am explains how local times survive the move.

CardDAV and CalDAV commonly share one host, but this job migrates calendar data only, so address books must wait. Some servers explode RRULE values on PUT, yet CalendarMigrata still sends a series instead of flattening the recurrence. Spot-check exceptions after the run, because that is where aggressive servers diverge from the source data. Prefer a named connector when one exists, such as Connect Nextcloud Calendar, because the URL comes out right. Use the Google connector for Google accounts, because Google’s CalDAV support is only a second-class path.



Common problems

An HTML page returned with status 200, or a repeating 401 loop, means you pasted the web UI instead of the DAV root. Use /dav/ or /caldav/ as the vendor documents, because the DAV root lives under one of those paths.

An SSRF rejection happens when the URL is an RFC1918 address, so the connection never leaves the internal network. Enable Allow private network only on purpose, because the guard blocks internal ranges until an operator opts in.

Prefer Connect Nextcloud Calendar for Nextcloud hosts, because the named connector builds the correct URL.

Google accounts belong on the Google connector, because Google treats CalDAV as a second-class path instead of a first-class one.



Next steps

When the calendars appear in the picker, continue with Run your first calendar migration to move the events. OAuth and app passwords is the auth cheat sheet, so read it before you debug a credential problem. Common calendar migrations lists the usual server pairs, so review that list first before planning a large batch. CalendarMigrata is free and calendar-only, so mail, contacts, and files stay with their own products. If you need mail as well, MailMigrata handles that side of the migration.