Installed and setup the NC app, set it to upload all photos. Then, cloud started not responding it browser. There were a lot of photos to upload, few thousand actually. In the app, I tapped on transfers and there was a long list of what looks like started transfers.
So, it seems to me that the app tries to transfer way too much at the same time. That is an assumption of course, but begs the question…
Does the app throttle concurrent uploads? Does it upload a lot at the same time or did it just appear that way? Error after error started popping up in the app too about failed transfer.
In NC admin, there’s a bunch of:
Sabre\DAV\Exception\BadRequest: HTTP/1.1 400 expected filesize 4109789 got 8184
Type errors. Lots of them.
I think the app should have a setting… to choose how much to transfer at a time. And NC should maybe have a setting in admin which tells NC clients how much to attempt to transfer or a max or something.
Looking at the long list of these errors, their timestamps many of them are in the same second, which leads to think tries uploading too much at a time.
And here’s the rest of the error from clicking on one.
Sabre\DAV\Exception\BadRequest: HTTP/1.1 400 expected filesize 2080445 got 8184
/usr/local/www/nginx/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php - line 137: OCA\DAV\Connector\Sabre\File->put(Resource id #348)
/usr/local/www/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1072: OCA\DAV\Connector\Sabre\Directory->createFile(‘2017-05-09 19-1…’, Resource id #348)
/usr/local/www/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile(‘Photos/2017/05/…’, Resource id #348, NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/usr/local/www/nginx/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/usr/local/www/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit(‘method PUT’, Array)
/usr/local/www/nginx/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/usr/local/www/nginx/nextcloud/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec()
/usr/local/www/nginx/nextcloud/remote.php - line 165: require_once(’/usr/local/www/…’)
Memory Limit: 512.0 MB
Max Execution Time: 3600
Upload max size: 511 MB