Hi,
Just woke up and saw that I can't upload any file from my desktop client. From the webpage, it works fine and the file is downloaded on my client. This is not huge files.
Message found in owncloud.log is :
{"reqId":"irZoc6dawXaVCDrdWPIY","level":4,"time":"2017-11-08T09:04:00+00:00","remoteAddr":"77.136.17.90","user":"user","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/user\/path\/to\/thefile\/modele1.psd-chunking-1811922759-2-0","message":"Exception: {\"Message\":\"HTTP\\/1.1 503 Specified header (HTTP_OC_CHUNKED\\/OC-Chunked header) is allowed only in webdav endpoint\",\"Exception\":\"Sabre\\DAV\\Exception\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\DAV\\Connector\\Sabre\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#1 \\/var\\/www\\/owncloud\\/lib\\/composer\\/sabre\\/event\\/lib\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \\/var\\/www\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(465): Sabre\\Event\\EventEmitter->emit('beforeMethod:PU...', Array)\n#3 \\/var\\/www\\/owncloud\\/lib\\/composer\\/sabre\\/dav\\/lib\\/DAV\\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \\/var\\/www\\/owncloud\\/apps\\/dav\\/lib\\/Server.php(234): Sabre\\DAV\\Server->exec()\n#5 \\/var\\/www\\/owncloud\\/apps\\/dav\\/appinfo\\/v2\\/remote.php(31): OCA\\DAV\\Server->exec()\n#6 \\/var\\/www\\/owncloud\\/remote.php(165): require_once('\\/var\\/www\\/ownclo...')\n#7 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/apps\\/dav\\/lib\\/Connector\\/Sabre\\/ValidateRequestPlugin.php\",\"Line\":96,\"User\":\"user\"}"}
Thanks !
Steps to reproduce
- Uploading a file from desktop client
Expected behaviour
Upload OK
Actual behaviour
Upload fails
Server configuration
Operating system: Ubuntu 16.04.3
Web server: Apache/2.4.18
Database: MySQL 5.7.20
PHP version: 7.1.11
ownCloud version: (see ownCloud admin page) 10.0.3
Updated from an older ownCloud or fresh install: Fresh install
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above): No errors have been found.
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'XXX.com',
),
'datadirectory' => '/var/www/owncloud/data',
'overwrite.cli.url' => 'https://XXX.com',
'dbtype' => 'mysql',
'version' => '10.0.3.3',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'logtimezone' => '',
'installed' => true,
'memcache.locking' => '\OC\Memcache\APCu',
);
List of activated apps:
Enabled:
- comments: 0.3.0
- configreport: 0.1.1
- dav: 0.3.0
- federatedfilesharing: 0.3.1
- federation: 0.1.0
- files: 1.5.1
- files_external: 0.7.1
- files_sharing: 0.10.1
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- market: 0.2.2
- notifications: 0.3.1
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.1
- updatenotification: 0.2.1
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Vivaldi 1.12.955.48
Operating system: Mac OSX 10.11.6
Logs
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
{"reqId":"1OsE4hnLZFvyfItI7Vwi","level":4,"time":"2017-11-08T09:03:59+00:00","remoteAddr":"77.136.17.90","user":"user","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/user\/path\/to\/thefile\/modele1.psd-chunking-1811922759-2-0","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Specified header (HTTP_OC_CHUNKED\\\/OC-Chunked header) is allowed only in webdav endpoint\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(465): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod:PU...', Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(234): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ValidateRequestPlugin.php\",\"Line\":96,\"User\":\"kevout\"}"}
{"reqId":"irZoc6dawXaVCDrdWPIY","level":4,"time":"2017-11-08T09:04:00+00:00","remoteAddr":"77.136.17.90","user":"user","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/user\/path\/to\/thefile\/modele1.psd-chunking-1811922759-2-0","message":"Exception: {\"Message\":\"HTTP\\\/1.1 503 Specified header (HTTP_OC_CHUNKED\\\/OC-Chunked header) is allowed only in webdav endpoint\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ValidateRequestPlugin->checkValidityPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(465): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod:PU...', Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(234): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ValidateRequestPlugin.php\",\"Line\":96,\"User\":\"kevout\"}"}
{"reqId":"Sp1IsSHA23JPa3Ipivap","level":4,"time":"2017-11-08T09:04:01+00:00","remoteAddr":"77.136.17.90","user":"user","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/user\/path\/to\/thefile\/20171108.png","message":"Exception: {\"Message\":\"HTTP\\\/1.1 400 The computed checksum does not match the one received from the client.\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(162): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #57)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1095): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('20171108.png', Resource id #57)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('files\\\/kevout\\\/E-...', Resource id #57, NULL)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#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))\\n#7 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(234): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":158,\"User\":\"kevout\"}"}
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...