Apple contacts in macosx el capitan not synching properly

When I set up an account in apple contacts, I can connect it to my nextcloud, but I get only about 6 entries of hundrets of them. This used to be working with later versions of owncloud. I searched the forum and the web, but couldn’t find a solution. The .htaccess file is including:

RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^.well-known/host-meta.json /public.php?service=host-meta-json [QSA,L]
RewriteRule ^.well-known/carddav /remote.php/dav/ [R=301,L]
RewriteRule ^.well-known/caldav /remote.php/dav/ [R=301,L]

That doesn’t solve the problem. I also tried to change the path in contacts account to https://example.com/remote.php/dav, https://example.com and example.com/nextcloud/remote.php/dav/principals/username. Nothing works.

Any ideas, how to solve this?

Somehow all my contacts on nextcloud got deleted. I tried to sync around 100 again in apple contacts. Now they show up in nextcloud. But strangely they are now marked as shared contacts of a collaborator.