Apache2 server / nextcloud kept on disconnecting randomly on Linux Ubuntu 16.04

[details=“Support intro”]

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php(287): Sabre\\DAV\\Server->exec()\n#6 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(35): OCA\\DAV\\Server->exec()\n#7 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#8 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":345}",“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“zkmNeeY4nytGMXA2PPMz”,“level”:3,“time”:“2018-08-10T06:48:37+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/remote.php/dav/files/IamChefBoyct1978/Pictures%20PC/Camera%20Roll/IMG_20150630_152755.jpg",“message”:“fopen(/media/nextcloud_new/IamChefBoyct1978/files/Pictures PC/Camera Roll/IMG_20150630_152755.jpg): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#282”,“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“zkmNeeY4nytGMXA2PPMz”,“level”:4,“time”:“2018-08-10T06:48:37+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“GET”,“url”:"/nextcloud/remote.php/dav/files/IamChefBoyct1978/Pictures%20PC/Camera%20Roll/IMG_20150630_152755.jpg",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(88): OCA\\DAV\\Connector\\Sabre\\File->get()\n#1 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:GET’, Array)\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php(287): Sabre\\DAV\\Server->exec()\n#6 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(35): OCA\\DAV\\Server->exec()\n#7 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#8 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":345}”,“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“R11vDk9T1mbYEj6ORXaW”,“level”:3,“time”:“2018-08-10T06:48:37+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/remote.php/dav/files/IamChefBoyct1978/Pictures%20PC/Camera%20Roll/IMG_20150630_152753.jpg",“message”:“fopen(/media/nextcloud_new/IamChefBoyct1978/files/Pictures PC/Camera Roll/IMG_20150630_152753.jpg): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#282”,“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“R11vDk9T1mbYEj6ORXaW”,“level”:4,“time”:“2018-08-10T06:48:37+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“GET”,“url”:"/nextcloud/remote.php/dav/files/IamChefBoyct1978/Pictures%20PC/Camera%20Roll/IMG_20150630_152753.jpg",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(88): OCA\\DAV\\Connector\\Sabre\\File->get()\n#1 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:GET’, Array)\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php(287): Sabre\\DAV\\Server->exec()\n#6 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(35): OCA\\DAV\\Server->exec()\n#7 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#8 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":345}”,“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“bpSnYkB4Rxz753hyrOwD”,“level”:3,“time”:“2018-08-10T06:48:38+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/remote.php/dav/files/IamChefBoyct1978/Pictures%20PC/Camera%20Roll/IMG_20150630_152740.jpg",“message”:“fopen(/media/nextcloud_new/IamChefBoyct1978/files/Pictures PC/Camera Roll/IMG_20150630_152740.jpg): failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#282”,“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“bpSnYkB4Rxz753hyrOwD”,“level”:4,“time”:“2018-08-10T06:48:38+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“GET”,“url”:"/nextcloud/remote.php/dav/files/IamChefBoyct1978/Pictures%20PC/Camera%20Roll/IMG_20150630_152740.jpg",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(88): OCA\\DAV\\Connector\\Sabre\\File->get()\n#1 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:GET’, Array)\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/apps\/dav\/lib\/Server.php(287): Sabre\\DAV\\Server->exec()\n#6 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(35): OCA\\DAV\\Server->exec()\n#7 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#8 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":345}”,“userAgent”:“Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)”,“version”:“13.0.5.2”}
{“reqId”:“Jw0NqAOpNR6K2vWvmTQv”,“level”:4,“time”:“2018-08-11T13:55:48+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“MKCOL”,“url”:"/nextcloud/remote.php/webdav/Notes/",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\MethodNotAllowed","Message":"The resource you tried to create already exists","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(594): Sabre\\DAV\\Server->createCollection(‘Notes’, Object(Sabre\\DAV\\MkCol))\n#1 [internal function]: Sabre\\DAV\\CorePlugin->httpMkcol(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:MKCOL’, Array)\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(80): Sabre\\DAV\\Server->exec()\n#6 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#7 {main}","File":"\/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","Line":1181}”,“userAgent”:“gvfs/1.28.2”,“version”:“13.0.5.2”}
{“reqId”:“r3WmqaZHlkMf4dJFYzIh”,“level”:4,“time”:“2018-08-15T21:15:33+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“PUT”,“url”:"/nextcloud/remote.php/webdav/Pictures%20PC/Camera%20Roll//2018/08/DSC_1052.JPG-chunking-1887427098-5-1",“message”:“Exception: {"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\FileLocked","Message":"\"IamChefBoyct1978\/files\/Pictures PC\/Camera Roll\/2018\/08\/DSC_1052.JPG-chunking-1887427098-5-1.upload.part\" is locked","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1096): OCA\\DAV\\Connector\\Sabre\\Directory->createFile(‘DSC_1052.JPG-ch…’, Resource id #7)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(529): Sabre\\DAV\\Server->createFile(‘Pictures PC\/Cam…’, Resource id #7, NULL)\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:PUT’, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(80): Sabre\\DAV\\Server->exec()\n#7 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#8 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","Line":168}”,“userAgent”:“Mozilla/5.0 (Android) ownCloud-android/3.2.1”,“version”:“13.0.5.2”}
{“reqId”:“6mXnRo51v30gNP86Xy7Z”,“level”:4,“time”:“2018-08-15T21:20:11+00:00”,“remoteAddr”:“192.168.1.1”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“PUT”,“url”:"/nextcloud/remote.php/webdav/Pictures%20PC/Camera%20Roll//2018/08/DSC_1052.JPG-chunking-1887427098-5-1",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"expected filesize 1024000 got 8192","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(132): OCA\\DAV\\Connector\\Sabre\\File->createFileChunked(Resource id #7)\n#1 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(156): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #7)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1096): OCA\\DAV\\Connector\\Sabre\\Directory->createFile(‘DSC_1052.JPG-ch…’, Resource id #7)\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(529): Sabre\\DAV\\Server->createFile(‘Pictures PC\/Cam…’, Resource id #7, NULL)\n#4 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:PUT’, Array)\n#7 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#8 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(80): Sabre\\DAV\\Server->exec()\n#9 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#10 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":443}”,“userAgent”:“Mozilla/5.0 (Android) ownCloud-android/3.2.1”,“version”:“13.0.5.2”}
{“reqId”:“9r44aOsW4IEvnMWNXe8f”,“level”:4,“time”:“2018-08-28T11:09:21+00:00”,“remoteAddr”:“119.80.41.62”,“user”:"–",“app”:“webdav”,“method”:“PUT”,“url”:"/nextcloud/public.php/webdav/8.28%20%E7%BB%99%20Brad/Level%201-6%20Unit%206%20(newly%20developed)/Level%201%20Unit%206/Lesson%2011/Teaching%20Plan.docx",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"expected filesize 2096795 got 770048","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(156): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #20)\n#1 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1096): OCA\\DAV\\Connector\\Sabre\\Directory->createFile(‘Teaching Plan.d…’, Resource id #20)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(529): Sabre\\DAV\\Server->createFile(‘8.28 \\xE7\\xBB\\x99 Brad\/L…’, Resource id #20, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:PUT’, Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/publicwebdav.php(107): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/nextcloud\/public.php(79): require_once(’\/var\/www\/nextcl…’)\n#9 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":189}”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 LBBROWSER”,“version”:“13.0.5.2”}
{“reqId”:“pulbdwb93U8ATqnJVs73”,“level”:4,“time”:“2018-09-03T10:59:53+00:00”,“remoteAddr”:“197.229.2.161”,“user”:“IamChefBoyct1978”,“app”:“webdav”,“method”:“PUT”,“url”:"/nextcloud/remote.php/webdav/Pictures%20PC/Camera%20Roll//2018/09/DSC_1086.JPG-chunking-1977008635-6-4",“message”:“Exception: {"Exception":"Sabre\\DAV\\Exception\\BadRequest","Message":"expected filesize 1024000 got 57344","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php(132): OCA\\DAV\\Connector\\Sabre\\File->createFileChunked(Resource id #7)\n#1 \/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(156): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #7)\n#2 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1096): OCA\\DAV\\Connector\\Sabre\\Directory->createFile(‘DSC_1086.JPG-ch…’, Resource id #7)\n#3 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(529): Sabre\\DAV\\Server->createFile(‘Pictures PC\/Cam…’, Resource id #7, NULL)\n#4 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#5 \/var\/www\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit(‘method:PUT’, Array)\n#7 \/var\/www\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#8 \/var\/www\/nextcloud\/apps\/dav\/appinfo\/v1\/webdav.php(80): Sabre\\DAV\\Server->exec()\n#9 \/var\/www\/nextcloud\/remote.php(164): require_once(’\/var\/www\/nextcl…’)\n#10 {main}","File":"\/var\/www\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":443}”,“userAgent”:“Mozilla/5.0 (Android) ownCloud-android/3.2.3”,“version”:“13.0.5.2”}
{“reqId”:“qBXt7MD4dz2znfkzUkbl”,“level”:2,“time”:“2018-09-04T15:00:37+00:00”,“remoteAddr”:“192.168.1.1”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Login failed: ‘IamChefboyct1978’ (Remote IP: ‘192.168.1.1’)”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”,“version”:“13.0.5.2”}
{“reqId”:“GgKPtx43VUrdf2PU74F2”,“level”:2,“time”:“2018-09-04T15:00:54+00:00”,“remoteAddr”:“192.168.1.1”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login",“message”:“Login failed: ‘IamChefboyct1978412’ (Remote IP: ‘192.168.1.1’)”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”,“version”:“13.0.5.2”}
{“reqId”:“YOHmteEWEUyRSQtbw8Nu”,“level”:2,“time”:“2018-09-04T16:48:12+00:00”,“remoteAddr”:“192.168.1.1”,“user”:"–",“app”:“core”,“method”:“POST”,“url”:"/nextcloud/index.php/login?redirect_url=/nextcloud/index.php/login/flow/redirect%3FclientIdentifier%3D%26stateToken%3DCzp1jUNMbjTlx1St5oYB3aBJNx4xuhPV9YJDvHa9FNiMJ4zeI4D7nwHr6JvCEG4T",“message”:“Login failed: ‘IamChefboyct1978’ (Remote IP: ‘192.168.1.1’)”,“userAgent”:“Sony G8141”,“version”:“13.0.5.2”}
{“reqId”:“rnqsQ0XZ5ltTVeaq1C5u”,“level”:3,“time”:“2018-09-06T08:34:42+00:00”,“remoteAddr”:“41.77.207.223”,“user”:“IamChefBoyct1978”,“app”:“index”,“method”:“GET”,“url”:"/nextcloud/index.php/settings/apps/categories",“message”:“Exception: {"Exception":"Doctrine\\DBAL\\Exception\\UniqueConstraintViolationException","Message":"An exception occurred while executing ‘INSERT INTO oc_file_locks (key,lock,ttl) SELECT ?,?,? FROM oc_file_locks WHERE key = ? HAVING COUNT(*) = 0’ with params [\"files\\\/b43aa030bd00effe30ae512af4ea4f2f\", 1, 1536226482, \"files\\\/b43aa030bd00effe30ae512af4ea4f2f\"]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘files\/b43aa030bd00effe30ae512af4ea4f2f’ for key ‘lock_key_index’","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(128): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException(‘An exception oc…’, Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php(1015): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), ‘INSERT INTO oc...', Array)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/DB\\\/Connection.php(216): Doctrine\\\\DBAL\\\\Connection->executeUpdate('INSERT INTOoc…’, Array, Array)\n#3 \/var\/www\/nextcloud\/lib\/private\/DB\/Adapter.php(114): OC\\DB\\Connection->executeUpdate(‘INSERT INTO `oc…’, Array)\n#4 \/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php(254): OC\\DB\\Adapter->insertIfNotExist(‘PREFIXfile_lo…’, Array, Array)\n#5 \/var\/www\/nextcloud\/lib\/private\/Lock\/DBLockingProvider.php(119): OC\\DB\\Connection->insertIfNotExist(‘PREFIXfile_lo…’, Array, Array)\n#6 \/var\/www\/nextcloud\/lib\/private\/Lock\/DBLockingProvider.php(164): OC\\Lock\\DBLockingProvider->initLockField(‘files\/b43aa030b…’, 1)\n#7 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Common.php(709): OC\\Lock\\DBLockingProvider->acquireLock(‘files\/b43aa030b…’, 1)\n#8 \/var\/www\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(592): OC\\Files\\Storage\\Common->acquireLock(‘appdata_ocmc1ty…’, 1, Object(OC\\Lock\\DBLockingProvider))\n#9 \/var\/www\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php(332): OC\\Files\\Storage\\Wrapper\\Wrapper->acquireLock(‘appdata_ocmc1ty…’, 1, Object(OC\\Lock\\DBLockingProvider))\n#10 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1326): OC\\Files\\Cache\\Scanner->scan(‘appdata_ocmc1ty…’, false)\n#11 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1369): OC\\Files\\View->getCacheEntry(Object(OCA\\Files_Trashbin\\Storage), ‘appdata_ocmc1ty…’, ‘\/appdata_ocmc1t…’)\n#12 \/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php(198): OC\\Files\\View->getFileInfo(’\/appdata_ocmc1t…’)\n#13 \/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php(133): OC\\Files\\Node\\Root->get(’\/appdata_ocmc1t…’)\n#14 \/var\/www\/nextcloud\/lib\/private\/Files\/SimpleFS\/SimpleFolder.php(73): OC\\Files\\Node\\Folder->get(‘apps.json’)\n#15 \/var\/www\/nextcloud\/lib\/private\/App\/AppStore\/Fetcher\/Fetcher.php(145): OC\\Files\\SimpleFS\\SimpleFolder->getFile(‘apps.json’)\n#16 \/var\/www\/nextcloud\/lib\/private\/Installer.php(401): OC\\App\\AppStore\\Fetcher\\Fetcher->get()\n#17 \/var\/www\/nextcloud\/settings\/Controller\/AppSettingsController.php(292): OC\\Installer->isUpdateAvailable(‘files_external’)\n#18 \/var\/www\/nextcloud\/settings\/Controller\/AppSettingsController.php(144): OC\\Settings\\Controller\\AppSettingsController->getAppsWithUpdates()\n#19 \/var\/www\/nextcloud\/settings\/Controller\/AppSettingsController.php(170): OC\\Settings\\Controller\\AppSettingsController->getAllCategories()\n#20 [internal function]: OC\\Settings\\Controller\\AppSettingsController->listCategories()\n#21 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(161): call_user_func_array(Array, Array)\n#22 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(91): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OC\\Settings\\Controller\\AppSettingsController), ‘listCategories’)\n#23 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php(115): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Settings\\Controller\\AppSettingsController), ‘listCategories’)\n#24 \/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main(‘OC\\\\Settings\\\\Con…’, ‘listCategories’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#25 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#26 \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php(297): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#27 \/var\/www\/nextcloud\/lib\/base.php(999): OC\\Route\\Router->match(’\/settings\/apps\/…’)\n#28 \/var\/www\/nextcloud\/index.php(42): OC::handleRequest()\n#29 {main}","File":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":66}”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”,“version”:“13.0.5.2”}
{“reqId”:“R9oxgleg9EIZGc9BLY4g”,“level”:1,“time”:“2018-09-06T08:37:25+00:00”,“remoteAddr”:“41.77.207.223”,“user”:"–",“app”:“updater”,“method”:“GET”,“url”:"/nextcloud/core/ajax/update.php?requesttoken=UWefmZNZ%2BF%2F2rDs7GNmD89ZB5kijj17N82O7ebQyJYY%3D%3AJDKu%2FLw7ii7Z3FpwIOCwsJUt1QPA5jaYuDSKA%2BxDRtE%3D",“message”:"\OC\Updater::maintenanceEnabled: Turned on maintenance mode",“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”,“version”:“13.0.5.2”}
{“reqId”:“R9oxgleg9EIZGc9BLY4g”,“level”:0,“time”:“2018-09-06T08:37:25+00:00”,“remoteAddr”:“41.77.207.223”,“user”:"–",“app”:“core”,“method”:“GET”,“url”:"/nextcloud/core/ajax/update.php?requesttoken=UWefmZNZ%2BF%2F2rDs7GNmD89ZB5kijj17N82O7ebQyJYY%3D%3AJDKu%2FLw7ii7Z3FpwIOCwsJUt1QPA5jaYuDSKA%2BxDRtE%3D",“message”:“starting upgrade from 13.0.5.2 to 13.0.6.1”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36”,“version”:“13.0.5.2”}

Or for longer, use three backticks above and below the code snippet:





The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

PASTE HERE


The output of your Apache/nginx/system log in `/var/log/____`:

PASTE HERE

This could be an external disk and you lost the connection to it. Or the filesystem is broken or something like that. Please provide a bit more information of your system, did it work before, since when do you see this error?

@tflidd thanks for the reply and it actually happened randomly after the kernel update. I believe it has something to with httpd system (kinux backend) disconnecting the service or duplicating it. I have since start the system new as there was also old AMD ATI graphic card issues and I bought a new Geforce GT710 to place the old card. Now I am battling again setting NC14 up wanting to use an external HDD partition