Our ownCloud server have started having problems with syncing files with clients, and different cliens shows different errors.
Steps to reproduce
- Start a sync on a client
- Wait for error
Expected behaviour
Expected that sync completes.
Actual behaviour
Clients have started to fail sync proces with different errors:
- A HTTP transmision error happend. The server file discovery reply is missing data.
- filename.ext: The downloaded file is empty despite the server announced it should have been xxx KB.
- No connection to ownCloud at https://address.url. Server replied “403 Forbidden” to "PROPFIND https://address.url/remote.php/webdav/
- There are unresolved conflicts. Click for details (when you click ALOT of files is shown to have conflicts).
Server configuration
Operating system: Ubuntu 18.04.1 LTS
Web server: nginx/1.14.0
Database: Percona-server 5.7.23-23-1
PHP version: PHP 7.1.23-4
ownCloud version: ownCloud 10.0.10 (production)
Updated from an older ownCloud or fresh install: Updated from older ownCloud
Where did you install ownCloud from: repository http://download.owncloud.org/download/repositories/10.0/Ubuntu_18.04/
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
https://pastebin.com/q9WYDUAL
List of activated apps:
Enabled:
- activity: 2.3.8
- configreport: 0.1.1
- dav: 0.4.0
- federatedfilesharing: 0.3.1
- files: 1.5.1
- files_external: 0.7.1
- files_external_ftp: 0.2.0
- files_sharing: 0.11.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- firstrunwizard: 1.1
- gallery: 16.1.0
- market: 0.2.5
- notifications: 0.3.5
- provisioning_api: 0.5.0
- updatenotification: 0.2.1
- user_ldap: 0.11.0
Are you using external storage, if yes which one: local and SMB
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
+-------------------------------+-------------------------------------------------------------------------------------------+
| Configuration | |
+-------------------------------+-------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport | 0 |
| hasPagedResultSupport | |
| homeFolderNamingRule | |
| lastJpegPhotoLookup | 0 |
| ldapAgentName | CN=ldap,OU=Services,OU=Brugere,OU=name,DC=dom,DC=lan |
| ldapAgentPassword | *** |
| ldapAttributesForGroupSearch | |
| ldapAttributesForUserSearch | |
| ldapBackupHost | |
| ldapBackupPort | |
| ldapBase | OU=Medarbejdere,OU=Brugere,OU=name,DC=dom,DC=lan |
| ldapBaseGroups | OU=Medarbejdere,OU=Brugere,OU=name,DC=dom,DC=lan |
| ldapBaseUsers | OU=Medarbejdere,OU=Brugere,OU=name,DC=dom,DC=lan |
| ldapCacheTTL | 600 |
| ldapConfigurationActive | 1 |
| ldapDynamicGroupMemberURL | |
| ldapEmailAttribute | mail |
| ldapExperiencedAdmin | 0 |
| ldapExpertUUIDGroupAttr | |
| ldapExpertUUIDUserAttr | objectguid |
| ldapExpertUsernameAttr | cn |
| ldapGroupDisplayName | cn |
| ldapGroupFilter | |
| ldapGroupFilterGroups | |
| ldapGroupFilterMode | 0 |
| ldapGroupFilterObjectclass | |
| ldapGroupMemberAssocAttr | uniqueMember |
| ldapHost | SERVER IP |
| ldapIgnoreNamingRules | |
| ldapLoginFilter | (&(|(objectclass=person))(|(samaccountname=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid)))) |
| ldapLoginFilterAttributes | |
| ldapLoginFilterEmail | 1 |
| ldapLoginFilterMode | 0 |
| ldapLoginFilterUsername | 1 |
| ldapNestedGroups | 0 |
| ldapOverrideMainServer | |
| ldapPagingSize | 500 |
| ldapPort | 389 |
| ldapQuotaAttribute | |
| ldapQuotaDefault | |
| ldapTLS | 0 |
| ldapUserDisplayName | displayname |
| ldapUserDisplayName2 | |
| ldapUserFilter | (|(objectclass=person)) |
| ldapUserFilterGroups | |
| ldapUserFilterMode | 1 |
| ldapUserFilterObjectclass | person |
| ldapUuidGroupAttribute | auto |
| ldapUuidUserAttribute | auto |
| turnOffCertCheck | 0 |
| useMemberOfToDetectMembership | 1 |
+-------------------------------+-------------------------------------------------------------------------------------------+
Client configuration
Browser: Different from PC to PC.
Operating system: Windows 7/10, Mac and Linux.
Logs
Web server error log
To big to insert here, but webserver error.log is empty.
ownCloud log (data/owncloud.log)
This type of error seems to repeat itself in the log:
{"reqId":"454e6466-31a3-43a9-82db-4c830d47043c","level":4,"time":"2018-11-07T13:19:09+00:00","remoteAddr":"10.1.6.254","user":"--","app":"webdav","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Exception: HTTP\/1.1 503 InvalidArgumentException: Returned account has different backend to the requested backend for sync: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Message\":\"InvalidArgumentException: Returned account has different backend to the requested backend for sync\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php(201): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth->check(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php(150): Sabre\\\\DAV\\\\Auth\\\\Plugin->check(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(64): Sabre\\\\DAV\\\\Server->exec()\\n#7 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#8 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"Line\":165}"}
Browser log
Server problem does not seems to affect the WEB UI, but only sync clients.