Impossible to load a file


#1

Hi I run oc 10.03 and try to upload a 9 MB file on a shared server whose upload limit is 20MB. See here : https://www.ovh.com/manager/dedicated/index.html#/ticket/8042152?previousPage=1

I first got a lock and ran truncate oc_file_locks;
Now, I get the message "expected file size 9376462 got 0" and the message is not uploaded

I'm however able to upload smaller files

Here is owncloud's log
{"reqId":"WnOTwwoAPXgAADM90QMAAACI","level":4,"time":"2018-02-01T22:31:09+00:00","remoteAddr":"82.122.132.201","user":"gilles","app":"webdav","method":"PUT","url":"\/nuage\/owncloud\/remote.php\/webdav\/ATTAC%20vulgarisation\/test.pdf","message":"Exception: {\"Message\":\"HTTP\\/1.1 400 expected filesize 9376462 got 0\",\"Exception\":\"Sabre\\DAV\\Exception\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/Directory.php(162): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #405)\n#1 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(1095): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('test.pdf', Resource id #405)\n#2 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/CorePlugin.php(525): Sabre\\DAV\\Server->createFile('ATTAC vulgarisa...', Resource id #405, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/lib\\/composer\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/apps\\/dav\\/appinfo\\/v1\\/webdav.php(63): Sabre\\DAV\\Server->exec()\n#8 \\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/remote.php(165): require_once('\\/home\\/infoadre\\/...')\n#9 {main}\",\"File\":\"\\/home\\/infoadre\\/www\\/nuage\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/File.php\",\"Line\":175,\"User\":\"gilles\"}"}
{"reqId":"WnOV3goAPXgAAC0CGm8AAABk","level":3,"time":"2018-02-01T22:34:06+00:00","remoteAddr":"82.122.132.201","user":"gilles","app":"PHP","method":"GET","url":"\/nuage\/owncloud\/index.php\/settings\/admin?sectionid=general","message":"opendir(\/home\/infoadre\/www\/nuage\/owncloud\/themes): failed to open dir: No such file or directory at \/home\/infoadre\/www\/nuage\/owncloud\/apps\/templateeditor\/lib\/mailtemplate.php#155"}

take care


#2

Hi,

can you run an occ files:scan?