<!--
Thanks for reporting issues back to Nextcloud!
Note: This is the **issu…e tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
Guidelines for submitting issues:
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to https://github.com/nextcloud and type any word in the top search/command bar. You probably see something like "We couldn’t find any repositories matching ..." then click "Issues" in the left navigation.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on search syntax within github: https://help.github.com/articles/searching-issues
* This repository https://github.com/nextcloud/server/issues is *only* for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
* SECURITY: Report any potential security bug to us via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/) instead of filing an issue in our bug tracker.
* The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization (https://github.com/nextcloud/)
* You can also use the Issue Template app to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
-->
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
### Steps to reproduce
1. upgrade NC 18 to NC 19
2. sync contacts on a mobile phone
3. log messages appear that sync is not possible
### Expected behaviour
sync contacts should be working again
### Actual behaviour
currently it is not possible to sync the contacts with my mobile phone anymore, z-push logs that the sync was aborted
```
Error doing the initial sync for 'https://nextcloud:443/remote.php/dav/addressbooks/users/michael/z-app-generated--contactsinteraction--recent/': Woops, something's gone wrong! The CardDAV server returned the http status code 415.
```
### Server configuration
**Operating system:**
Ubuntu 18.04.05
**Web server:**
Nginx
**Database:**
PostgreSql 12
**PHP version:**
7.4.9
**Nextcloud version:** (see Nextcloud admin page)
19.0.1.1
**Updated from an older Nextcloud/ownCloud or fresh install:**
updated from18
**Where did you install Nextcloud from:**
updater
**Signing status:**
<details>
<summary>Signing status</summary>
```
No errors have been found.
```
</details>
**List of activated apps:**
<details>
<summary>App list</summary>
```
Enabled:
- accessibility: 1.5.0
- activity: 2.12.0
- admin_audit: 1.9.0
- announcementcenter: 3.8.1
- apporder: 0.10.0
- audioplayer: 2.11.2
- audioplayer_editor: 0.2.2
- bookmarks: 3.3.4
- calendar: 2.0.3
- circles: 0.19.5
- cloud_federation_api: 1.2.0
- comments: 1.9.0
- contacts: 3.3.0
- contactsinteraction: 1.0.0
- dav: 1.15.0
- deck: 1.0.5
- extract: 1.2.4
- federatedfilesharing: 1.9.0
- federation: 1.9.0
- files: 1.14.0
- files_accesscontrol: 1.9.0
- files_automatedtagging: 1.9.0
- files_external: 1.10.0
- files_pdfviewer: 1.8.0
- files_retention: 1.8.2
- files_rightclick: 0.16.0
- files_sharing: 1.11.0
- files_trashbin: 1.9.0
- files_versions: 1.12.0
- files_videoplayer: 1.8.0
- firstrunwizard: 2.8.0
- groupfolders: 7.0.0
- impersonate: 1.6.1
- logreader: 2.4.0
- lookup_server_connector: 1.7.0
- mail: 1.4.1
- maps: 0.1.6
- metadata: 0.12.0
- news: 14.1.11
- nextcloud_announcements: 1.8.0
- notes: 3.6.4
- notifications: 2.7.0
- oauth2: 1.7.0
- onlyoffice: 4.3.0
- password_policy: 1.9.1
- passwords: 2020.8.0
- phonetrack: 0.6.4
- photos: 1.1.0
- privacy: 1.3.0
- provisioning_api: 1.9.0
- recommendations: 0.7.0
- richdocuments: 3.7.3
- serverinfo: 1.9.0
- settings: 1.1.0
- sharebymail: 1.9.0
- sociallogin: 3.2.8
- socialsharing_diaspora: 2.1.0
- socialsharing_email: 2.1.0
- socialsharing_facebook: 2.1.0
- socialsharing_twitter: 2.1.0
- spreed: 9.0.3
- support: 1.2.1
- survey_client: 1.7.0
- systemtags: 1.9.0
- tasks: 0.13.3
- text: 3.0.1
- theming: 1.10.0
- twofactor_backupcodes: 1.8.0
- twofactor_totp: 4.1.3
- updatenotification: 1.9.0
- user_external: 0.10.0
- viewer: 1.3.0
- workflowengine: 2.1.0
Disabled:
- encryption
- keeweb
- radio
- user_ldap
```
</details>
**Nextcloud configuration:**
<details>
<summary>Config report</summary>
```
{
"system": {
"debug": false,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"dbindex": 1
},
"trusted_domains": [
"nextcloud"
],
"dbtype": "pgsql",
"version": "19.0.1.1",
"overwrite.cli.url": "https:\/\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpsecure": "tls",
"maintenance": false,
"theme": "",
"loglevel": 1,
"updater.release.channel": "stable",
"defaultapp": "apporder",
"user_backends": [
{
"class": "OC_User_IMAP",
"arguments": [
"127.0.0.1",
143,
null,
"localhost",
true,
false
]
}
],
"app_install_overwrite": [
"calendar",
"maps",
"piwik"
],
"mail_sendmailmode": "smtp"
}
}
```
</details>
**Are you using encryption:** no
**Are you using an external user-backend, if yes which one:** IMAP
### Logs
#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>
```
{
"reqId": "Serl4k8FeffTZ0eEIqg9",
"level": 4,
"time": "2020-08-26T17:31:19+00:00",
"remoteAddr": "127.0.0.1",
"user": "michael",
"app": "webdav",
"method": "REPORT",
"url": "/remote.php/dav/addressbooks/users/michael/z-app-generated--contactsinteraction--recent/",
"message": {
"Exception": "Sabre\\DAV\\Exception\\ReportNotSupported",
"Message": "The {DAV:}sync-collection REPORT is not supported on this url.",
"Code": 0,
"Trace": [
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/dav/lib/DAV/Sync/Plugin.php",
"line": 64,
"function": "syncCollection",
"class": "Sabre\\DAV\\Sync\\Plugin",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "Sabre\\DAV\\Sync\\{closure}",
"class": "Sabre\\DAV\\Sync\\Plugin",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 720,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpReport",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 474,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 251,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 319,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/apps/dav/lib/Server.php",
"line": 320,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->"
},
{
"file": "/srv/www/nextcloud/docs/remote.php",
"line": 167,
"args": [
"/srv/www/nextcloud/docs/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/srv/www/nextcloud/docs/3rdparty/sabre/dav/lib/DAV/Sync/Plugin.php",
"Line": 108,
"CustomMessage": "--"
},
"userAgent": "Z-Push CardDAV/0.6.c",
"version": "19.0.1.1"
}
```
</details>