wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.78k stars 282 forks source link

访问nextcloud出现服务器内部错误 #81

Closed vcjmhg closed 4 years ago

vcjmhg commented 4 years ago

请问如下情况应该如何解决

情况说明

访问nextcloud出现服务器内部错误 2019-10-19_220425

容器日志

执行 sudo docker-compose logs nextcloud显示的日志信息

Attaching to nextcloud_nextcloud_1
nextcloud_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
nextcloud_1  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.20.0.2. Set the 'ServerName' directive globally to suppress this message
nextcloud_1  | [Sat Oct 19 14:02:53.415520 2019] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.3.10 configured -- resuming normal operations
nextcloud_1  | [Sat Oct 19 14:02:53.415552 2019] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
nextcloud_1  | [Sat Oct 19 14:03:00.399052 2019] [php7:warn] [pid 27] [client 172.20.0.3:50920] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:00.399091 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"touch(): Unable to create file \\/var\\/www\\/html\\/config\\/config.php because Permission denied at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#240","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.399146 2019] [php7:warn] [pid 27] [client 172.20.0.3:50920] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:00.399153 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fopen(\\/var\\/www\\/html\\/config\\/config.php): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#241","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.399218 2019] [php7:warn] [pid 27] [client 172.20.0.3:50920] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:00.399225 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#244","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.417097 2019] [php7:warn] [pid 27] [client 172.20.0.3:50920] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:00.417124 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.417133 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"OC\\\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","line":132,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/SystemConfig.php","line":100,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oc4s1a8pod1n"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/util.php","line":1152,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oc4s1a8pod1n"]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":415,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":642,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":1081,"function":"init","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":40,"args":["\\/var\\/www\\/html\\/lib\\/base.php"],"function":"require_once"}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","Line":251,"Hint":"This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions","CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.417351 2019] [php7:warn] [pid 27] [client 172.20.0.3:50920] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:00.417373 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.417381 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"Doctrine\\\\DBAL\\\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [14] unable to open database file","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":1040,"function":"connect","class":"OC\\\\DB\\\\Connection","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1",[],[]]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":683,"function":"executeUpdate","class":"OC\\\\DB\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":151,"function":"setTransactionIsolation","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":[2]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/DriverManager.php","line":195,"function":"__construct","class":"OC\\\\DB\\\\Connection","type":"->","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Driver\\\\PDOSqlite\\\\Driver"},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/ConnectionFactory.php","line":156,"function":"getConnection","class":"Doctrine\\\\DBAL\\\\DriverManager","type":"::","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":635,"function":"getConnection","class":"OC\\\\DB\\\\ConnectionFactory","type":"->","args":["sqlite",{"user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}}]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1554,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":458,"function":"getDatabaseConnection","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":689,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1725,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/template.php","line":284,"function":"getAppManager","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":51,"function":"printErrorPage","class":"OC_Template","type":"::","args":["Can't write into config directory!","This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions",503]}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","Line":64,"CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.423972 2019] [php7:warn] [pid 27] [client 172.20.0.3:50920] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:00.423983 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:00.423992 2019] [php7:notice] [pid 27] [client 172.20.0.3:50920] {"reqId":"xPsHZDCCmYwgO6lKUbc2","level":3,"time":"2019-10-19T14:03:00+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#86","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET / HTTP/1.1" 500 4204 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/css/guest.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 5558 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/js/dist/main.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 386368 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/js/mimetype.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1645 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/js/mimetypelist.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1479 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/js/select2-toggleselect.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 913 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/search/js/search.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1931 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/l10n/zh_CN.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 16546 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/img/background.png?v=2 HTTP/1.1" 304 127 "http://192.168.1.103/core/css/guest.css?v=ba222ded25d957b900c03bef914333cd" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/img/logo/logo.svg?v=1 HTTP/1.1" 304 125 "http://192.168.1.103/core/css/guest.css?v=ba222ded25d957b900c03bef914333cd" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/search/js/searchprovider.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 3994 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/js/files/fileinfo.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1177 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:00 +0000] "GET /core/js/files/client.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 5942 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:01 +0000] "GET /core/img/favicon.ico HTTP/1.1" 200 3507 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | [Sat Oct 19 14:03:03.376097 2019] [php7:warn] [pid 28] [client 172.20.0.3:50922] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:03.376116 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"touch(): Unable to create file \\/var\\/www\\/html\\/config\\/config.php because Permission denied at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#240","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.376168 2019] [php7:warn] [pid 28] [client 172.20.0.3:50922] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:03.376176 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fopen(\\/var\\/www\\/html\\/config\\/config.php): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#241","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.376241 2019] [php7:warn] [pid 28] [client 172.20.0.3:50922] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:03.376269 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#244","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.377946 2019] [php7:warn] [pid 28] [client 172.20.0.3:50922] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:03.377970 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.377980 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"OC\\\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","line":132,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/SystemConfig.php","line":100,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","ocg8ratd65qj"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/util.php","line":1152,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","ocg8ratd65qj"]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":415,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":642,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":1081,"function":"init","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":40,"args":["\\/var\\/www\\/html\\/lib\\/base.php"],"function":"require_once"}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","Line":251,"Hint":"This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions","CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.378199 2019] [php7:warn] [pid 28] [client 172.20.0.3:50922] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:03.378222 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.378230 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"Doctrine\\\\DBAL\\\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [14] unable to open database file","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":1040,"function":"connect","class":"OC\\\\DB\\\\Connection","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1",[],[]]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":683,"function":"executeUpdate","class":"OC\\\\DB\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":151,"function":"setTransactionIsolation","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":[2]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/DriverManager.php","line":195,"function":"__construct","class":"OC\\\\DB\\\\Connection","type":"->","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Driver\\\\PDOSqlite\\\\Driver"},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/ConnectionFactory.php","line":156,"function":"getConnection","class":"Doctrine\\\\DBAL\\\\DriverManager","type":"::","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":635,"function":"getConnection","class":"OC\\\\DB\\\\ConnectionFactory","type":"->","args":["sqlite",{"user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}}]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1554,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":458,"function":"getDatabaseConnection","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":689,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1725,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/template.php","line":284,"function":"getAppManager","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":51,"function":"printErrorPage","class":"OC_Template","type":"::","args":["Can't write into config directory!","This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions",503]}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","Line":64,"CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.380409 2019] [php7:warn] [pid 28] [client 172.20.0.3:50922] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:03.380420 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:03.380430 2019] [php7:notice] [pid 28] [client 172.20.0.3:50922] {"reqId":"fdm0kV9KoBsxes8Va1al","level":3,"time":"2019-10-19T14:03:03+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#86","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:03 +0000] "GET / HTTP/1.1" 500 4204 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:03 +0000] "GET /core/img/favicon.ico HTTP/1.1" 200 3507 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | [Sat Oct 19 14:03:12.869306 2019] [php7:warn] [pid 30] [client 172.20.0.3:50926] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:12.869331 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"touch(): Unable to create file \\/var\\/www\\/html\\/config\\/config.php because Permission denied at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#240","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.869400 2019] [php7:warn] [pid 30] [client 172.20.0.3:50926] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:12.869421 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fopen(\\/var\\/www\\/html\\/config\\/config.php): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#241","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.869481 2019] [php7:warn] [pid 30] [client 172.20.0.3:50926] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:12.869488 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#244","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.871168 2019] [php7:warn] [pid 30] [client 172.20.0.3:50926] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:12.871179 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.871202 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"OC\\\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","line":132,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/SystemConfig.php","line":100,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oco6evvhr5at"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/util.php","line":1152,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oco6evvhr5at"]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":415,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":642,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":1081,"function":"init","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":40,"args":["\\/var\\/www\\/html\\/lib\\/base.php"],"function":"require_once"}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","Line":251,"Hint":"This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions","CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.871416 2019] [php7:warn] [pid 30] [client 172.20.0.3:50926] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:12.871424 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.871447 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"Doctrine\\\\DBAL\\\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [14] unable to open database file","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":1040,"function":"connect","class":"OC\\\\DB\\\\Connection","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1",[],[]]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":683,"function":"executeUpdate","class":"OC\\\\DB\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":151,"function":"setTransactionIsolation","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":[2]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/DriverManager.php","line":195,"function":"__construct","class":"OC\\\\DB\\\\Connection","type":"->","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Driver\\\\PDOSqlite\\\\Driver"},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/ConnectionFactory.php","line":156,"function":"getConnection","class":"Doctrine\\\\DBAL\\\\DriverManager","type":"::","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":635,"function":"getConnection","class":"OC\\\\DB\\\\ConnectionFactory","type":"->","args":["sqlite",{"user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}}]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1554,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":458,"function":"getDatabaseConnection","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":689,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1725,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/template.php","line":284,"function":"getAppManager","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":51,"function":"printErrorPage","class":"OC_Template","type":"::","args":["Can't write into config directory!","This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions",503]}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","Line":64,"CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.873534 2019] [php7:warn] [pid 30] [client 172.20.0.3:50926] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:03:12.873543 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:03:12.873567 2019] [php7:notice] [pid 30] [client 172.20.0.3:50926] {"reqId":"kjhZqB75QcDM9PyQosLE","level":3,"time":"2019-10-19T14:03:12+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#86","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:03:12 +0000] "GET / HTTP/1.1" 500 4204 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | [Sat Oct 19 14:04:27.268416 2019] [php7:warn] [pid 31] [client 172.20.0.3:50948] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:04:27.268438 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"touch(): Unable to create file \\/var\\/www\\/html\\/config\\/config.php because Permission denied at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#240","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.268507 2019] [php7:warn] [pid 31] [client 172.20.0.3:50948] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:04:27.268515 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fopen(\\/var\\/www\\/html\\/config\\/config.php): failed to open stream: No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#241","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.268593 2019] [php7:warn] [pid 31] [client 172.20.0.3:50948] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:04:27.268615 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Config.php#244","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.270279 2019] [php7:warn] [pid 31] [client 172.20.0.3:50948] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:04:27.270290 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.270301 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"OC\\\\HintException","Message":"Can't write into config directory!","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","line":132,"function":"writeData","class":"OC\\\\Config","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/SystemConfig.php","line":100,"function":"setValue","class":"OC\\\\Config","type":"->","args":["instanceid","oc8yst4jgmh8"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/util.php","line":1152,"function":"setValue","class":"OC\\\\SystemConfig","type":"->","args":["instanceid","oc8yst4jgmh8"]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":415,"function":"getInstanceId","class":"OC_Util","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":642,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/base.php","line":1081,"function":"init","class":"OC","type":"::","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":40,"args":["\\/var\\/www\\/html\\/lib\\/base.php"],"function":"require_once"}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/Config.php","Line":251,"Hint":"This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions","CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.270520 2019] [php7:warn] [pid 31] [client 172.20.0.3:50948] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:04:27.270529 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.270537 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"index","method":"GET","url":"\\/","message":{"Exception":"Doctrine\\\\DBAL\\\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [14] unable to open database file","Code":0,"Trace":[{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":1040,"function":"connect","class":"OC\\\\DB\\\\Connection","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":216,"function":"executeUpdate","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1",[],[]]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Connection.php","line":683,"function":"executeUpdate","class":"OC\\\\DB\\\\Connection","type":"->","args":["PRAGMA read_uncommitted = 1"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","line":151,"function":"setTransactionIsolation","class":"Doctrine\\\\DBAL\\\\Connection","type":"->","args":[2]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/DriverManager.php","line":195,"function":"__construct","class":"OC\\\\DB\\\\Connection","type":"->","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Driver\\\\PDOSqlite\\\\Driver"},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/ConnectionFactory.php","line":156,"function":"getConnection","class":"Doctrine\\\\DBAL\\\\DriverManager","type":"::","args":[{"adapter":"OC\\\\DB\\\\AdapterSqlite","driver":"pdo_sqlite","wrapperClass":"OC\\\\DB\\\\Connection","user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}},{"__class__":"Doctrine\\\\DBAL\\\\Configuration"},{"__class__":"Doctrine\\\\Common\\\\EventManager"}]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":635,"function":"getConnection","class":"OC\\\\DB\\\\ConnectionFactory","type":"->","args":["sqlite",{"user":"","password":"","path":"\\/var\\/www\\/html\\/data\\/owncloud.db","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8_bin","tablePrefix":"oc_"},"platform":{"__class__":"OC\\\\DB\\\\OCSqlitePlatform"}}]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OCP\\\\IDBConnection"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1554,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["DatabaseConnection"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":458,"function":"getDatabaseConnection","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":689,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\AppConfig"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":118,"function":"OC\\\\{closure}","class":"OC\\\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/AppFramework\\/Utility\\/SimpleContainer.php","line":161,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["OC\\\\App\\\\AppManager"]},{"file":"\\/var\\/www\\/html\\/3rdparty\\/pimple\\/pimple\\/src\\/Pimple\\/Container.php","line":114,"function":"OC\\\\AppFramework\\\\Utility\\\\{closure}","class":"OC\\\\AppFramework\\\\Utility\\\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\\\Container","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/Server.php","line":1725,"function":"query","class":"OC\\\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\\/var\\/www\\/html\\/lib\\/private\\/legacy\\/template.php","line":284,"function":"getAppManager","class":"OC\\\\Server","type":"->","args":[]},{"file":"\\/var\\/www\\/html\\/index.php","line":51,"function":"printErrorPage","class":"OC_Template","type":"::","args":["Can't write into config directory!","This can usually be fixed by giving the webserver write access to the config directory. See https:\\/\\/docs.nextcloud.com\\/server\\/17\\/go.php?to=admin-dir_permissions",503]}],"File":"\\/var\\/www\\/html\\/lib\\/private\\/DB\\/Connection.php","Line":64,"CustomMessage":"--"},"userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.272688 2019] [php7:warn] [pid 31] [client 172.20.0.3:50948] PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85
nextcloud_1  | [Sat Oct 19 14:04:27.272698 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"fileperms(): stat failed for \\/var\\/www\\/html\\/data\\/nextcloud.log at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#85","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | [Sat Oct 19 14:04:27.272707 2019] [php7:notice] [pid 31] [client 172.20.0.3:50948] {"reqId":"lygbqqNmA92QSMbEuZit","level":3,"time":"2019-10-19T14:04:27+00:00","remoteAddr":"172.20.0.3","user":"--","app":"PHP","method":"GET","url":"\\/","message":"chmod(): No such file or directory at \\/var\\/www\\/html\\/lib\\/private\\/Log\\/File.php#86","userAgent":"Mozilla\\/5.0 (Windows NT 6.1; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/77.0.3865.120 Safari\\/537.36","version":""}
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:04:27 +0000] "GET / HTTP/1.1" 500 4204 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
nextcloud_1  | 172.20.0.3 - - [19/Oct/2019:14:04:28 +0000] "GET /core/img/favicon.ico HTTP/1.1" 200 3507 "http://192.168.1.103/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"
xiantang commented 4 years ago

请问你是如何解决的 @vcjmhg

Karl-Han commented 4 years ago

这个问题主要是权限问题,我的解决方法为 chown www-data:www-data -R data/nextcloud