{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/11298","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/11298/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/11298/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/11298/events","html_url":"https://github.com/nextcloud/server/issues/11298","id":361876143,"node_id":"MDU6SXNzdWUzNjE4NzYxNDM=","number":11298,"title":"Nextcloud 14: Uncaught error, Call to a member function getLogger() on null when attempting installation","user":{"login":"brokkr","id":11491477,"node_id":"MDQ6VXNlcjExNDkxNDc3","avatar_url":"https://avatars3.githubusercontent.com/u/11491477?v=4","gravatar_id":"","url":"https://api.github.com/users/brokkr","html_url":"https://github.com/brokkr","followers_url":"https://api.github.com/users/brokkr/followers","following_url":"https://api.github.com/users/brokkr/following{/other_user}","gists_url":"https://api.github.com/users/brokkr/gists{/gist_id}","starred_url":"https://api.github.com/users/brokkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brokkr/subscriptions","organizations_url":"https://api.github.com/users/brokkr/orgs","repos_url":"https://api.github.com/users/brokkr/repos","events_url":"https://api.github.com/users/brokkr/events{/privacy}","received_events_url":"https://api.github.com/users/brokkr/received_events","type":"User","site_admin":false},"labels":[{"id":386379231,"node_id":"MDU6TGFiZWwzODYzNzkyMzE=","url":"https://api.github.com/repos/nextcloud/server/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-19T18:39:36Z","updated_at":"2018-09-24T00:12:32Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nThanks for reporting issues back to Nextcloud! This is the issue tracker of Nextcloud, if you have any support question please check out https://nextcloud.com/support\r\n\r\nThis is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/\r\n\r\nFor reporting potential security issues please see https://nextcloud.com/security/\r\n\r\nTo make it possible for us to help you please fill out below information carefully. \r\nYou can also use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate\r\n\r\nIf you are a customer, please submit your issue directly in the Nextcloud Portal https://portal.nextcloud.com so it gets resolved more quickly by our dedicated engineers.\r\n\r\nNote that Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.\r\n--> \r\n### Steps to reproduce\r\n1. Download and extract Nextcloud 14.0 to docker volume. Chown to www-data:www-data.\r\n2. Mount volume to both nginx and php-fpm containers and run containers in dedicated subnet (alongside mariadb container) with nginx's port 80 published to host.\r\n3. Enter host in browser\r\n\r\n\r\n### Expected behaviour\r\nNextcloud's install page should show up\r\n\r\n### Actual behaviour\r\nThe following text is displayed in browser:\r\n\r\n```\r\nInternal Server Error\r\n\r\nThe server encountered an internal error and was unable to complete your request.\r\nPlease contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\r\nMore details can be found in the webserver log.\r\n<br />\r\n<b>Fatal error</b>:  Uncaught Error: Call to a member function getLogger() on null in /nextcloud/index.php:72\r\nStack trace:\r\n#0 {main}\r\n  thrown in <b>/nextcloud/index.php</b> on line <b>72</b><br />\"\r\n```\r\n\r\nAfter enabling\r\n\t\r\n\tphp_flag[display_errors] = on\r\n\t\r\nin www.conf, php-fpm output changed from simply reporting http status 500 to reporting 500 AND including the same (but no more) output as above.\r\n\r\nThe expected behaviour is seen using volumes with older releases: \r\n\r\n* 12.0.11 (albeit with php-fpm 7.1)\r\n* 13.0.6\r\n\r\nA standard phpinfo.php status page inserted into the Nextcloud 14 folder web root is accessible and does display. The status page confirms that all required (https://docs.nextcloud.com/server/14/admin_manual/installation/source_installation.html) modules are installed.\r\n\r\nThe behaviour of 14.0 does not change with older php-fpm releases (7.1, 7.0) \r\n\r\n### Server configuration\r\n\r\n**Operating system**: \r\n* Docker host: Ubuntu 18.04\r\n* php-fpm container: Debian stretch\r\n* nginx container: Debian stretch\r\n* mariadb container: Ubuntu 18.04\r\n\r\n**Web server:** Nginx 1.14 ('nginx:stable')\r\n\r\n**Database:** Mariadb 10.3.9\r\n\r\n**PHP version:** 7.2.10\r\n\r\n**Nextcloud version:** 14.0\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:** No\r\n\r\n**Where did you install Nextcloud from:** https://download.nextcloud.com/server/releases/nextcloud-14.0.0.tar.bz2\r\n\r\n**Signing status:**\r\nNot available\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nNextcloud is not installed - only a limited number of commands are available\r\n\r\n                                      \r\n  Command \"app:list\" is not defined.  \r\n                                      \r\n  Did you mean this?                  \r\n      app:check-code                  \r\n```\r\n\r\n</details>\r\n\r\n**Nextcloud configuration:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\nThe process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php\r\nThe current PHP memory limit is below the recommended value of 512MB.\r\nNextcloud is not installed - only a limited number of commands are available\r\n\r\n                                                            \r\n  There are no commands defined in the \"config\" namespace.  \r\n```\r\n\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** No\r\n\r\n**Are you using encryption:** On NC files? No. I have a proxy setup on docker host that encrypts traffic to the host and proxy_pass'es request to the container. The results are the same when accessing the container through the proxy (https) and when accessing it directly (http) on the published host port. \r\n\r\n**Are you using an external user-backend, if yes which one:** No\r\n\r\n\r\n\r\n### Client configuration\r\n**Browser:** \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.99 Chrome/67.0.3396.99 Safari/537.36\"\r\n\r\n**Operating system:** Ubuntu 17.10\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n<summary>Web server error log</summary>\r\n\r\n```\r\nnc_phpfpm     | [18-Sep-2018 23:42:31] WARNING: [pool www] child 8 said into stderr: \"NOTICE: PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /nextcloud/index.php:72\"\r\nnc_nginx      | 2018/09/18 23:42:31 [error] 7#7: *1 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /nextcloud/index.php:72\r\nnc_nginx      | Stack trace:\r\nnc_nginx      | #0 {main}\r\nnc_nginx      |   thrown in /nextcloud/index.php on line 72\" while reading upstream, client: 10.0.6.1, server: xxxxx, request: \"GET /index.php HTTP/1.1\", upstream: \"fastcgi://10.0.6.4:9000\", host: \"xxxxx\", referrer: \"https://xxxxx/\"\r\nnc_phpfpm     | [18-Sep-2018 23:42:31] WARNING: [pool www] child 8 said into stderr: \"Stack trace:\"\r\nnc_phpfpm     | [18-Sep-2018 23:42:31] WARNING: [pool www] child 8 said into stderr: \"#0 {main}\"\r\nnc_phpfpm     | 10.0.6.2 -  18/Sep/2018:23:42:31 +0200 \"GET \" 500\r\nnc_phpfpm     | [18-Sep-2018 23:42:31] WARNING: [pool www] child 8 said into stderr: \"  thrown in /nextcloud/index.php on line 72\"\r\nnc_nginx      | 10.0.6.1 - - [18/Sep/2018:23:42:31 +0200] \"GET /index.php HTTP/1.1\" 500 508 \"https://xxxxx/\" \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/67.0.3396.99 Chrome/67.0.3396.99 Safari/537.36\"\r\n\r\n```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n\r\n```\r\nn/a\r\n```\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n<summary>Browser log</summary>\r\n\r\n```\r\nRequest-URL: https://xxxxx/index.php\r\nRequest-metode: GET\r\nFjern-adresse: xx.xx.xx.xx:443\r\nStatuskode:\r\n500\r\nVersion:\r\n\t\r\nResponse-headers (225 B)\t\r\nConnection\t\r\nkeep-alive\r\nContent-Type\t\r\ntext/plain; charset=utf-8\r\nDate\t\r\nWed, 19 Sep 2018 11:11:17 GMT\r\nServer\t\r\nnginx/1.14.0 (Ubuntu)\r\nTransfer-Encoding\t\r\nchunked\r\nX-Powered-By\t\r\nPHP/7.2.10\r\n\r\nRequest-headers (414 B)\t\r\nAccept\t\r\ntext/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8\r\nAccept-Encoding\t\r\ngzip, deflate, br\r\nAccept-Language\t\r\nda,en-US;q=0.7,en;q=0.3\r\nCache-Control\t\r\nmax-age=0\r\nConnection\t\r\nkeep-alive\r\nDNT\t\r\n1\r\nHost\t\r\nxxxxx\r\nReferer\t\r\nhttps://xxxxx/\r\nUpgrade-Insecure-Requests\t\r\n1\r\nUser-Agent\t\r\nMozilla/5.0 (Windows NT 10.0; …) Gecko/20100101 Firefox/62.0\r\n```\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/423858450","html_url":"https://github.com/nextcloud/server/issues/11298#issuecomment-423858450","issue_url":"https://api.github.com/repos/nextcloud/server/issues/11298","id":423858450,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzg1ODQ1MA==","user":{"login":"cswank73","id":26015407,"node_id":"MDQ6VXNlcjI2MDE1NDA3","avatar_url":"https://avatars0.githubusercontent.com/u/26015407?v=4","gravatar_id":"","url":"https://api.github.com/users/cswank73","html_url":"https://github.com/cswank73","followers_url":"https://api.github.com/users/cswank73/followers","following_url":"https://api.github.com/users/cswank73/following{/other_user}","gists_url":"https://api.github.com/users/cswank73/gists{/gist_id}","starred_url":"https://api.github.com/users/cswank73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cswank73/subscriptions","organizations_url":"https://api.github.com/users/cswank73/orgs","repos_url":"https://api.github.com/users/cswank73/repos","events_url":"https://api.github.com/users/cswank73/events{/privacy}","received_events_url":"https://api.github.com/users/cswank73/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T00:12:32Z","updated_at":"2018-09-24T00:12:32Z","author_association":"NONE","body":"I'm getting the same error on a brand new nextcloud 14.0.0 install.  I found an error in my config.php and corrected it but still getting the same error internal server error.  I've looked at line #72 in the index.php and it does not shed any light on the issue.\r\n\r\nMy install is using Apache 2, Mariadb, PHP 7.1 on an Ubuntu 18.0.4 Server LTS\r\n"}}
{"actor":{"display_login":"cswank73"}}