2016-06-17

Hi. I put a load of mp3s into my owncloud folder (14GB in total) as a test for a new installation. I am doing it over the internet.

I am getting Unable to Write errors in the client (ownCloud-2.2.1.6146-setup) and am also getting fetal webdav errors in the log files.

i.e.

Exception: {"Message":"HTTP\/1.1 400 expected filesize 8271175 got 181248","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/directory.php(134): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #43)\n#1 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1036): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('11 Joyful Girl....', Resource id #43)\n#2 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(523): Sabre\\DAV\\Server->createFile('Music\/Ani Difra...', Resource id #43, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(55): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/owncloud\/remote.php(138): require_once('\/var\/www\/ownclo...')\n#9 {main}","File":"\/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/file.php","Line":149,"User":"ben"}

Which does not say the file but also have

Exception: {"Message":"HTTP\/1.1 423 \"Music\/Ani Difranco\/Dilate\/11 Joyful Girl.mp3\" is locked","Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/directory.php(134): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #43)\n#1 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1036): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('11 Joyful Girl....', Resource id #43)\n#2 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(523): Sabre\\DAV\\Server->createFile('Music\/Ani Difra...', Resource id #43, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(55): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/owncloud\/remote.php(138): require_once('\/var\/www\/ownclo...')\n#9 {main}","File":"\/var\/www\/owncloud\/apps\/dav\/lib\/connector\/sabre\/file.php","Line":174,"User":"ben"}

Which does say the file is locked. The file in question is under 8MB. I am getting a lots of these types of errors and all the files are under 10MB (I think, haven't checked them all, there are lots). Looking in the sync folder on my PC I can see there is a red x against one of the files. This is where it synced up to. The syncing seems to of stooped (red x also on taskbar owncloud icon) the file itself is around 5MB.

Have spent a while goodeling but people taking about lock problems are talking about very big files.

my config.php is

Code:

<?php
$CONFIG = array (
'instanceid' => 'oc2dgoo48jtq',
'passwordsalt' => 'jdtmUzZuZDfzmAYDQTIv0EKoFZ9Dtm',
'secret' => 'CwH4XgLjMSZ3LvrR1e8nQY3/8cyrbPqhD/Dg5Cwqds+Baxt1',
'trusted_domains' =>
array (
0 => 'prsc.noip.me',
),
'datadirectory' => '/var/www/owncloud/data',
'overwrite.cli.url' => 'https://192.168.1.50/owncloud',
'dbtype' => 'mysql',
'version' => '9.0.2.2',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' => 'object',
'logtimezone' => 'UTC',
'installed' => true,
'mail_from_address' => 'bene',
'mail_smtpmode' => 'php',
'mail_domain' => 'funkytwig.com',
'maintenance' => false,
'loglevel' => 4,
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'memcache.local' => '\OC\Memcache\APCu',
);
~

Any help greatly appreciated.
Ben

Statistics: Posted by funkytwig — Fri Jun 17, 2016 4:53 pm

Show more