{"reqId":"riZBS6fd7hYtkmSh6w4d","level":0,"time":"2018-10-29T18:50:36+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params [\"7\", \"14\", 1494090201, 655, \"5bd7567c5e78c\", 1494090201, 27, 29827, \"\", \"883e7a025438168eebe9e9a6385f2c73\", \"mateusz\\\/komputerowe\\\/backupy\\\/ptaszor_z_windowsa\\\/MIOD-PITNY\\\/Data\\\/$OF\\\/76637\\\/24955 (2017_05_06 17_54_27 UTC).pyc\", \"24955 (2017_05_06 17_54_27 UTC).pyc\", 5, 5, \"883e7a025438168eebe9e9a6385f2c73\"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction","Code":0,"Trace":[{"file":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php","line":128,"function":"convertException","class":"Doctrine\\DBAL\\Driver\\AbstractMySQLDriver","type":"->","args":["An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params [\"7\", \"14\", 1494090201, 655, \"5bd7567c5e78c\", 1494090201, 27, 29827, \"\", \"883e7a025438168eebe9e9a6385f2c73\", \"mateusz\\\/komputerowe\\\/backupy\\\/ptaszor_z_windowsa\\\/MIOD-PITNY\\\/Data\\\/$OF\\\/76637\\\/24955 (2017_05_06 17_54_27 UTC).pyc\", \"24955 (2017_05_06 17_54_27 UTC).pyc\", 5, 5, \"883e7a025438168eebe9e9a6385f2c73\"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction",{"errorInfo":["40001",1213,"Deadlock found when trying to get lock; try restarting transaction"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"}]},{"file":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1015,"function":"driverExceptionDuringQuery","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["40001",1213,"Deadlock found when trying to get lock; try restarting transaction"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",{"1":"7","2":"14","3":1494090201,"4":655,"5":"5bd7567c5e78c","6":1494090201,"7":27,"8":29827,"9":"","10":"883e7a025438168eebe9e9a6385f2c73","11":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","12":"24955 (2017_05_06 17_54_27 UTC).pyc","13":5,"14":5,"15":"883e7a025438168eebe9e9a6385f2c73"}]},{"file":"\/data\/app\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"],[]]},{"file":"\/data\/app\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"]]},{"file":"\/data\/app\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"7","mimetype":"14","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"parent":29827,"checksum":"","path_hash":"883e7a025438168eebe9e9a6385f2c73","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc","storage":5},["storage","path_hash"]]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"7","mimetype":"14","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"parent":29827,"checksum":"","path_hash":"883e7a025438168eebe9e9a6385f2c73","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc","storage":5},["storage","path_hash"]]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Wrapper\/CacheWrapper.php","line":128,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":29827,"checksum":"","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc"}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Wrapper\/CacheWrapper.php","line":114,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""},-1]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":438,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",3,"29827",false,true]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":406,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3,"29827",true,0]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":338,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3,"29827",true]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":521,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":532,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":522,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[{"__class__":"Closure"},"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637"]},{"file":"\/data\/app\/lib\/private\/Files\/Utils\/Scanner.php","line":173,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[]},{"file":"\/data\/app\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":88,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":[""]},{"file":"\/data\/app\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":112,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"\/data\/app\/lib\/private\/BackgroundJob\/Job.php","line":61,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[null]},{"file":"\/data\/app\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/data\/app\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":115,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDOException","Message":"SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction","Code":"40001","Trace":[{"file":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"]]},{"file":"\/data\/app\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"],[]]},{"file":"\/data\/app\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"]]},{"file":"\/data\/app\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"7","mimetype":"14","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"parent":29827,"checksum":"","path_hash":"883e7a025438168eebe9e9a6385f2c73","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc","storage":5},["storage","path_hash"]]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"7","mimetype":"14","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"parent":29827,"checksum":"","path_hash":"883e7a025438168eebe9e9a6385f2c73","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc","storage":5},["storage","path_hash"]]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Wrapper\/CacheWrapper.php","line":128,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":29827,"checksum":"","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc"}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Wrapper\/CacheWrapper.php","line":114,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""},-1]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":438,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",3,"29827",false,true]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":406,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3,"29827",true,0]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":338,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3,"29827",true]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":521,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":532,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":522,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[{"__class__":"Closure"},"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637"]},{"file":"\/data\/app\/lib\/private\/Files\/Utils\/Scanner.php","line":173,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[]},{"file":"\/data\/app\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":88,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":[""]},{"file":"\/data\/app\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":112,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"\/data\/app\/lib\/private\/BackgroundJob\/Job.php","line":61,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[null]},{"file":"\/data\/app\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/data\/app\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":107,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction","Code":"40001","Trace":[{"file":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","line":105,"function":"execute","class":"PDOStatement","type":"->","args":[["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"]]},{"file":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"]]},{"file":"\/data\/app\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"],[]]},{"file":"\/data\/app\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `oc_filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["7","14",1494090201,655,"5bd7567c5e78c",1494090201,27,29827,"","883e7a025438168eebe9e9a6385f2c73","mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","24955 (2017_05_06 17_54_27 UTC).pyc",5,5,"883e7a025438168eebe9e9a6385f2c73"]]},{"file":"\/data\/app\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"7","mimetype":"14","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"parent":29827,"checksum":"","path_hash":"883e7a025438168eebe9e9a6385f2c73","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc","storage":5},["storage","path_hash"]]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"7","mimetype":"14","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"parent":29827,"checksum":"","path_hash":"883e7a025438168eebe9e9a6385f2c73","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc","storage":5},["storage","path_hash"]]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Wrapper\/CacheWrapper.php","line":128,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":29827,"checksum":"","path":"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc","name":"24955 (2017_05_06 17_54_27 UTC).pyc"}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Wrapper\/CacheWrapper.php","line":114,"function":"insert","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Wrapper\\CacheWrapper","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""}]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",{"mimetype":"application\/octet-stream","mtime":1494090201,"size":655,"etag":"5bd7567c5e78c","storage_mtime":1494090201,"permissions":27,"scan_permissions":27,"parent":"29827","checksum":""},-1]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":438,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc",3,"29827",false,true]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":406,"function":"handleChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3,"29827",true,0]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":338,"function":"scanChildren","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3,"29827",true]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":521,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637",2,3]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":532,"function":"OC\\Files\\Cache\\{closure}","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/data\/app\/lib\/private\/Files\/Cache\/Scanner.php","line":522,"function":"runBackgroundScanJob","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[{"__class__":"Closure"},"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637"]},{"file":"\/data\/app\/lib\/private\/Files\/Utils\/Scanner.php","line":173,"function":"backgroundScan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":[]},{"file":"\/data\/app\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":88,"function":"backgroundScan","class":"OC\\Files\\Utils\\Scanner","type":"->","args":[""]},{"file":"\/data\/app\/apps\/files\/lib\/BackgroundJob\/ScanFiles.php","line":112,"function":"runScanner","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[{"__class__":"OC\\User\\User"}]},{"file":"\/data\/app\/lib\/private\/BackgroundJob\/Job.php","line":61,"function":"run","class":"OCA\\Files\\BackgroundJob\\ScanFiles","type":"->","args":[null]},{"file":"\/data\/app\/lib\/private\/BackgroundJob\/TimedJob.php","line":55,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]},{"file":"\/data\/app\/cron.php","line":123,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->","args":[{"__class__":"OC\\BackgroundJob\\JobList"},{"__class__":"OC\\Log"}]}],"File":"\/data\/app\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":105}},"CustomMessage":"Exception while scanning file \"mateusz\/komputerowe\/backupy\/ptaszor_z_windowsa\/MIOD-PITNY\/Data\/$OF\/76637\/24955 (2017_05_06 17_54_27 UTC).pyc\""},"userAgent":"--","version":"14.0.3.0"}
Let's say the the problem is something like this:
– erroneous parsing of a filepath
– therefore invalid file cache (my uneducated guess: but not necesarrily broken database)
What would be the approach then? I'd be happy to rename/remove those offending files with fancy filepaths, clean the file cache and rerun the scan.
Do you think it is a viable course to take? How to debug more.. Thanks,
–Mateusz
Steps to reproduce
Expected behaviour
regular Nextcloud start
Actual behaviour
Tell us what happens instead
Server configuration
Operating system:
Armbian 5.25 Debian 8 Jessie 4.14.70
Web server:
Apache 2.4.25, with HTTP2 enabled
Database:
MariaDB 10
PHP version:
PHP 7.2
Nextcloud version: (see Nextcloud admin page)
14.0.3.0
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh
Where did you install Nextcloud from:
NextcloudPi flavour run as docker container
List of activated apps:
Nextcloud configuration:
App list:
config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
– federated Nextcloud over internet
– FTP local storage
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Logs
Web server error log
Web server error log
Web server keep spitting JSONs like this:
few more of them here https://paste.ee/p/36Mch) the only difference is the filename in question
Nextcloud log (data/nextcloud.log)
Nextcloud log
The whole log is 32MiB. There is one very strange line which is 9MiB long… it includes some paths in it, which I enclose below. Seems like parsing of
#sign is dodgy.. idkfilename as in log this is strange. those `#` characters
actual filepath
BONUS offending command log
file content:
log
Every other
occcommand throws the same traceI'm very eager to perform any additional tests per request 🙄