Connect Nextcloud Calendar (CalDAV) to CalendarMigrata
Nextcloud Calendar is plain CalDAV under https://host/remote.php/dav/calendars/<user>/, so CalendarMigrata connects to that DAV base. The Files app URL and the Calendar UI will 401 or return HTML, because neither address is a CalDAV endpoint that this connector can read. Accounts with MFA need a Nextcloud app password, since the login password and the second factor cannot both be replayed by the job. If the server sits on a private IP, the job needs Allow private network, because otherwise the SSRF guard refuses it.
What You’ll Learn
- The exact DAV path that Nextcloud expects is listed below, so the connection uses the calendar root rather than a browser page.
- You learn how to create a Nextcloud app password, which lets the job sign in on an account that enforces MFA.
- You also see when to allow a private network, because a reachable public hostname avoids that switch entirely.
- The page explains why localhost and self-signed TLS fail, so a refused test tells you which of the two to fix.
What you need
- You collect a Nextcloud app password first, because the account password fails on any user who has MFA enabled.
- The DAV base URL is the second item, and it is not
/apps/calendar, since the calendar UI address is not a CalDAV endpoint. - Finally you need a reachable public hostname or an allowed private network, so the engine can open the HTTPS connection.
Authentication is CalDAV plus a Nextcloud app password, so the job never uses your normal login details. The endpoint we talk to is https://<host>/remote.php/dav/calendars/<user>/, which is the calendar root for one user.
Connect in CalendarMigrata
- In Nextcloud, you open Personal settings → Security → Devices & sessions → New app password, which means the account issues a credential for this job alone.
- In CalendarMigrata choose Nextcloud / CalDAV, then paste
https://cloud.example.com/remote.php/dav/calendars/alice/as the DAV base. - You should see the collections the account owns, such as personal and work, and group calendars appear if the user can see them.
When the connection succeeds, the list should match the calendars in the provider’s own calendar app, because both read the same DAV tree. An empty list usually means the wrong identity or the wrong URL, so it is not a mysterious empty account.
Which calendars should you pick?
Each Nextcloud calendar collection is a candidate, because one collection maps to a single calendar on the destination side. Deck and Talk are not calendars, so neither product’s data enters the copy no matter which collections you pick. You leave holiday overlays and subscribed calendars off unless you know the destination can store them, because a read-only overlay rarely survives a move. You map work to work and personal to a clearly named personal calendar, which means the destination stays predictable for everyone who uses it.
What copies, and what stays behind
CalendarMigrata copies events, repeating series with exceptions, and timezones, so a recurring meeting keeps its shape after the move. Small attachments under about 512 KB come along with the event, because that size fits inside the payload the service copies. Mail, contacts, and files belong on MailMigrata, ContactMigrata, and FileMigrata, which means each product carries its own data type.
You read How RRULE series and exceptions survive a move and VTIMEZONE and why 9am stays 9am if you want the technical path. Those two guides explain how the recurrence rules and the timezone data are rebuilt, so a 9am meeting stays at 9am in the new account.
Self-signed TLS fails the connection check, so you put a real certificate in front of the host before the job runs. When Calendar and Files share the same host, this job still only copies VEVENTs, because the connector reads calendar collections alone. Files belong to FileMigrata over WebDAV, so you run a separate job for that data. The CalendarMigrata engines must reach that HTTPS host over the network, which means localhost never works for this connection.
Common problems
A 401 Unauthorized reply means you used the login password with MFA, so the account needs an app password instead.
An SSRF / private IP refusal means the guard saw an RFC1918 address, which is the range that the default policy blocks. You enable Allow private network only if you intend it and the engine can actually route there, because the switch is a deliberate exception.
A Timeout means this host is unreachable from the engine, so you use a VPN or a reverse proxy that carries a public hostname.
Files from Nextcloud are FileMigrata WebDAV work, so you run that copy as a separate job.
IceWarp on the same box uses a different DAV path, so you follow Connect IceWarp calendars for that server.
Next steps
When the calendars appear, you continue with Run your first calendar migration, because that page takes you through the first full job. OAuth and app passwords is the auth cheat sheet, so you check the login details there before a second run. Common calendar migrations lists the usual pairs, which means you can plan the next source from a known set. CalendarMigrata is free and calendar-only, so the mail side stays with MailMigrata and never enters this copy.