Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while syncing - Updated Errorlog #11734

Closed
Tockra opened this issue Oct 10, 2018 · 8 comments
Closed

Errors while syncing - Updated Errorlog #11734

Tockra opened this issue Oct 10, 2018 · 8 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity

Comments

@Tockra
Copy link

Tockra commented Oct 10, 2018

Steps to reproduce

  1. Create Nextcloud server with following docker-compose settings:
version: "3.7"
services:
    database_nextcloud:
        image: mariadb
        command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
        restart: always
        volumes:
            - ./data/nextcloud/database/:/var/lib/mysql
        environment:
            MYSQL_ROOT_PASSWORD: PW
        env_file:
            - ./build/db.env

    app:
        build: ./build/cron/.
        restart: always
        volumes:
            - ./data/nextcloud/files/:/var/www/html/
        environment:
            MYSQL_HOST: database_nextcloud
        env_file:
            - build/db.env
        depends_on:
            - database_nextcloud

    nextcloud:
        build: ./build/web
        restart: always
        volumes:
            - ./data/nextcloud/files/:/var/www/html:ro
        environment:
            VIRTUAL_HOST: domain.de
        expose:
            - "443"
            - "80"
        depends_on:
            - app
        networks:
            - proxy-tier
            - default

    web:
        build: ./build/proxy
        labels:
            com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: true
        restart: always
        ports:
            - 80:80
            - 443:443
        volumes:
            - ./data/proxy/certs/:/etc/nginx/certs
            - ./data/proxy/vhost.d/:/etc/nginx/vhost.d
            - ./data/proxy/html/:/usr/share/nginx/html
            - /var/run/docker.sock:/tmp/docker.sock:ro
        networks:
            - proxy-tier

build/db.env:

MYSQL_PASSWORD=PW
MYSQL_DATABASE=database
MYSQL_USER=nextcloud

build/cron/Dockerfile:

FROM nextcloud:fpm

RUN apt-get update && apt-get install -y \
    supervisor \
  && rm -rf /var/lib/apt/lists/* \
  && mkdir /var/log/supervisord /var/run/supervisord

COPY supervisord.conf /etc/supervisor/supervisord.conf

CMD ["/usr/bin/supervisord"]

build/web/Dockerfile:

FROM nginx

COPY nginx.conf /etc/nginx/nginx.conf

nginx.conf:
https://github.com/nextcloud/docker/blob/master/.examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf

build/proxy/Dockerfile:

FROM jwilder/nginx-proxy:alpine

COPY uploadsize.conf /etc/nginx/conf.d/uploadsize.conf

uploadsize.conf:
client_max_body_size 200G;

Expected behaviour

Syncing without Problems.

Actual behaviour

Syncing with Sync errors :(

Server configuration

Operating system: See Dockerfile...

Web server:
Nginx. See Above.

Database:
MariaDB. See Above.

PHP version:
See Above.
Nextcloud version: (see Nextcloud admin page)
Dockerversion. See Above.
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh

Logs

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"gDWVGB9uyGqtk817qwoa","level":4,"time":"2018-10-11T20:03:25+00:00","remoteAddr":"192.168.178.26","user":"Tockra","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","message":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0' with params [\"files\\\/2a27cea5c7492b764c5e32ef3a873746\", -1, 1539291805, \"files\\\/2a27cea5c7492b764c5e32ef3a873746\"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction","Code":0,"Trace":[{"file":"\/var\/www\/html\/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 `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0' with params [\"files\\\/2a27cea5c7492b764c5e32ef3a873746\", -1, 1539291805, \"files\\\/2a27cea5c7492b764c5e32ef3a873746\"]:\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":"\/var\/www\/html\/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 `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",{"1":"files\/2a27cea5c7492b764c5e32ef3a873746","2":-1,"3":1539291805,"4":"files\/2a27cea5c7492b764c5e32ef3a873746"}]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*file_locks",{"key":"files\/2a27cea5c7492b764c5e32ef3a873746","lock":-1,"ttl":1539291805},["key"]]},{"file":"\/var\/www\/html\/lib\/private\/Lock\/DBLockingProvider.php","line":136,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*file_locks",{"key":"files\/2a27cea5c7492b764c5e32ef3a873746","lock":-1,"ttl":1539291805},["key"]]},{"file":"\/var\/www\/html\/lib\/private\/Lock\/DBLockingProvider.php","line":196,"function":"initLockField","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files\/2a27cea5c7492b764c5e32ef3a873746",-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Storage\/Common.php","line":713,"function":"acquireLock","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files\/2a27cea5c7492b764c5e32ef3a873746",2]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":592,"function":"acquireLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,{"__class__":"OC\\Lock\\DBLockingProvider"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/View.php","line":1923,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,{"__class__":"OC\\Lock\\DBLockingProvider"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/View.php","line":2033,"function":"lockPath","class":"OC\\Files\\View","type":"->","args":["\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":154,"function":"lockFile","class":"OC\\Files\\View","type":"->","args":["\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["userbouquet.dbe05.tv_bak",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/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":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*file_locks",{"key":"files\/2a27cea5c7492b764c5e32ef3a873746","lock":-1,"ttl":1539291805},["key"]]},{"file":"\/var\/www\/html\/lib\/private\/Lock\/DBLockingProvider.php","line":136,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*file_locks",{"key":"files\/2a27cea5c7492b764c5e32ef3a873746","lock":-1,"ttl":1539291805},["key"]]},{"file":"\/var\/www\/html\/lib\/private\/Lock\/DBLockingProvider.php","line":196,"function":"initLockField","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files\/2a27cea5c7492b764c5e32ef3a873746",-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Storage\/Common.php","line":713,"function":"acquireLock","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files\/2a27cea5c7492b764c5e32ef3a873746",2]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":592,"function":"acquireLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,{"__class__":"OC\\Lock\\DBLockingProvider"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/View.php","line":1923,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,{"__class__":"OC\\Lock\\DBLockingProvider"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/View.php","line":2033,"function":"lockPath","class":"OC\\Files\\View","type":"->","args":["\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":154,"function":"lockFile","class":"OC\\Files\\View","type":"->","args":["\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["userbouquet.dbe05.tv_bak",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/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":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","line":105,"function":"execute","class":"PDOStatement","type":"->","args":[["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"]]},{"file":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",["files\/2a27cea5c7492b764c5e32ef3a873746",-1,1539291805,"files\/2a27cea5c7492b764c5e32ef3a873746"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*file_locks",{"key":"files\/2a27cea5c7492b764c5e32ef3a873746","lock":-1,"ttl":1539291805},["key"]]},{"file":"\/var\/www\/html\/lib\/private\/Lock\/DBLockingProvider.php","line":136,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*file_locks",{"key":"files\/2a27cea5c7492b764c5e32ef3a873746","lock":-1,"ttl":1539291805},["key"]]},{"file":"\/var\/www\/html\/lib\/private\/Lock\/DBLockingProvider.php","line":196,"function":"initLockField","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files\/2a27cea5c7492b764c5e32ef3a873746",-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Storage\/Common.php","line":713,"function":"acquireLock","class":"OC\\Lock\\DBLockingProvider","type":"->","args":["files\/2a27cea5c7492b764c5e32ef3a873746",2]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":592,"function":"acquireLock","class":"OC\\Files\\Storage\\Common","type":"->","args":["files\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,{"__class__":"OC\\Lock\\DBLockingProvider"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/View.php","line":1923,"function":"acquireLock","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,{"__class__":"OC\\Lock\\DBLockingProvider"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/View.php","line":2033,"function":"lockPath","class":"OC\\Files\\View","type":"->","args":["\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":154,"function":"lockFile","class":"OC\\Files\\View","type":"->","args":["\/Tockra\/files\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak.upload.part",2]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["userbouquet.dbe05.tv_bak",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/files\/Tockra\/Documents\/Dreamedit\/settings\/userbouquet.dbe05.tv_bak","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":105}},"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"14.0.1.1"}
{"reqId":"ohdQ5yQpFDZgJAaBpGFq","level":4,"time":"2018-10-11T20:03:52+00:00","remoteAddr":"192.168.178.26","user":"Tockra","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","message":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params [\"3\", \"15\", 1539288232, 10000000, \"5fd8b87befe81b6d4918256c6037840a\", 1539288232, 27, 334, \"\", \"dcaa7f17da756020fda41be642b2d49e\", \"uploads\\\/620794503\\\/00000015\", \"00000015\", 2, 2, \"dcaa7f17da756020fda41be642b2d49e\"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction","Code":0,"Trace":[{"file":"\/var\/www\/html\/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 `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params [\"3\", \"15\", 1539288232, 10000000, \"5fd8b87befe81b6d4918256c6037840a\", 1539288232, 27, 334, \"\", \"dcaa7f17da756020fda41be642b2d49e\", \"uploads\\\/620794503\\\/00000015\", \"00000015\", 2, 2, \"dcaa7f17da756020fda41be642b2d49e\"]:\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":"\/var\/www\/html\/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 `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",{"1":"3","2":"15","3":1539288232,"4":10000000,"5":"5fd8b87befe81b6d4918256c6037840a","6":1539288232,"7":27,"8":334,"9":"","10":"dcaa7f17da756020fda41be642b2d49e","11":"uploads\/620794503\/00000015","12":"00000015","13":2,"14":2,"15":"dcaa7f17da756020fda41be642b2d49e"}]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path_hash":"dcaa7f17da756020fda41be642b2d49e","path":"uploads\/620794503\/00000015","name":"00000015","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path_hash":"dcaa7f17da756020fda41be642b2d49e","path":"uploads\/620794503\/00000015","name":"00000015","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":229,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path":"uploads\/620794503\/00000015","name":"00000015"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":""}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":""},-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",3,334,false,false]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Updater.php","line":124,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",false,3,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":235,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":["uploads\/620794503\/00000015"]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["00000015",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["00000015",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Tockra\/620794503\/00000015",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/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":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path_hash":"dcaa7f17da756020fda41be642b2d49e","path":"uploads\/620794503\/00000015","name":"00000015","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path_hash":"dcaa7f17da756020fda41be642b2d49e","path":"uploads\/620794503\/00000015","name":"00000015","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":229,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path":"uploads\/620794503\/00000015","name":"00000015"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":""}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":""},-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",3,334,false,false]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Updater.php","line":124,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",false,3,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":235,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":["uploads\/620794503\/00000015"]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["00000015",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["00000015",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Tockra\/620794503\/00000015",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/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":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","line":105,"function":"execute","class":"PDOStatement","type":"->","args":[["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"]]},{"file":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288232,10000000,"5fd8b87befe81b6d4918256c6037840a",1539288232,27,334,"","dcaa7f17da756020fda41be642b2d49e","uploads\/620794503\/00000015","00000015",2,2,"dcaa7f17da756020fda41be642b2d49e"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path_hash":"dcaa7f17da756020fda41be642b2d49e","path":"uploads\/620794503\/00000015","name":"00000015","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path_hash":"dcaa7f17da756020fda41be642b2d49e","path":"uploads\/620794503\/00000015","name":"00000015","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":229,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":"","path":"uploads\/620794503\/00000015","name":"00000015"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":""}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",{"mimetype":"application\/octet-stream","mtime":1539288232,"size":10000000,"etag":"5fd8b87befe81b6d4918256c6037840a","storage_mtime":1539288232,"permissions":27,"parent":334,"checksum":""},-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",3,334,false,false]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Updater.php","line":124,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/620794503\/00000015",false,3,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":235,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":["uploads\/620794503\/00000015"]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["00000015",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["00000015",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Tockra\/620794503\/00000015",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/620794503\/00000015","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":105}},"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"14.0.1.1"}
{"reqId":"ePmuJI1ndpoAutnf0DLj","level":4,"time":"2018-10-11T20:05:02+00:00","remoteAddr":"192.168.178.26","user":"Tockra","app":"webdav","method":"PUT","url":"\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","message":{"Exception":"Doctrine\\DBAL\\Exception\\DriverException","Message":"An exception occurred while executing 'INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params [\"3\", \"15\", 1539288302, 10000000, \"15c5685cda69f06e43ebbdbf301b9946\", 1539288302, 27, 323, \"\", \"96b0923391f6cb565b58e2ad507d9517\", \"uploads\\\/3385400856\\\/00000095\", \"00000095\", 2, 2, \"96b0923391f6cb565b58e2ad507d9517\"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction","Code":0,"Trace":[{"file":"\/var\/www\/html\/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 `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0' with params [\"3\", \"15\", 1539288302, 10000000, \"15c5685cda69f06e43ebbdbf301b9946\", 1539288302, 27, 323, \"\", \"96b0923391f6cb565b58e2ad507d9517\", \"uploads\\\/3385400856\\\/00000095\", \"00000095\", 2, 2, \"96b0923391f6cb565b58e2ad507d9517\"]:\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":"\/var\/www\/html\/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 `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",{"1":"3","2":"15","3":1539288302,"4":10000000,"5":"15c5685cda69f06e43ebbdbf301b9946","6":1539288302,"7":27,"8":323,"9":"","10":"96b0923391f6cb565b58e2ad507d9517","11":"uploads\/3385400856\/00000095","12":"00000095","13":2,"14":2,"15":"96b0923391f6cb565b58e2ad507d9517"}]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path_hash":"96b0923391f6cb565b58e2ad507d9517","path":"uploads\/3385400856\/00000095","name":"00000095","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path_hash":"96b0923391f6cb565b58e2ad507d9517","path":"uploads\/3385400856\/00000095","name":"00000095","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":229,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path":"uploads\/3385400856\/00000095","name":"00000095"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":""}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":""},-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",3,323,false,false]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Updater.php","line":124,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",false,3,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":235,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":["uploads\/3385400856\/00000095"]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["00000095",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["00000095",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Tockra\/3385400856\/00000095",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/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":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path_hash":"96b0923391f6cb565b58e2ad507d9517","path":"uploads\/3385400856\/00000095","name":"00000095","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path_hash":"96b0923391f6cb565b58e2ad507d9517","path":"uploads\/3385400856\/00000095","name":"00000095","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":229,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path":"uploads\/3385400856\/00000095","name":"00000095"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":""}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":""},-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",3,323,false,false]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Updater.php","line":124,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",false,3,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":235,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":["uploads\/3385400856\/00000095"]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["00000095",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["00000095",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Tockra\/3385400856\/00000095",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/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":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","line":105,"function":"execute","class":"PDOStatement","type":"->","args":[["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"]]},{"file":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":1008,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\DBAL\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"],[]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Adapter.php","line":114,"function":"executeUpdate","class":"OC\\DB\\Connection","type":"->","args":["INSERT INTO `filecache` (`mimepart`,`mimetype`,`mtime`,`size`,`etag`,`storage_mtime`,`permissions`,`parent`,`checksum`,`path_hash`,`path`,`name`,`storage`) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,? FROM `filecache` WHERE `storage` = ? AND `path_hash` = ? HAVING COUNT(*) = 0",["3","15",1539288302,10000000,"15c5685cda69f06e43ebbdbf301b9946",1539288302,27,323,"","96b0923391f6cb565b58e2ad507d9517","uploads\/3385400856\/00000095","00000095",2,2,"96b0923391f6cb565b58e2ad507d9517"]]},{"file":"\/var\/www\/html\/lib\/private\/DB\/Connection.php","line":254,"function":"insertIfNotExist","class":"OC\\DB\\Adapter","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path_hash":"96b0923391f6cb565b58e2ad507d9517","path":"uploads\/3385400856\/00000095","name":"00000095","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":272,"function":"insertIfNotExist","class":"OC\\DB\\Connection","type":"->","args":["*PREFIX*filecache",{"mimepart":"3","mimetype":"15","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path_hash":"96b0923391f6cb565b58e2ad507d9517","path":"uploads\/3385400856\/00000095","name":"00000095","storage":2},["storage","path_hash"]]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Cache.php","line":229,"function":"insert","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":"","path":"uploads\/3385400856\/00000095","name":"00000095"}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":292,"function":"put","class":"OC\\Files\\Cache\\Cache","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":""}]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":221,"function":"addToCache","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",{"mimetype":"application\/octet-stream","mtime":1539288302,"size":10000000,"etag":"15c5685cda69f06e43ebbdbf301b9946","storage_mtime":1539288302,"permissions":27,"parent":323,"checksum":""},-1]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Scanner.php","line":336,"function":"scanFile","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",3,323,false,false]},{"file":"\/var\/www\/html\/lib\/private\/Files\/Cache\/Updater.php","line":124,"function":"scan","class":"OC\\Files\\Cache\\Scanner","type":"->","args":["uploads\/3385400856\/00000095",false,3,false]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":235,"function":"update","class":"OC\\Files\\Cache\\Updater","type":"->","args":["uploads\/3385400856\/00000095"]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["00000095",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["00000095",null]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":529,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Tockra\/3385400856\/00000095",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/var\/www\/html\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"http:\/\/homemedia\/remote.php\/dav\/uploads\/Tockra\/3385400856\/00000095","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/var\/www\/html\/apps\/dav\/lib\/Server.php","line":293,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/var\/www\/html\/remote.php","line":163,"args":["\/var\/www\/html\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/var\/www\/html\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/PDOStatement.php","Line":105}},"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.3 (build 1) (Nextcloud)","version":"14.0.1.1"}

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #4392 (Error while syncing/uploading large files), #2020 (Fatal webdav error when syncing shared files and encryption activated), #3406 (Client stops syncing due to server error), #4201 (Multiple Errors), and #9004 (Permissions error).

@Tockra
Copy link
Author

Tockra commented Oct 10, 2018

#4392:
That files aren't large. Documents/Hobby%20Root/hl2dm/vorlage/hl2/models/humans/group01/female_04.mdl has size 130KB

#2020: Don't seems to be the same errors.

#3406: Don't seems to be the same errors.

#4201: Don't seems to be the same errors.

#9004: Don't seems to be the same errors.

@Tockra Tockra changed the title Errors while syncing Errors while syncing - Updated Errorlog Oct 11, 2018
@Tockra
Copy link
Author

Tockra commented Oct 11, 2018

After removing all saved files on the server and "reinstalling", I get errors while syncing files to server (see changed log)

@skjnldsv skjnldsv added 0. Needs triage Pending check for reproducibility or if it fits our roadmap 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jun 12, 2019
@skjnldsv
Copy link
Member

skjnldsv commented Jun 14, 2019

{
  "reqId": "gDWVGB9uyGqtk817qwoa",
  "level": 4,
  "time": "2018-10-11T20:03:25+00:00",
  "remoteAddr": "192.168.178.26",
  "user": "Tockra",
  "app": "webdav",
  "method": "PUT",
  "url": "/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
  "message": {
    "Exception": "Doctrine\\DBAL\\Exception\\DriverException",
    "Message": "An exception occurred while executing 'INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0' with params [\"files\\/2a27cea5c7492b764c5e32ef3a873746\", -1, 1539291805, \"files\\/2a27cea5c7492b764c5e32ef3a873746\"]:\n\nSQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/html/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 `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0' with params [\"files\\/2a27cea5c7492b764c5e32ef3a873746\", -1, 1539291805, \"files\\/2a27cea5c7492b764c5e32ef3a873746\"]:\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": "/var/www/html/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 `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
          {
            "1": "files/2a27cea5c7492b764c5e32ef3a873746",
            "2": -1,
            "3": 1539291805,
            "4": "files/2a27cea5c7492b764c5e32ef3a873746"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/DB/Connection.php",
        "line": 216,
        "function": "executeUpdate",
        "class": "Doctrine\\DBAL\\Connection",
        "type": "->",
        "args": [
          "INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
          [
            "files/2a27cea5c7492b764c5e32ef3a873746",
            -1,
            1539291805,
            "files/2a27cea5c7492b764c5e32ef3a873746"
          ],
          []
        ]
      },
      {
        "file": "/var/www/html/lib/private/DB/Adapter.php",
        "line": 114,
        "function": "executeUpdate",
        "class": "OC\\DB\\Connection",
        "type": "->",
        "args": [
          "INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
          [
            "files/2a27cea5c7492b764c5e32ef3a873746",
            -1,
            1539291805,
            "files/2a27cea5c7492b764c5e32ef3a873746"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/DB/Connection.php",
        "line": 254,
        "function": "insertIfNotExist",
        "class": "OC\\DB\\Adapter",
        "type": "->",
        "args": [
          "*PREFIX*file_locks",
          {
            "key": "files/2a27cea5c7492b764c5e32ef3a873746",
            "lock": -1,
            "ttl": 1539291805
          },
          [
            "key"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/Lock/DBLockingProvider.php",
        "line": 136,
        "function": "insertIfNotExist",
        "class": "OC\\DB\\Connection",
        "type": "->",
        "args": [
          "*PREFIX*file_locks",
          {
            "key": "files/2a27cea5c7492b764c5e32ef3a873746",
            "lock": -1,
            "ttl": 1539291805
          },
          [
            "key"
          ]
        ]
      },
      {
        "file": "/var/www/html/lib/private/Lock/DBLockingProvider.php",
        "line": 196,
        "function": "initLockField",
        "class": "OC\\Lock\\DBLockingProvider",
        "type": "->",
        "args": [
          "files/2a27cea5c7492b764c5e32ef3a873746",
          -1
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/Storage/Common.php",
        "line": 713,
        "function": "acquireLock",
        "class": "OC\\Lock\\DBLockingProvider",
        "type": "->",
        "args": [
          "files/2a27cea5c7492b764c5e32ef3a873746",
          2
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php",
        "line": 592,
        "function": "acquireLock",
        "class": "OC\\Files\\Storage\\Common",
        "type": "->",
        "args": [
          "files/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
          2,
          {
            "__class__": "OC\\Lock\\DBLockingProvider"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/View.php",
        "line": 1923,
        "function": "acquireLock",
        "class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
        "type": "->",
        "args": [
          "files/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
          2,
          {
            "__class__": "OC\\Lock\\DBLockingProvider"
          }
        ]
      },
      {
        "file": "/var/www/html/lib/private/Files/View.php",
        "line": 2033,
        "function": "lockPath",
        "class": "OC\\Files\\View",
        "type": "->",
        "args": [
          "/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
          2,
          false
        ]
      },
      {
        "file": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
        "line": 154,
        "function": "lockFile",
        "class": "OC\\Files\\View",
        "type": "->",
        "args": [
          "/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
          2
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 1096,
        "function": "createFile",
        "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
        "type": "->",
        "args": [
          "userbouquet.dbe05.tv_bak",
          null
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
        "line": 529,
        "function": "createFile",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          "files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
          null,
          null
        ]
      },
      {
        "function": "httpPut",
        "class": "Sabre\\DAV\\CorePlugin",
        "type": "->",
        "args": [
          {
            "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
            "__class__": "Sabre\\HTTP\\Request"
          },
          {
            "__class__": "Sabre\\HTTP\\Response"
          }
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php",
        "line": 105,
        "function": "call_user_func_array",
        "args": [
          [
            {
              "__class__": "Sabre\\DAV\\CorePlugin"
            },
            "httpPut"
          ],
          [
            {
              "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 479,
        "function": "emit",
        "class": "Sabre\\Event\\EventEmitter",
        "type": "->",
        "args": [
          "method:PUT",
          [
            {
              "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        ]
      },
      {
        "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 254,
        "function": "invokeMethod",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": [
          {
            "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
            "__class__": "Sabre\\HTTP\\Request"
          },
          {
            "__class__": "Sabre\\HTTP\\Response"
          }
        ]
      },
      {
        "file": "/var/www/html/apps/dav/lib/Server.php",
        "line": 293,
        "function": "exec",
        "class": "Sabre\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
        "line": 35,
        "function": "exec",
        "class": "OCA\\DAV\\Server",
        "type": "->",
        "args": []
      },
      {
        "file": "/var/www/html/remote.php",
        "line": 163,
        "args": [
          "/var/www/html/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/html/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": "/var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php",
          "line": 1008,
          "function": "execute",
          "class": "Doctrine\\DBAL\\Driver\\PDOStatement",
          "type": "->",
          "args": [
            [
              "files/2a27cea5c7492b764c5e32ef3a873746",
              -1,
              1539291805,
              "files/2a27cea5c7492b764c5e32ef3a873746"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/DB/Connection.php",
          "line": 216,
          "function": "executeUpdate",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->",
          "args": [
            "INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
            [
              "files/2a27cea5c7492b764c5e32ef3a873746",
              -1,
              1539291805,
              "files/2a27cea5c7492b764c5e32ef3a873746"
            ],
            []
          ]
        },
        {
          "file": "/var/www/html/lib/private/DB/Adapter.php",
          "line": 114,
          "function": "executeUpdate",
          "class": "OC\\DB\\Connection",
          "type": "->",
          "args": [
            "INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
            [
              "files/2a27cea5c7492b764c5e32ef3a873746",
              -1,
              1539291805,
              "files/2a27cea5c7492b764c5e32ef3a873746"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/DB/Connection.php",
          "line": 254,
          "function": "insertIfNotExist",
          "class": "OC\\DB\\Adapter",
          "type": "->",
          "args": [
            "*PREFIX*file_locks",
            {
              "key": "files/2a27cea5c7492b764c5e32ef3a873746",
              "lock": -1,
              "ttl": 1539291805
            },
            [
              "key"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Lock/DBLockingProvider.php",
          "line": 136,
          "function": "insertIfNotExist",
          "class": "OC\\DB\\Connection",
          "type": "->",
          "args": [
            "*PREFIX*file_locks",
            {
              "key": "files/2a27cea5c7492b764c5e32ef3a873746",
              "lock": -1,
              "ttl": 1539291805
            },
            [
              "key"
            ]
          ]
        },
        {
          "file": "/var/www/html/lib/private/Lock/DBLockingProvider.php",
          "line": 196,
          "function": "initLockField",
          "class": "OC\\Lock\\DBLockingProvider",
          "type": "->",
          "args": [
            "files/2a27cea5c7492b764c5e32ef3a873746",
            -1
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Storage/Common.php",
          "line": 713,
          "function": "acquireLock",
          "class": "OC\\Lock\\DBLockingProvider",
          "type": "->",
          "args": [
            "files/2a27cea5c7492b764c5e32ef3a873746",
            2
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php",
          "line": 592,
          "function": "acquireLock",
          "class": "OC\\Files\\Storage\\Common",
          "type": "->",
          "args": [
            "files/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
            2,
            {
              "__class__": "OC\\Lock\\DBLockingProvider"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/View.php",
          "line": 1923,
          "function": "acquireLock",
          "class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
          "type": "->",
          "args": [
            "files/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
            2,
            {
              "__class__": "OC\\Lock\\DBLockingProvider"
            }
          ]
        },
        {
          "file": "/var/www/html/lib/private/Files/View.php",
          "line": 2033,
          "function": "lockPath",
          "class": "OC\\Files\\View",
          "type": "->",
          "args": [
            "/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
            2,
            false
          ]
        },
        {
          "file": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
          "line": 154,
          "function": "lockFile",
          "class": "OC\\Files\\View",
          "type": "->",
          "args": [
            "/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
            2
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 1096,
          "function": "createFile",
          "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
          "type": "->",
          "args": [
            "userbouquet.dbe05.tv_bak",
            null
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
          "line": 529,
          "function": "createFile",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": [
            "files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
            null,
            null
          ]
        },
        {
          "function": "httpPut",
          "class": "Sabre\\DAV\\CorePlugin",
          "type": "->",
          "args": [
            {
              "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php",
          "line": 105,
          "function": "call_user_func_array",
          "args": [
            [
              {
                "__class__": "Sabre\\DAV\\CorePlugin"
              },
              "httpPut"
            ],
            [
              {
                "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
                "__class__": "Sabre\\HTTP\\Request"
              },
              {
                "__class__": "Sabre\\HTTP\\Response"
              }
            ]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 479,
          "function": "emit",
          "class": "Sabre\\Event\\EventEmitter",
          "type": "->",
          "args": [
            "method:PUT",
            [
              {
                "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
                "__class__": "Sabre\\HTTP\\Request"
              },
              {
                "__class__": "Sabre\\HTTP\\Response"
              }
            ]
          ]
        },
        {
          "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
          "line": 254,
          "function": "invokeMethod",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": [
            {
              "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
              "__class__": "Sabre\\HTTP\\Request"
            },
            {
              "__class__": "Sabre\\HTTP\\Response"
            }
          ]
        },
        {
          "file": "/var/www/html/apps/dav/lib/Server.php",
          "line": 293,
          "function": "exec",
          "class": "Sabre\\DAV\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
          "line": 35,
          "function": "exec",
          "class": "OCA\\DAV\\Server",
          "type": "->",
          "args": []
        },
        {
          "file": "/var/www/html/remote.php",
          "line": 163,
          "args": [
            "/var/www/html/apps/dav/appinfo/v2/remote.php"
          ],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/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": "/var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php",
            "line": 105,
            "function": "execute",
            "class": "PDOStatement",
            "type": "->",
            "args": [
              [
                "files/2a27cea5c7492b764c5e32ef3a873746",
                -1,
                1539291805,
                "files/2a27cea5c7492b764c5e32ef3a873746"
              ]
            ]
          },
          {
            "file": "/var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php",
            "line": 1008,
            "function": "execute",
            "class": "Doctrine\\DBAL\\Driver\\PDOStatement",
            "type": "->",
            "args": [
              [
                "files/2a27cea5c7492b764c5e32ef3a873746",
                -1,
                1539291805,
                "files/2a27cea5c7492b764c5e32ef3a873746"
              ]
            ]
          },
          {
            "file": "/var/www/html/lib/private/DB/Connection.php",
            "line": 216,
            "function": "executeUpdate",
            "class": "Doctrine\\DBAL\\Connection",
            "type": "->",
            "args": [
              "INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
              [
                "files/2a27cea5c7492b764c5e32ef3a873746",
                -1,
                1539291805,
                "files/2a27cea5c7492b764c5e32ef3a873746"
              ],
              []
            ]
          },
          {
            "file": "/var/www/html/lib/private/DB/Adapter.php",
            "line": 114,
            "function": "executeUpdate",
            "class": "OC\\DB\\Connection",
            "type": "->",
            "args": [
              "INSERT INTO `file_locks` (`key`,`lock`,`ttl`) SELECT ?,?,? FROM `file_locks` WHERE `key` = ? HAVING COUNT(*) = 0",
              [
                "files/2a27cea5c7492b764c5e32ef3a873746",
                -1,
                1539291805,
                "files/2a27cea5c7492b764c5e32ef3a873746"
              ]
            ]
          },
          {
            "file": "/var/www/html/lib/private/DB/Connection.php",
            "line": 254,
            "function": "insertIfNotExist",
            "class": "OC\\DB\\Adapter",
            "type": "->",
            "args": [
              "*PREFIX*file_locks",
              {
                "key": "files/2a27cea5c7492b764c5e32ef3a873746",
                "lock": -1,
                "ttl": 1539291805
              },
              [
                "key"
              ]
            ]
          },
          {
            "file": "/var/www/html/lib/private/Lock/DBLockingProvider.php",
            "line": 136,
            "function": "insertIfNotExist",
            "class": "OC\\DB\\Connection",
            "type": "->",
            "args": [
              "*PREFIX*file_locks",
              {
                "key": "files/2a27cea5c7492b764c5e32ef3a873746",
                "lock": -1,
                "ttl": 1539291805
              },
              [
                "key"
              ]
            ]
          },
          {
            "file": "/var/www/html/lib/private/Lock/DBLockingProvider.php",
            "line": 196,
            "function": "initLockField",
            "class": "OC\\Lock\\DBLockingProvider",
            "type": "->",
            "args": [
              "files/2a27cea5c7492b764c5e32ef3a873746",
              -1
            ]
          },
          {
            "file": "/var/www/html/lib/private/Files/Storage/Common.php",
            "line": 713,
            "function": "acquireLock",
            "class": "OC\\Lock\\DBLockingProvider",
            "type": "->",
            "args": [
              "files/2a27cea5c7492b764c5e32ef3a873746",
              2
            ]
          },
          {
            "file": "/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php",
            "line": 592,
            "function": "acquireLock",
            "class": "OC\\Files\\Storage\\Common",
            "type": "->",
            "args": [
              "files/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
              2,
              {
                "__class__": "OC\\Lock\\DBLockingProvider"
              }
            ]
          },
          {
            "file": "/var/www/html/lib/private/Files/View.php",
            "line": 1923,
            "function": "acquireLock",
            "class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
            "type": "->",
            "args": [
              "files/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
              2,
              {
                "__class__": "OC\\Lock\\DBLockingProvider"
              }
            ]
          },
          {
            "file": "/var/www/html/lib/private/Files/View.php",
            "line": 2033,
            "function": "lockPath",
            "class": "OC\\Files\\View",
            "type": "->",
            "args": [
              "/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
              2,
              false
            ]
          },
          {
            "file": "/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php",
            "line": 154,
            "function": "lockFile",
            "class": "OC\\Files\\View",
            "type": "->",
            "args": [
              "/Tockra/files/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak.upload.part",
              2
            ]
          },
          {
            "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
            "line": 1096,
            "function": "createFile",
            "class": "OCA\\DAV\\Connector\\Sabre\\Directory",
            "type": "->",
            "args": [
              "userbouquet.dbe05.tv_bak",
              null
            ]
          },
          {
            "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
            "line": 529,
            "function": "createFile",
            "class": "Sabre\\DAV\\Server",
            "type": "->",
            "args": [
              "files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
              null,
              null
            ]
          },
          {
            "function": "httpPut",
            "class": "Sabre\\DAV\\CorePlugin",
            "type": "->",
            "args": [
              {
                "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
                "__class__": "Sabre\\HTTP\\Request"
              },
              {
                "__class__": "Sabre\\HTTP\\Response"
              }
            ]
          },
          {
            "file": "/var/www/html/3rdparty/sabre/event/lib/EventEmitterTrait.php",
            "line": 105,
            "function": "call_user_func_array",
            "args": [
              [
                {
                  "__class__": "Sabre\\DAV\\CorePlugin"
                },
                "httpPut"
              ],
              [
                {
                  "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
                  "__class__": "Sabre\\HTTP\\Request"
                },
                {
                  "__class__": "Sabre\\HTTP\\Response"
                }
              ]
            ]
          },
          {
            "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
            "line": 479,
            "function": "emit",
            "class": "Sabre\\Event\\EventEmitter",
            "type": "->",
            "args": [
              "method:PUT",
              [
                {
                  "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
                  "__class__": "Sabre\\HTTP\\Request"
                },
                {
                  "__class__": "Sabre\\HTTP\\Response"
                }
              ]
            ]
          },
          {
            "file": "/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php",
            "line": 254,
            "function": "invokeMethod",
            "class": "Sabre\\DAV\\Server",
            "type": "->",
            "args": [
              {
                "absoluteUrl": "http://homemedia/remote.php/dav/files/Tockra/Documents/Dreamedit/settings/userbouquet.dbe05.tv_bak",
                "__class__": "Sabre\\HTTP\\Request"
              },
              {
                "__class__": "Sabre\\HTTP\\Response"
              }
            ]
          },
          {
            "file": "/var/www/html/apps/dav/lib/Server.php",
            "line": 293,
            "function": "exec",
            "class": "Sabre\\DAV\\Server",
            "type": "->",
            "args": []
          },
          {
            "file": "/var/www/html/apps/dav/appinfo/v2/remote.php",
            "line": 35,
            "function": "exec",
            "class": "OCA\\DAV\\Server",
            "type": "->",
            "args": []
          },
          {
            "file": "/var/www/html/remote.php",
            "line": 163,
            "args": [
              "/var/www/html/apps/dav/appinfo/v2/remote.php"
            ],
            "function": "require_once"
          }
        ],
        "File": "/var/www/html/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php",
        "Line": 105
      }
    },
    "CustomMessage": "--"
  },
  "userAgent": "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)",
  "version": "14.0.1.1"
}

@skjnldsv
Copy link
Member

Are you using ldap @Tockra ?
duplicate ? #6187

@skjnldsv skjnldsv added needs info 0. Needs triage Pending check for reproducibility or if it fits our roadmap and removed 1. to develop Accepted and waiting to be taken care of labels Jun 14, 2019
@Tockra
Copy link
Author

Tockra commented Jun 24, 2019

I dont't using LDAP. I just used the default docker-compose settings from this github.
But at the moment I'm still using my own modified docker-compose-files because the files here don't work properly.

@ghost
Copy link

ghost commented Jul 24, 2019

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

@ghost ghost added the stale Ticket or PR with no recent activity label Jul 24, 2019
@kesselb
Copy link
Contributor

kesselb commented Jul 24, 2019

Thank you for reporting this issue 👍

This is a duplicate of #9305

Deadlock found when trying to get lock; try restarting transaction

The query leading to a deadlock for oc_file_locks is no longer present in nextcloud 16.

@kesselb kesselb closed this as completed Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests

4 participants