WebDAV thousands of errors logged after Rclone copy

Nextcloud version (13.0.1)
Operating system and version (Centos 7)
Ninx version (nginx/1.12.2)
PHP version (7.1.14)

The issue you are facing:

I am copying files to the NC with local storage with RCLONE trough webDAV with --transfers 2 --checkers-4.
But every time after the copy job is finished my log is filled with errors as follows. Rclone -vvv shows it’s skipping files after comparing mtime and size listing of the remote with local but I still get already existing error. Is the file replaced due to change in Mtime or Size diffrence? Why is it an error if the NC and Rclone intentionally replacing the offending files?

Fatal	webdav	Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists
/usr/share/nginx/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 590: Sabre\DAV\Server->createCollection('Customers/SanMa...', Object(Sabre\DAV\MkCol))
[internal function] Sabre\DAV\CorePlugin->httpMkcol(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/usr/share/nginx/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/usr/share/nginx/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method MKCOL', Array)
/usr/share/nginx/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/usr/share/nginx/html/nextcloud/apps/dav/appinfo/v1/webdav.php - line 80: Sabre\DAV\Server->exec()
/usr/share/nginx/html/nextcloud/remote.php - line 164: require_once('/usr/share/ngin...')
{main}

Is this the first time you’ve seen this error? N:

Steps to replicate it:

  1. set Rclone remote as NC and copy local to NC local
  2. run the same command again after first is completed

The output of your Nextcloud log in Admin > Logging:

|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:21:04+0800|
|---|---|---|---|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:57+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:44+0800|
|Fatal|webdav|OCA\DAV\Connector\Sabre\Exception\FileLocked: "Customers/SanMar/Archive/April/April 10/91001_ElecBlueHeathGrey_Stuffed_OnHandle_ 2708.tif" is locked|2018-04-25T14:20:44+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:44+0800|
|Fatal|webdav|OCA\DAV\Connector\Sabre\Exception\FileLocked: "Customers/SanMar/Archive/April/April 12/NEA100_Royal_Model_0139.tif" is locked|2018-04-25T14:20:43+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:05+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:04+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:03+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:20:03+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:19:49+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:19:25+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:19:16+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:19:14+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:18:40+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:18:36+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:18:22+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:17:55+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:17:51+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:17:41+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:17:29+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:17:17+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:17:09+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:16:49+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:16:42+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:16:36+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:16:31+0800|
|Fatal|webdav|OCA\DAV\Connector\Sabre\Exception\FileLocked: "Customers/SanMar/Archive/April/April 18/print/DM1170L.tif" is locked|2018-04-25T14:16:31+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:15:59+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:15:40+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:15:34+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:15:31+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:15:10+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:14:55+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:14:43+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:14:40+0800|
|Fatal|webdav|Sabre\DAV\Exception\MethodNotAllowed: The resource you tried to create already exists|2018-04-25T14:14:37+0800|