contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Exclude address books from syncing

Open xXFreeFunXx opened this issue 1 year ago • 2 comments

Describe the bug

Address books cannot be excluded from synchronisation. Two address books have been created automatically in the settings, which are synchronised despite being hidden.

These are mine:

  1. accounts (system address book: NXT Accounts)
  2. last contacted

We use these, among other things, to synchronise the contacts on our smartphone. Unfortunately, this results in a behaviour of contacts that cannot be edited, deleted or removed. It also results in duplicate contacts that cannot be deleted or merged.

Two Behaviour:

  1. two contacts: 1st system contact from NXT 2st smartphone contact (the right one)
  2. several different contacts that originate from one contact.
  • All additional contacts cannot be deleted, edited or removed. I was able to migrate one of 4 contacts. There are currently 3 contacts left, one of which is the smartphone contact and the other two are synchronised by NXT. However, only two contacts are displayed in NXT under Contacts. NXT and smartphone contact. The third contact is not on the smartphone or otherwise, if synchronisation is deactivated, no more contacts are displayed.

Steps to reproduce

  1. go to Contact settings.
  2. click on Address books.
  3. hide address books.
  4. deactivate synchronisation on the smartphone
  5. activate syncing again.
  6. see error: Address books still exist.

Expected behavior

That the address books do not appear when syncing.

Actual behavior

I have already described this.

Contact version

5.5.3

Operating system

No response

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

xXFreeFunXx avatar Aug 21 '24 12:08 xXFreeFunXx

I would appreciate this feature very much. If you are hosting a managed nextcloud you aren't able to disable account addressbook via OCC Command or to deactivate the contacts interaction app. So excluding system addressbooks from sync would bei really great.

MicKress avatar Aug 22 '24 21:08 MicKress

You can disable the system address book by setting a config via occ: occ config:app:set dav system_addressbook_exposed --value="no"

st3iny avatar May 16 '25 13:05 st3iny