Problem uploading files to nextcloud from android

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 (eg, 12.0.2): 18
Operating system and version (eg, Ubuntu 17.04): centos 7.7
Apache or nginx version (eg, Apache 2.4.25): 2.4
PHP version (eg, 7.1): 7.2

The issue you are facing:
When I try to upload file from android app to nextcloud server I get this error

{“reqId”:“Xnmyz62F8xCRDTK2CKgAPwAAAMQ”,“level”:3,“time”:“2020-03-24T07:13:30+00:00”,“remoteAddr”:“192.168.0.27”,“user”:“dennis”,“app”:“no app in context”,“method”:“PUT”,“url”:"/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999",“message”:{“Exception”:“Sabre\DAV\Exception\BadRequest”,“Message”:“Expected filesize of 10240000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 385024 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",“line”:156,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:"->",“args”:[null]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php",“line”:47,“function”:“createFile”,“class”:“OCA\DAV\Connector\Sabre\Directory”,“type”:"->",“args”:[“0000000000000000-0000000010239999”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:1096,“function”:“createFile”,“class”:“OCA\DAV\Upload\UploadFolder”,“type”:"->",“args”:[“0000000000000000-0000000010239999”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",“line”:525,“function”:“createFile”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[“uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999”,null,null]},{“function”:“httpPut”,“class”:“Sabre\DAV\CorePlugin”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php",“line”:105,“function”:“call_user_func_array”,“args”:[[{“class”:“Sabre\DAV\CorePlugin”},“httpPut”],[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:479,“function”:“emit”,“class”:“Sabre\Event\EventEmitter”,“type”:"->",“args”:[“method:PUT”,[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:254,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Server.php",“line”:319,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php",“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/remote.php",“line”:165,“args”:["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],“function”:“require_once”}],“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:229,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.10.1”,“version”:“18.0.0.10”}
{“reqId”:“Xnmyz62F8xCRDTK2CKgAPwAAAMQ”,“level”:4,“time”:“2020-03-24T07:13:30+00:00”,“remoteAddr”:“192.168.0.27”,“user”:“dennis”,“app”:“webdav”,“method”:“PUT”,“url”:"/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999",“message”:{“Exception”:“Sabre\DAV\Exception\BadRequest”,“Message”:“Expected filesize of 10240000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 385024 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",“line”:156,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:"->",“args”:[null]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php",“line”:47,“function”:“createFile”,“class”:“OCA\DAV\Connector\Sabre\Directory”,“type”:"->",“args”:[“0000000000000000-0000000010239999”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:1096,“function”:“createFile”,“class”:“OCA\DAV\Upload\UploadFolder”,“type”:"->",“args”:[“0000000000000000-0000000010239999”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",“line”:525,“function”:“createFile”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[“uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999”,null,null]},{“function”:“httpPut”,“class”:“Sabre\DAV\CorePlugin”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php",“line”:105,“function”:“call_user_func_array”,“args”:[[{“class”:“Sabre\DAV\CorePlugin”},“httpPut”],[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:479,“function”:“emit”,“class”:“Sabre\Event\EventEmitter”,“type”:"->",“args”:[“method:PUT”,[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:254,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Server.php",“line”:319,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php",“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/remote.php",“line”:165,“args”:["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],“function”:“require_once”}],“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:229,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.10.1”,“version”:“18.0.0.10”}
{“reqId”:“XnmzROXH4@1gmTzCJ5dNQwAAAFQ”,“level”:3,“time”:“2020-03-24T07:15:07+00:00”,“remoteAddr”:“192.168.0.27”,“user”:“dennis”,“app”:“no app in context”,“method”:“PUT”,“url”:"/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272",“message”:{“Exception”:“Sabre\DAV\Exception\BadRequest”,“Message”:“Expected filesize of 3125272 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 32768 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",“line”:156,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:"->",“args”:[null]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php",“line”:47,“function”:“createFile”,“class”:“OCA\DAV\Connector\Sabre\Directory”,“type”:"->",“args”:[“0000000000000000-0000000003125272”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:1096,“function”:“createFile”,“class”:“OCA\DAV\Upload\UploadFolder”,“type”:"->",“args”:[“0000000000000000-0000000003125272”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",“line”:525,“function”:“createFile”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[“uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272”,null,null]},{“function”:“httpPut”,“class”:“Sabre\DAV\CorePlugin”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php",“line”:105,“function”:“call_user_func_array”,“args”:[[{“class”:“Sabre\DAV\CorePlugin”},“httpPut”],[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:479,“function”:“emit”,“class”:“Sabre\Event\EventEmitter”,“type”:"->",“args”:[“method:PUT”,[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:254,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Server.php",“line”:319,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php",“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/remote.php",“line”:165,“args”:["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],“function”:“require_once”}],“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:229,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.10.1”,“version”:“18.0.0.10”}
{“reqId”:“XnmzROXH4@1gmTzCJ5dNQwAAAFQ”,“level”:4,“time”:“2020-03-24T07:15:07+00:00”,“remoteAddr”:“192.168.0.27”,“user”:“dennis”,“app”:“webdav”,“method”:“PUT”,“url”:"/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272",“message”:{“Exception”:“Sabre\DAV\Exception\BadRequest”,“Message”:“Expected filesize of 3125272 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 32768 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.”,“Code”:0,“Trace”:[{“file”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php",“line”:156,“function”:“put”,“class”:“OCA\DAV\Connector\Sabre\File”,“type”:"->",“args”:[null]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php",“line”:47,“function”:“createFile”,“class”:“OCA\DAV\Connector\Sabre\Directory”,“type”:"->",“args”:[“0000000000000000-0000000003125272”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:1096,“function”:“createFile”,“class”:“OCA\DAV\Upload\UploadFolder”,“type”:"->",“args”:[“0000000000000000-0000000003125272”,null]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",“line”:525,“function”:“createFile”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[“uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272”,null,null]},{“function”:“httpPut”,“class”:“Sabre\DAV\CorePlugin”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php",“line”:105,“function”:“call_user_func_array”,“args”:[[{“class”:“Sabre\DAV\CorePlugin”},“httpPut”],[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:479,“function”:“emit”,“class”:“Sabre\Event\EventEmitter”,“type”:"->",“args”:[“method:PUT”,[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]]},{“file”:"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php",“line”:254,“function”:“invokeMethod”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[{“absoluteUrl”:“https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","class”:“Sabre\HTTP\Request”},{“class”:“Sabre\HTTP\Response”}]},{“file”:"/var/www/html/nextcloud/apps/dav/lib/Server.php",“line”:319,“function”:“exec”,“class”:“Sabre\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php",“line”:35,“function”:“exec”,“class”:“OCA\DAV\Server”,“type”:"->",“args”:[]},{“file”:"/var/www/html/nextcloud/remote.php",“line”:165,“args”:["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],“function”:“require_once”}],“File”:"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php",“Line”:229,“CustomMessage”:"–"},“userAgent”:“Mozilla/5.0 (Android) Nextcloud-android/3.10.1”,“version”:“18.0.0.10”}

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. upload file from android

The output of your Nextcloud log in Admin > Logging:

{"reqId":"Xnmyz62F8xCRDTK2CKgAPwAAAMQ","level":3,"time":"2020-03-24T07:13:30+00:00","remoteAddr":"192.168.0.27","user":"dennis","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 10240000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 385024 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":47,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000010239999",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000010239999",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Server.php","line":319,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/remote.php","line":165,"args":["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":229,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.10.1","version":"18.0.0.10"}
{"reqId":"Xnmyz62F8xCRDTK2CKgAPwAAAMQ","level":4,"time":"2020-03-24T07:13:30+00:00","remoteAddr":"192.168.0.27","user":"dennis","app":"webdav","method":"PUT","url":"/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 10240000 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 385024 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":47,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000010239999",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000010239999",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/04b8023cb3d26350b7cdcd3c008bb7a7/0000000000000000-0000000010239999","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Server.php","line":319,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/remote.php","line":165,"args":["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":229,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.10.1","version":"18.0.0.10"}
{"reqId":"XnmzROXH4@1gmTzCJ5dNQwAAAFQ","level":3,"time":"2020-03-24T07:15:07+00:00","remoteAddr":"192.168.0.27","user":"dennis","app":"no app in context","method":"PUT","url":"/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 3125272 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 32768 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":47,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000003125272",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000003125272",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Server.php","line":319,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/remote.php","line":165,"args":["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":229,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.10.1","version":"18.0.0.10"}
{"reqId":"XnmzROXH4@1gmTzCJ5dNQwAAAFQ","level":4,"time":"2020-03-24T07:15:07+00:00","remoteAddr":"192.168.0.27","user":"dennis","app":"webdav","method":"PUT","url":"/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","message":{"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"Expected filesize of 3125272 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 32768 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Upload/UploadFolder.php","line":47,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000003125272",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000003125272",null]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https://nextcloud.myweb.com/remote.php/dav/uploads/dennis/2f9259d80da84638f86bbc03c1e300bf/0000000000000000-0000000003125272","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"/var/www/html/nextcloud/apps/dav/lib/Server.php","line":319,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/nextcloud/remote.php","line":165,"args":["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":229,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.10.1","version":"18.0.0.10"}

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

PASTE HERE

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

PASTE HERE

Is there enough storage? Perhaps you can delete some other files. Can you upload the same file with the web interface? Can you test another android- and/or iOS-device? Can you test files with less bytes (between 1 MB and 10 MB)?