Connect Nextcloud Contacts (CardDAV) to ContactMigrata
Nextcloud Contacts is CardDAV, and Nextcloud exposes that data at the address-book base https://host/remote.php/dav/addressbooks/users/<user>/ for each user account. The Contacts app interface and the Files app are the wrong endpoints, because neither one exposes an address-book collection that ContactMigrata can read. An account with MFA enabled needs a Nextcloud app password, and a private IP address needs Allow private network or SSRF protection refuses the job. Our engines must reach that HTTPS host, so a hostname that only resolves inside your LAN will fail.
What You’ll Learn
- This page shows the real DAV path next to the /apps/contacts route, because that route is a web interface and not a data source.
- You will create a Nextcloud app password, so that an account with MFA enabled can still authenticate to the DAV endpoint.
- This page explains when to allow a private network, because SSRF protection blocks a job against an RFC1918 address by default.
- You will see why Circles and Talk are not address books, so you do not paste their URLs into ContactMigrata.
What you need
You must have an app password from Nextcloud for this job, because an account with MFA enabled cannot authenticate over DAV with its login password. The DAV address-book base, not the /apps/contacts route, is the URL that ContactMigrata needs, because the Contacts interface is a web page. Our engines also need a hostname they can reach, and a private address needs an allowed private network that you arranged on purpose.
Connect in ContactMigrata
- In Nextcloud, you open Security and create a new app password, because MFA blocks a plain account password from working over DAV.
- In ContactMigrata, you choose Nextcloud / CardDAV as the provider and paste the addressbooks URL for your user account.
- You confirm that books such as Personal or Work appear, and you ignore Circles and Talk, because those two are not address books.
Which address books to pick
You pick each Nextcloud address-book collection that belongs in the job, so that every contact you care about sits inside the scope you chose. Nextcloud marks a group card with KIND:group, and that vCard acts as a group only when your server implements the kind. A collection you leave out stays behind, so you must name each book you need before you start the copy.
What ContactMigrata copies here
ContactMigrata copies people, and a person record carries names, emails, phones, postal addresses, organisation, job title, notes, websites, and birthday when the other side has a place for that value. Groups are lists you named such as Vendors or Family, and a group copies when the destination can store an equivalent of it. Photos under about 512 KB copy with the person, but ContactMigrata skips a larger picture and the rest of that contact still arrives. See contact photos and fields that survive.
ContactMigrata does not copy Gmail, calendars, or files, because MailMigrata, CalendarMigrata, and FileMigrata own those three data types. The company directory (GAL) stays out of scope, because a directory is not one of the address books this job reads. ContactMigrata matches cards by each contact’s hidden id (UID) inside one job, and the duplicates and UIDs note explains why that id matters. The product is not a CRM, because it does not merge two cards that share a display name.
A spreadsheet export is a poor shortcut, because CSV drops groups and photos. That format also mints new ids, so a later job cannot tell that those cards are the same people. The Why not just export CSV? page explains that trade-off in full, so you should read it before you plan an export.
Things that go wrong on this host
Self-signed TLS will fail unless the certificate chain is trusted, so you must install a trusted chain before ContactMigrata can connect. Files and Contacts on the same host are different jobs, because this job carries vCards only and it never reads file data. A 401 with login plus MFA means you need the app password, which you create in Security before you reconnect the store.
An SSRF error means our engine addressed a private RFC1918 address without the allow flag, so you must enable Allow private network for that host. A timeout points to an unreachable NAS, so a reverse proxy or a VPN must sit in front of it before you retry. Nextcloud files are FileMigrata WebDAV and calendars are CalendarMigrata, so those two data types belong to different jobs.
The CardDAV discovery and SSRF guide covers the discovery rules and the allow flag in detail. You should read that guide before you open a support ticket.