nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
569 stars 173 forks source link

Bad synchronization with MacOS #3528

Open punkyard opened 1 year ago

punkyard commented 1 year ago

Describe the bug

Hi I'm trying to sync NC to my Contact App on MacOS Catalina. I know the subject has been dealt before, but... I have no problem using Sabre and MacOS elsewhere, also CardDAV offered by email servers (as gmail).

SO, WHAT'S WRONG WHEN IT COMES TO NC? 1 Here with NC 26.0.3, names and companies are in conflict. 2 Only one address book is synch.

Steps to reproduce

Create several addressbooks with several contacts with company names.

Copy the link of one addressbook (not the first one /contacts) and paste it in a new account in Contact app on mac : The mac will see no contact or will synch the first addressbook (/contacts)

Copy the link of the first addressbook (/contacts) : the mac won't see names of contacts, just their companies (except for one contact that is correctly synched).

Expected behavior

Correct synching

I'm not expecting several addressbooks to appear on the mac, but at least the correct content of an addressbook of which I have copied and paste the link. Then I could create several accounts on my mac for each addressbook, that wouldn't be a problem, but it doesn't work.

I recon the issue is with NC as it works perfectly between my mac and many other devices and servers.

Actual behavior

Some contact names and companies are wiped out during synching, from the mac and NC - the contact page is just empty, with an exclamation mark instead of the picture.

Contact version

5,3,2

Operating system

debian 11 / AiO 6.2.1 / NC 26.0.3

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

punkyard commented 1 year ago

Hi update with AiO and NC 27.0.0 - brand new machine, clean install Monterey

using documentation:

  1. create CardDAV account
  2. use Manual settings: Server: my.subdomain.com User: myusername Passw: mypasswd
  3. connect: no error
  4. open Contacts: no contacts

After changing settings in Contacts preferences:

  1. in NC copy /addressbook URL or use iOS URL
  2. add the URL to new CardDAV account in MacOS
  3. use Manual settings: Server: my.subdomain.com User: myusername Passw: mypasswd URL: https://my.subdomain.com/remote.php/dav/addressbooks/users/username/migrated-contacts/ or /contacts/ or URL: https://my.subdomain.com/remote.php/dav/principals/users/myusername port: 443 + SSL
  4. Connect: no error: but no contacts