Server version 10.0.7
The desktop clients and the WebUI uploads respect the right chunk folder.
I get a lot of errors like this:

And the android sync-client uploads the files in data/carlos/cache/VID_20171230_114308.mp4-chunking-4273-477
I have configured in the config.php:
'dav.chunk_base_dir' => '/tmp/uploads',
in the php.ini and configure the temp folder to /tmp
Why is not respecting the configurations?
Android version 2.5.0 and 2.6.0
@davigonz @michaelstingl
Uploading in the wrong directory (in this case the NFS storage) makes the uploads much slower.
Related to: https://github.com/owncloud/android/issues/2070

It uploads the file correct many times.
@theScrabi could you help?
@cdamken I just found out the android client still uses the old chunk end point instead of the new one. Maybe this issue is related to that.
I changed at the weekend the storage to a faster one, that probably that will help with the timeouts or something. but, we have to migrate to the new implementation as soon as possible.
I don't know how fast we can do that, but I'll take a look at it :)
now I have a full 1GBit connection to the NFS, before was arround 200 MBps
I think this might more be an issue of the core, that it is ignoring the dav.chunk_base_dir parameter for the old chunking endpoint.
I just tested with the new faster storage. the problem still happens.
After a little researching about the issue, in the client side we are only using the WebDAV endpoint to put chunks in server + file local path + suffixes
as @theScrabi told, seems that the core ignores the folder and keeps the default one:
Yes, that's what I wrote at the beginning:
And the android sync-client uploads the files in data/carlos/cache/VID_20171230_114308.mp4-chunking-4273-477
I have configured in the config.php:
'dav.chunk_base_dir' => '/tmp/uploads',
in the php.ini and configure the temp folder to /tmp
Isn't there any way to follow the dav.chunk_base_dir configuration?

Any news?
access.log:
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:25 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 2099 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:26 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 1365 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:29 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 2414 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:30 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 939 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:30 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 834 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:30 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 2313 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:27:31 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:12 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 1669 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:12 +0100] "PROPFIND /remote.php/webdav/20180322_171921.mp4 HTTP/1.1" 404 899 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:12 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 2123 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:12 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 939 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:13 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 834 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:13 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 2313 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:13 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:13 +0100] "PUT /remote.php/webdav/20180322_171921.mp4-chunking-1585-166-0 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
...
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:28:25 +0100] "PUT /remote.php/webdav/20180322_171921.mp4-chunking-1585-166-11 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
.....
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:31:18 +0100] "PUT /remote.php/webdav/20180322_171921.mp4-chunking-1585-166-165 HTTP/1.1" 500 908 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:31:59 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 1680 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:31:59 +0100] "PROPFIND /remote.php/webdav/20180322_171921.mp4 HTTP/1.1" 207 1539 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:31:59 +0100] "PROPFIND /remote.php/webdav/20180322_171921%20(2).mp4 HTTP/1.1" 404 903 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:32:02 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-0 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:32:03 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-1 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:32:04 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-2 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:32:05 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-3 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:34:51 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-163 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:34:52 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-164 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:34:53 +0100] "PUT /remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-165 HTTP/1.1" 500 912 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:35:43 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 2123 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:35:43 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 944 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:35:43 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 839 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:35:44 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 3829 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:35:44 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:41 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 2123 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:42 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 944 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:42 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 839 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:42 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 3829 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:42 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:57 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 2123 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:58 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 944 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:58 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 839 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:58 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 3829 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:36:59 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:12 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 2123 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:12 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 944 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:12 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 839 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:13 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 3829 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:13 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:13 +0100] "PROPFIND /remote.php/webdav/CameraUpload/ HTTP/1.1" 404 1029 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:14 +0100] "MKCOL /remote.php/webdav/CameraUpload/ HTTP/1.1" 201 599 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:14 +0100] "PROPFIND /remote.php/webdav/CameraUpload/20180322_173640.jpg HTTP/1.1" 404 912 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:14 +0100] "PUT /remote.php/webdav/CameraUpload/20180322_173640.jpg-chunking-4032-5-0 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:15 +0100] "PUT /remote.php/webdav/CameraUpload/20180322_173640.jpg-chunking-4032-5-1 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:17 +0100] "PUT /remote.php/webdav/CameraUpload/20180322_173640.jpg-chunking-4032-5-2 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:18 +0100] "PUT /remote.php/webdav/CameraUpload/20180322_173640.jpg-chunking-4032-5-3 HTTP/1.1" 201 566 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:37:19 +0100] "PUT /remote.php/webdav/CameraUpload/20180322_173640.jpg-chunking-4032-5-4 HTTP/1.1" 500 917 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:38:45 +0100] "GET /ocs/v1.php/cloud/capabilities?format=json HTTP/1.1" 200 4993 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:38:45 +0100] "GET /ocs/v1.php/cloud/user?format=json HTTP/1.1" 200 944 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:38:45 +0100] "GET /index.php/avatar/USERNAME/384 HTTP/1.1" 200 839 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:38:46 +0100] "PROPFIND /remote.php/webdav/ HTTP/1.1" 207 4579 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
IP.ADD.RE.SS - USERNAME [22/Mar/2018:17:38:46 +0100] "GET /ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&reshares=true&subfiles=true HTTP/1.1" 200 894 "-" "Mozilla/5.0 (Android) ownCloud-android/2.6.0"
owncloud.log
{"reqId":"i6BxfZPkZCMOX4w5Yzxx","level":1,"time":"2018-03-22T17:27:26+01:00","remoteAddr":"IP.ADD.RE.SS","user":"--","app":"admin_audit","method":"GET","url":"/ocs/v1.php/cloud/user?format=json","message":"User USERNAME attempted to log into ownCloud from IP address: IP.ADD.RE.SS [CLIENT_IP: IP.ADD.RE.SS] [USER_AGENT: Mozilla/5.0 (Android) ownCloud-android/2.6.0]"}
{"reqId":"i6BxfZPkZCMOX4w5Yzxx","level":1,"time":"2018-03-22T17:27:26+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"admin_audit","method":"GET","url":"/ocs/v1.php/cloud/user?format=json","message":"User USERNAME logged into ownCloud from IP address: IP.ADD.RE.SS [CLIENT_IP: IP.ADD.RE.SS] [USER_AGENT: Mozilla/5.0 (Android) ownCloud-android/2.6.0]"}
{"reqId":"fhEREwGRIVjmoQAL95Vv","level":1,"time":"2018-03-22T17:27:29+01:00","remoteAddr":"IP.ADD.RE.SS","user":"--","app":"admin_audit","method":"GET","url":"/ocs/v1.php/cloud/capabilities?format=json","message":"User USERNAME attempted to log into ownCloud from IP address: IP.ADD.RE.SS [CLIENT_IP: IP.ADD.RE.SS] [USER_AGENT: Mozilla/5.0 (Android) ownCloud-android/2.6.0]"}
{"reqId":"fhEREwGRIVjmoQAL95Vv","level":1,"time":"2018-03-22T17:27:30+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"admin_audit","method":"GET","url":"/ocs/v1.php/cloud/capabilities?format=json","message":"User USERNAME logged into ownCloud from IP address: IP.ADD.RE.SS [CLIENT_IP: IP.ADD.RE.SS] [USER_AGENT: Mozilla/5.0 (Android) ownCloud-android/2.6.0]"}
#0 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(966): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('20180322_171921...')
#1 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1665): Sabre\DAV\Server->getPropertiesIteratorForPath('20180322_171921...', Array, 0)
#2 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)
#3 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)
#6 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#8 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#9 {main}","File":"/var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":193,"User":"USERNAME"}"}
{"reqId":"2JZmUOZKGPv61aIa3TPC","level":4,"time":"2018-03-22T17:31:27+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"webdav","method":"PUT","url":"/remote.php/webdav/20180322_171921.mp4-chunking-1585-166-165","message":"Exception: {"Message":"/USERNAME/files/20180322_171921.mp4-chunking-1585-166-165","Exception":"OCP\Files\NotFoundException","Code":0,"Trace":"
#0 /var/www/owncloud/apps/admin_audit/handlers/files.php(121): OC\Files\Node\Root->get('/USERNAME/fil...')
#1 [internal function]: OCA\Admin_Audit\Handlers\Files::create(Object(Symfony\Component\EventDispatcher\GenericEvent), 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#2 /var/www/owncloud/lib/composer/symfony/event-dispatcher/EventDispatcher.php(174): call_user_func(Array, Object(Symfony\Component\EventDispatcher\GenericEvent), 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#3 /var/www/owncloud/lib/composer/symfony/event-dispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\GenericEvent))
#4 /var/www/owncloud/lib/public/Events/EventEmitterTrait.php(53): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('file.aftercreat...', Object(Symfony\Component\EventDispatcher\GenericEvent))
#5 /var/www/owncloud/apps/dav/lib/Connector/Sabre/File.php(269): OCA\DAV\Connector\Sabre\File->emittingCall(Object(Closure), Array, 'file', 'create')
#6 /var/www/owncloud/apps/dav/lib/Connector/Sabre/Directory.php(171): OCA\DAV\Connector\Sabre\File->put(Resource id #164)
#7 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1095): OCA\DAV\Connector\Sabre\Directory->createFile('20180322_171921...', Resource id #164)
#8 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(525): Sabre\DAV\Server->createFile('20180322_171921...', Resource id #164, NULL)
#9 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#10 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#11 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PUT', Array)
#12 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#13 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#14 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#15 {main}","File":"/var/www/owncloud/lib/private/Files/Node/Root.php","Line":186,"User":"USERNAME"}"}
#0 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(966): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('20180322_171921...')
#1 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1665): Sabre\DAV\Server->getPropertiesIteratorForPath('20180322_171921...', Array, 0)
#2 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)
#3 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)
#6 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#8 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#9 {main}","File":"/var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":193,"User":"USERNAME"}"}
{"reqId":"P3J6PXnEofb6AusiastE","level":4,"time":"2018-03-22T17:35:02+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"webdav","method":"PUT","url":"/remote.php/webdav/20180322_171921%20(2).mp4-chunking-2326-166-165","message":"Exception: {"Message":"/USERNAME/files/20180322_171921 (2).mp4-chunking-2326-166-165","Exception":"OCP\Files\NotFoundException","Code":0,"Trace":"
#0 /var/www/owncloud/apps/admin_audit/handlers/files.php(121): OC\Files\Node\Root->get('/USERNAME/fil...')
#1 [internal function]: OCA\Admin_Audit\Handlers\Files::create(Object(Symfony\Component\EventDispatcher\GenericEvent), 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#2 /var/www/owncloud/lib/composer/symfony/event-dispatcher/EventDispatcher.php(174): call_user_func(Array, Object(Symfony\Component\EventDispatcher\GenericEvent), 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#3 /var/www/owncloud/lib/composer/symfony/event-dispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\GenericEvent))
#4 /var/www/owncloud/lib/public/Events/EventEmitterTrait.php(53): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('file.aftercreat...', Object(Symfony\Component\EventDispatcher\GenericEvent))
#5 /var/www/owncloud/apps/dav/lib/Connector/Sabre/File.php(269): OCA\DAV\Connector\Sabre\File->emittingCall(Object(Closure), Array, 'file', 'create')
#6 /var/www/owncloud/apps/dav/lib/Connector/Sabre/Directory.php(171): OCA\DAV\Connector\Sabre\File->put(Resource id #164)
#7 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1095): OCA\DAV\Connector\Sabre\Directory->createFile('20180322_171921...', Resource id #164)
#8 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(525): Sabre\DAV\Server->createFile('20180322_171921...', Resource id #164, NULL)
#9 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#10 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#11 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PUT', Array)
#12 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#13 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#14 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#15 {main}","File":"/var/www/owncloud/lib/private/Files/Node/Root.php","Line":186,"User":"USERNAME"}"}
#0 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(966): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('CameraUpload')
#1 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1665): Sabre\DAV\Server->getPropertiesIteratorForPath('CameraUpload', Array, 0)
#2 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)
#3 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)
#6 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#8 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#9 {main}","File":"/var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":193,"User":"USERNAME"}"}
{"reqId":"BB3kCb35skZr0CKfEp2Y","level":1,"time":"2018-03-22T17:37:14+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"admin_audit","method":"MKCOL","url":"/remote.php/webdav/CameraUpload/","message":"Create "/USERNAME/files/CameraUpload" with fileid: 4194555 by user <USERNAME>, displayName <USERNAME>, owner: USERNAME [CLIENT_IP: IP.ADD.RE.SS] [USER_AGENT: Mozilla/5.0 (Android) ownCloud-android/2.6.0]"}
#0 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(966): OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('CameraUpload/20...')
#1 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1665): Sabre\DAV\Server->getPropertiesIteratorForPath('CameraUpload/20...', Array, 0)
#2 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(355): Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)
#3 [internal function]: Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#4 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#5 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PROPFIND', Array)
#6 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#7 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#8 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#9 {main}","File":"/var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php","Line":193,"User":"USERNAME"}"}
{"reqId":"wDGfS98BTdcdcHUOVHHe","level":4,"time":"2018-03-22T17:37:19+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"webdav","method":"PUT","url":"/remote.php/webdav/CameraUpload/20180322_173640.jpg-chunking-4032-5-4","message":"Exception: {"Message":"/USERNAME/files/CameraUpload/20180322_173640.jpg-chunking-4032-5-4","Exception":"OCP\Files\NotFoundException","Code":0,"Trace":"
#0 /var/www/owncloud/apps/admin_audit/handlers/files.php(121): OC\Files\Node\Root->get('/USERNAME/fil...')
#1 [internal function]: OCA\Admin_Audit\Handlers\Files::create(Object(Symfony\Component\EventDispatcher\GenericEvent), 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#2 /var/www/owncloud/lib/composer/symfony/event-dispatcher/EventDispatcher.php(174): call_user_func(Array, Object(Symfony\Component\EventDispatcher\GenericEvent), 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#3 /var/www/owncloud/lib/composer/symfony/event-dispatcher/EventDispatcher.php(43): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'file.aftercreat...', Object(Symfony\Component\EventDispatcher\GenericEvent))
#4 /var/www/owncloud/lib/public/Events/EventEmitterTrait.php(53): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('file.aftercreat...', Object(Symfony\Component\EventDispatcher\GenericEvent))
#5 /var/www/owncloud/apps/dav/lib/Connector/Sabre/File.php(269): OCA\DAV\Connector\Sabre\File->emittingCall(Object(Closure), Array, 'file', 'create')
#6 /var/www/owncloud/apps/dav/lib/Connector/Sabre/Directory.php(171): OCA\DAV\Connector\Sabre\File->put(Resource id #164)
#7 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(1095): OCA\DAV\Connector\Sabre\Directory->createFile('20180322_173640...', Resource id #164)
#8 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/CorePlugin.php(525): Sabre\DAV\Server->createFile('CameraUpload/20...', Resource id #164, NULL)
#9 [internal function]: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#10 /var/www/owncloud/lib/composer/sabre/event/lib/EventEmitterTrait.php(105): call_user_func_array(Array, Array)
#11 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(479): Sabre\Event\EventEmitter->emit('method:PUT', Array)
#12 /var/www/owncloud/lib/composer/sabre/dav/lib/DAV/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
#13 /var/www/owncloud/apps/dav/appinfo/v1/webdav.php(63): Sabre\DAV\Server->exec()
#14 /var/www/owncloud/remote.php(165): require_once('/var/www/ownclo...')
#15 {main}","File":"/var/www/owncloud/lib/private/Files/Node/Root.php","Line":186,"User":"USERNAME"}"}
{"reqId":"KFHJ4JNhM1njaGsIm4hs","level":2,"time":"2018-03-22T17:37:31+01:00","remoteAddr":"IP.ADD.RE.SS","user":"USERNAME","app":"dav","method":"DELETE","url":"/remote.php/webdav/CameraUpload/20180322_173640.jpg","message":"Could not get node for path: "CameraUpload/20180322_173640.jpg" : File with name CameraUpload/20180322_173640.jpg could not be located"}
I tried also the workarounds from:
https://forum.owncloud.org/viewtopic.php?t=14190
https://github.com/owncloud/android/issues/509
I also removed the 'dav.chunk_base_dir' => '/tmp/uploads',
No success.
I tesed in the iOS version 3.7.3, but the error does not appear there.
I read about the certificates:
PKCS #1 SHA-256 With RSA Encryption TLS 1.2 normal from LetsEncrypt.
I tested the size of the uploaded files, under 1 MB is no error, after that you get the "Malformed server configuration"
Files are correct uploaded without errors.
After checking with @michaelstingl we found out the main reason:
The admin_audit app sends a 500 error and the Android think that the file was not uploaded correctly and leaves it for retry.
For you the experts: @theScrabi @jesmrec @davigonz . Is there any way to detect the error from "22/Mar/2018:17:31:18" and avoid the "malformed server configuration" message?
Why does this problem only happens with Android?
A good reason to get rid of the old API :+1:
Hi @cdamken , thanks for all this information, as @theScrabi and @jesmrec said before, it seems this is a core issue in the old endpoint.
We are planing to update the network library and we will take advantage of it to migrate to the new endpoint as well.
We have an engineering meeting with @michaelstingl this week. I will purpose this to him. However we already spoke about this, and we figured that one of the requirements was that we get okhttp running before that.
So might still take a while, but this is definitely on my todo list.
We have to think in reliable responses from the server that the client needs to give a more accurate output to the user.
Yes.
In version 2.9, the ownCloud Android app switched to a new networking library and uses the new WebDAV endpoint. Chunked uploads will be implemented from scratch.