OwnCloud 10.0.9 Mac OS X 10.13.6 (High Sierra), Problem sync Contacts (CardDav)v


#1

Steps to reproduce

  1. Add CardDav account in Mac OS X Contact Application.
  2. First contacts sync is partly successful - not all contact are synchronisieren.
  3. All new create Contacts within the Mac OSX contact application are not synchronised back to the owncloud.
    iOS address book app working well - all changed/new contacts are synched to the owncloud and are see via Webbrowser and on other iOS devices.

Expected behaviour

See above

Actual behaviour

See above

Server configuration

Operating system:
Mac OS X 10.13.6 (High Sierra)

Web server:
nginx/1.11.2

Database:
MariaDB mysql Ver 15.1 Distrib 10.1.14-MariaDB, for FreeBSD10.1 (amd64) using readline 5.2

PHP version:
PHP 7.0.8 (cli)

ownCloud version: (see ownCloud admin page)
10.0.9

Updated from an older ownCloud or fresh install:
Updated from 10.0.8

Where did you install ownCloud from:
Official tar.

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.
`No errors have been found.``


**The content of config/config.php:**
`
Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

Client configuration

Safari

Operating system:
See above

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here
`...
{"reqId":"GpjToAhiSlNurqZDqkT2","level":4,"time":"2018-09-16T10:07:50+00:00","remoteAddr":"192.168.2.72","user":"Familie","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Familie\/Kontakte\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"cahTTlPAuIdXupTONsDz","level":4,"time":"2018-09-16T10:07:50+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"ji9QLyWeh5GTabCSEmVX","level":2,"time":"2018-09-16T10:08:03+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"dav","method":"DELETE","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/369e8566-57ff-496f-88e9-d41fd2dcdae2.vcf","message":"Could not get node for path: \"addressbooks\/users\/Denis\/Denis privat\/369e8566-57ff-496f-88e9-d41fd2dcdae2.vcf\" : Card not found"}
{"reqId":"oPFaFm56l1vqzhxfHqdL","level":4,"time":"2018-09-16T10:08:03+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"aOA1J54CWDvUEhRG6BRb","level":4,"time":"2018-09-16T10:09:34+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"gmxFFYYnPHotUDlxrRow","level":4,"time":"2018-09-16T10:09:44+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"BaFKZbIyTLrOpNvmaQd1","level":4,"time":"2018-09-16T10:10:03+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"ydTUpjk38cSd2xHxZTbL","level":4,"time":"2018-09-16T10:10:13+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"webdav","method":"REPORT","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/","message":"Exception: HTTP\/1.1 403 Invalid or unknown sync token: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\InvalidSyncToken\",\"Message\":\"Invalid or unknown sync token\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php(65): Sabre\\\\DAV\\\\Sync\\\\Plugin->syncCollection('addressbooks\\\/us...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport))\\n#1 [internal function]: Sabre\\\\DAV\\\\Sync\\\\Plugin->Sabre\\\\DAV\\\\Sync\\\\{closure}('{DAV:}sync-coll...', Object(Sabre\\\\DAV\\\\Xml\\\\Request\\\\SyncCollectionReport), 'addressbooks\\\/us...')\\n#2 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\\n#3 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(718): Sabre\\\\Event\\\\EventEmitter->emit('report', Array)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpReport(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:REPORT', Array)\\n#7 \\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(282): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/usr\\\/local\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#10 \\\/usr\\\/local\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/usr\\\/local\\\/www\\\/...')\\n#11 {main}\",\"File\":\"\\\/usr\\\/local\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Sync\\\/Plugin.php\",\"Line\":123}"}
{"reqId":"eEJZhxJMJbhzsfaP6T2C","level":2,"time":"2018-09-16T10:15:49+00:00","remoteAddr":"192.168.2.72","user":"Denis","app":"dav","method":"DELETE","url":"\/remote.php\/dav\/addressbooks\/users\/Denis\/Denis%20privat\/18cf0a74-7a55-410f-810f-673f41183d74.vcf","message":"Could not get node for path: \"addressbooks\/users\/Denis\/Denis privat\/18cf0a74-7a55-410f-810f-673f41183d74.vcf\" : Card not found"}`

#### Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) …


#2

Hey,

maybe existing posts like this are helping you on how to configure your client:

I also did a short search like https://github.com/owncloud/core/search?q=“Invalid+or+unknown+sync+token”&type=Issues and found some other posts about the log entries you’re getting:


Owncloud 9.1.1-1.2 / MacOS Sierra: CardDAV not working [solved]
#3

Hi.
I tried it like suggested but still not synchronization between Contact on Mac OS X and owncloud.


#4

In meanwhile, I update to 10.0.10.4 OwnCloud.
I still have not sync from Mac OS adressbook application and have this

{“reqId”:“Y0dgo9qiJi8Ahyo9OaXA”,“level”:4,“time”:“2018-09-26T04:17:08+00:00”,“remoteAddr”:“192.168.2.72”,“user”:“Denis”,“app”:“webdav”,“method”:“REPORT”,“url”:"/remote.php/dav/addressbooks/users/Denis/Denis%20privat/",“message”:“Exception: HTTP/1.1 403 Invalid or unknown sync token: {“Exception”:“Sabre\\DAV\\Exception\\InvalidSyncToken”,“Message”:“Invalid or unknown sync token”,“Code”:0,“Trace”:”#0 \/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Sync\/Plugin.php(65): Sabre\\DAV\\Sync\\Plugin->syncCollection(‘addressbooks\/us…’, Object(Sabre\\DAV\\Xml\\Request\\SyncCollectionReport))\n#1 [internal function]: Sabre\\DAV\\Sync\\Plugin->Sabre\\DAV\\Sync\\{closure}(’{DAV:}sync-coll…’, Object(Sabre\\DAV\\Xml\\Request\\SyncCollectionReport), ‘addressbooks\/us…’)\n#2 \/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\n#3 \/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(718): Sabre\\Event\\EventEmitter->emit(‘report’, Array)\n#4 [internal function]: Sabre\\DAV\\CorePlugin->httpReport(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 \/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:REPORT’, Array)\n#7 \/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#8 \/usr\/local\/www\/owncloud\/apps\/dav\/lib\/Server.php(298): Sabre\\DAV\\Server->exec()\n#9 \/usr\/local\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#10 \/usr\/local\/www\/owncloud\/remote.php(165): require_once(’\/usr\/local\/www\/…’)\n#11 {main}",“File”:"\/usr\/local\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Sync\/Plugin.php",“Line”:123}"}

entries within the owncloud log.

iOS sync just works.


#5

Update: I tried alternative contacts program BusyCal - I seems to work without problems. All changes from any source are synched correctly.
I.e. the problems is somewhere in the original Mac OS Contacts application :frowning:


#6

Same issue with macOS Mojave.

Removing the cardDAV account and adding it again helped for just about 1 sync. Then it broke again.