Can't synch WebDAV

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version = 15.0.4
Operating system and version = Ubuntu 18.04
Apache or nginx version = Apache 2.4.29
PHP version = 7.2.10-0ubuntu0.18.04.1

The issue you are facing: Both under the iPhone App and via Windows Share, my WebDAV synchronization fails

Is this the first time you’ve seen this error? (Y/N): No, it’s always been there

The output of your Nextcloud log in Admin > Logging:

[no app in context] Error: OCP\Lock\LockedException: "files/29f0b181375872013c48fa27967050ca" is locked at <<closure>>

 0. /var/www/nextcloud/lib/private/Files/Storage/Common.php line 778
    changeLock("files/29f0b181375872013c48fa27967050ca", 2)
 1. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 615
    changeLock("files/Photos/20 ... g", 2, OC\Lock\DBLockingProvider {})
 2. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 615
    changeLock("files/Photos/20 ... g", 2, OC\Lock\DBLockingProvider {})
 3. /var/www/nextcloud/lib/private/Files/View.php line 1970
    changeLock("files/Photos/20 ... g", 2, OC\Lock\DBLockingProvider {})
 4. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Node.php line 359
    changeLock("/Photos/2019/02 ... g", 2)
 5. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php line 219
    changeLock(2)
 6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1130
    put(null)
 7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 513
    updateFile("Photos/2019/02/ ... g", null, null)
 8. <<closure>>
    httpPut(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
 9. /var/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php line 105
    call_user_func_array([Sabre\DAV\CorePlugin {},"httpPut"], [Sabre\HTTP\Requ ... }])
10. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 479
    emit("method:PUT", [Sabre\HTTP\Requ ... }])
11. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 254
    invokeMethod(Sabre\HTTP\Reque ... "}, Sabre\HTTP\Response {})
12. /var/www/nextcloud/apps/dav/appinfo/v1/webdav.php line 80
    exec()
13. /var/www/nextcloud/remote.php line 163
    require_once("/var/www/nextcl ... p")

PUT /remote.php/webdav/Photos/2019/02/19-02-08%2017-36-19%206648.jpg
from XXX.XXX.XXX.XXX by HR_c at 2019-02-10T14:19:55+01:00

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'forcessl' => true,
  'forceSSLforSubdomains' => true,
  'log_type' => 'file',
  'logtimezone' => 'Europe/Berlin',
  'logfile' => '/var/www/nextcloud.log',
  'loglevel' => 2,
  'enable_previews' => false,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '127.0.0.1',
    'port' => xxx,
    'dbindex' => 0,
    'password' => 'xxx',
    'timeout' => 1.5,
  ),
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' =>
  array (
    0 => 'xxx',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '15.0.4.0',
  'overwrite.cli.url' => 'xxx',
  'dbname' => 'xxx',
  'dbhost' => 'xxx',
  'dbport' => 'xxx',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'maintenance' => false,
);


The output of your Apache/nginx/system log in /var/log/____:



[Sun Feb 10 06:25:09.814934 2019] [mpm_event:notice] [pid 3274:tid 139655234792384] AH00489: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g config$
[Sun Feb 10 06:25:09.814956 2019] [core:notice] [pid 3274:tid 139655234792384] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 10 13:57:12.642629 2019] [authz_core:error] [pid 27187:tid 139654768744192] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 13:57:19.394035 2019] [authz_core:error] [pid 27188:tid 139654768744192] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 13:57:34.071871 2019] [authz_core:error] [pid 27187:tid 139654602905344] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:00.442642 2019] [authz_core:error] [pid 27187:tid 139654577727232] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:10.024288 2019] [authz_core:error] [pid 27187:tid 139654602905344] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:15.780420 2019] [authz_core:error] [pid 27187:tid 139654636476160] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:28.351191 2019] [authz_core:error] [pid 27187:tid 139654544156416] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:30.947336 2019] [authz_core:error] [pid 27187:tid 139654785545984] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:40.244957 2019] [authz_core:error] [pid 27187:tid 139654793946880] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:48.230124 2019] [authz_core:error] [pid 27188:tid 139654670046976] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:14:51.841263 2019] [authz_core:error] [pid 27188:tid 139654552549120] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:15:51.811764 2019] [authz_core:error] [pid 27187:tid 139654586119936] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:16:02.866510 2019] [authz_core:error] [pid 27187:tid 139654619690752] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:16:05.282046 2019] [authz_core:error] [pid 27187:tid 139654552549120] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:16:07.009637 2019] [authz_core:error] [pid 27187:tid 139654793946880] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:16:10.485749 2019] [authz_core:error] [pid 27187:tid 139654602905344] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:20:46.540315 2019] [authz_core:error] [pid 27187:tid 139654544156416] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$
[Sun Feb 10 14:20:59.560047 2019] [authz_core:error] [pid 27187:tid 139654785545984] [client XXX.YYY.ZZZZ.AAA:PORT] AH01630: client denied$



Thanks for all :slight_smile:

Best regards, HR_c

Update: I have disabled the antivirus scan app* and now I can sync via webdav, but how can that be?

*https://apps.nextcloud.com/apps/files_antivirus