Hi,
I have an owncloud setup and running for now 10 days and is working, on an Ubuntu server 18.04LTS runing with MySQL and Apache.
When I check at the logs, there is always the same issue repeating over and over :
I don’t think it is actually hurting the user experience (for now I havn’t) but I would have like to know why and how to solve it.
{“reqId”:“64a40c92-9e39-42fd-839b-d5b684397b10”,“level”:4,“time”:“2019-02-05T10:03:51+00:00”,“remoteAddr”:“192.168.1.154”,“user”:“5E08A3B5-F46D-4655-915B-449C6EE67BCE”,“app”:“webdav”,“method”:“PROPFIND”,“url”:"/remote.php/dav/files/5E08A3B5-F46D-4655-915B-449C6EE67BCE/Shared",“message”:“Exception: An exception occurred while executing 'UPDATE oc_filecache
SET size
=? WHERE (size
<> ? OR size
IS NULL) AND fileid
= ? ’ with params [-1, -1, “625714”]:\n\nSQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: {“Exception”:“Doctrine\\DBAL\\Exception\\DriverException”,“Message”:“An exception occurred while executing 'UPDATE oc_filecache
SET size
=? WHERE (size
<> ? OR size
IS NULL) AND fileid
= ? ’ with params [-1, -1, \“625714\”]:\n\nSQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction”,“Code”:0,“Trace”:”#0 \/var\/www\/html\/lib\/composer\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(128): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException(‘An exception oc…’, Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/html\/lib\/composer\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php(855): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), ‘UPDATE oc_file...', Array)\\n#2 \\\/var\\\/www\\\/html\\\/lib\\\/private\\\/DB\\\/Connection.php(187): Doctrine\\\\DBAL\\\\Connection->executeQuery('UPDATE
oc_file…’, Array, Array, NULL)\n#3 \/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php(326): OC\\DB\\Connection->executeQuery(‘UPDATE `oc_file…’, Array)\n#4 \/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php(406): OC\\Files\\Cache\\Cache->update(‘625714’, Array)\n#5 \/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php(328): OC\\Files\\Cache\\Scanner->scanChildren(’’, false, 3, ‘625714’, true)\n#6 \/var\/www\/html\/lib\/private\/Files\/View.php(1367): OC\\Files\\Cache\\Scanner->scan(’’, false)\n#7 \/var\/www\/html\/lib\/private\/Files\/View.php(1408): OC\\Files\\View->getCacheEntry(Object(OCA\\Files_Trashbin\\Storage), ‘’, ‘Shared’)\n#8 \/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/ObjectTree.php(179): OC\\Files\\View->getFileInfo(’\/5E08A3B5-F46D-…’)\n#9 \/var\/www\/html\/apps\/dav\/lib\/Tree.php(67): OCA\\DAV\\Connector\\Sabre\\ObjectTree->getNodeForPath(‘Shared’)\n#10 \/var\/www\/html\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(966): OCA\\DAV\\Tree->getNodeForPath(‘files\/5E08A3B5-…’)\n#11 \/var\/www\/html\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(1665): Sabre\\DAV\\Server->getPropertiesIteratorForPath(‘files\/5E08A3B5-…’, Array, 0)\n#12 \/var\/www\/html\/lib\/composer\/sabre\/dav\/lib\/DAV\/CorePlugin.php(355): Sabre\\DAV\\Server->generateMultiStatus(Object(Generator), false)\n#13 [internal function]: Sabre\\DAV\\CorePlugin->httpPropFind(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#14 \/var\/www\/html\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#15 \/var\/www\/html\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:PROPFIND’, Array)\n#16 \/var\/www\/html\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#17 \/var\/www\/html\/apps\/dav\/lib\/Server.php(298): Sabre\\DAV\\Server->exec()\n#18 \/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php(31): OCA\\DAV\\Server->exec()\n#19 \/var\/www\/html\/remote.php(165): require_once(’\/var\/www\/html\/a…’)\n#20 {main}",“File”:"\/var\/www\/html\/lib\/composer\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php",“Line”:115}"}
Server configuration
Operating system: Ubuntu 18.04LTS
Web server: Apache 2
Database: MySQL 14.14 Distrib 5.7.25 for Linux (x86_64)
PHP version: 7.2
ownCloud version: 10.0.10.4
Updated from an older ownCloud or fresh install: Fresh install
Thanks a lot for your help!
AM.