Can't sync Mac OS X Contacts to NextCloud 15

Hi there,

I have a new Nextcloud 15 installed on a shared hosting, and I intend to sync contacts and calendars with Mac OS X 10.11.6 (El Capitan) (mainly) and 10.6.8 (Snow Leopard) (optional). On the same server is Nextcloud 12 installation I will probably keep for the foreseeable future as it has proper Dropbox support. Both installations use the same self-signed certificate (automatically generated by the hosting company thourgh Let’s Encrypt).

Calendar:
At first, I read the documentation and generated an app-specific password. It never sync’ed to Mac OS X 10.11.6. So I used the good old way and used my regular password, the one used to log my username in Nextcloud directly. Initially, it was able to read the calendar data from the server, but whatever I entered in Mac OS X’s calendar wasn’t uploaded. Solved after a reboot. So I assume the documentation is incorrect.

On Mac OS X 10.6.8, it worked at the first try.

Contacts:
I still have a working Nextcloud 12 installation on the same server. Both calendar and contacts where successfully synced to 10.11.6.
However, whenever I try to sync OS X’s contacts with NC 15 contacts, I always get an error “Can’t verify username” from OS X’s Contacts. No matter if I try my username’s password or an app-specific password.

As a matter of comparison, entering the same settings in iOS 10.3 also gives an error, but at least provides an option to keep the settings anyway. Soon after, contacts from NC 15 appear properly in iOS.

But there’s no such option in Mac OS X: if username / password pair can’t be validated, then it won’t store the settings.

At the moment, only Contacts from NC12 sync reliably between Mac OS X 10.11.6 and iOS.

How can I sync NC15 contacts to 10.11.6?
Sure I can keep the contacts on NC12 and do everything else on NC15, but it isn’t very practical.

Hello,

I have the same problem.
I’ve just installed NextCloud 15.0.5 on a shared hosting server.

No way to sync with the application Contacts on Mac (Mojave 10.14.3).
I have tried BusyContacts (an alternative application) and it is working both ways.

It was the same with OwnCloud, it has been broken without upgrading OC, with High Sierra, this is the reason I am testing NextCloud, but same result.

It seems to be Apple Contacts which is not doing things properly.

To get the check validated when adding the account on my Mac, I have set directly the whole path on the “server address” (not separated the address then the path)

https://HOMESERVER/remote.php/dav/principals/users/Login/

It is working with iOS perfectly.

Ah… miracle !
Eventually, I’ve seen the contacts from NextCloud in the AppContacts.
How ?

It is quite strange.

I have tried several time to add/remove/add the account.

As I had my previous OwnCloud CardDAV account (hosted on another local server, but switched off), I had it deactivated on Contacts.

I re-activated it (letting the server down, so no way to make the sync with OwnCloud), and… It works on the NextCloud account.

I have imported all the vcards on this account, and all is Ok now.

To resume : Try this workaround : create a false CardDAV account to have a second one, and… cross fingers.

:confused:

1 Like

Doesn’t seem very clear to me.

Have you seen the NextCloud contacts appear in Contacts on Mojave? Or iOS?

Have you imported existing contacts on the NextCloud server, or inside the reactivated OwnCloud account, or inside Contacts on Mojave?

Even if I create a second account in Nextcloud, how will Contacts on Mojave (or El Capitan) validate username/password?

Please clarify…