{"action":"created","issue":{"url":"https://api.github.com/repos/nZEDb/nZEDb/issues/2291","repository_url":"https://api.github.com/repos/nZEDb/nZEDb","labels_url":"https://api.github.com/repos/nZEDb/nZEDb/issues/2291/labels{/name}","comments_url":"https://api.github.com/repos/nZEDb/nZEDb/issues/2291/comments","events_url":"https://api.github.com/repos/nZEDb/nZEDb/issues/2291/events","html_url":"https://github.com/nZEDb/nZEDb/issues/2291","id":183227221,"number":2291,"title":"fresh stable install errors on missing config.php","user":{"login":"nrk666","id":8151400,"avatar_url":"https://avatars.githubusercontent.com/u/8151400?v=3","gravatar_id":"","url":"https://api.github.com/users/nrk666","html_url":"https://github.com/nrk666","followers_url":"https://api.github.com/users/nrk666/followers","following_url":"https://api.github.com/users/nrk666/following{/other_user}","gists_url":"https://api.github.com/users/nrk666/gists{/gist_id}","starred_url":"https://api.github.com/users/nrk666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrk666/subscriptions","organizations_url":"https://api.github.com/users/nrk666/orgs","repos_url":"https://api.github.com/users/nrk666/repos","events_url":"https://api.github.com/users/nrk666/events{/privacy}","received_events_url":"https://api.github.com/users/nrk666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"niel","id":117568,"avatar_url":"https://avatars.githubusercontent.com/u/117568?v=3","gravatar_id":"","url":"https://api.github.com/users/niel","html_url":"https://github.com/niel","followers_url":"https://api.github.com/users/niel/followers","following_url":"https://api.github.com/users/niel/following{/other_user}","gists_url":"https://api.github.com/users/niel/gists{/gist_id}","starred_url":"https://api.github.com/users/niel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niel/subscriptions","organizations_url":"https://api.github.com/users/niel/orgs","repos_url":"https://api.github.com/users/niel/repos","events_url":"https://api.github.com/users/niel/events{/privacy}","received_events_url":"https://api.github.com/users/niel/received_events","type":"User","site_admin":false},"assignees":[{"login":"niel","id":117568,"avatar_url":"https://avatars.githubusercontent.com/u/117568?v=3","gravatar_id":"","url":"https://api.github.com/users/niel","html_url":"https://github.com/niel","followers_url":"https://api.github.com/users/niel/followers","following_url":"https://api.github.com/users/niel/following{/other_user}","gists_url":"https://api.github.com/users/niel/gists{/gist_id}","starred_url":"https://api.github.com/users/niel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niel/subscriptions","organizations_url":"https://api.github.com/users/niel/orgs","repos_url":"https://api.github.com/users/niel/repos","events_url":"https://api.github.com/users/niel/events{/privacy}","received_events_url":"https://api.github.com/users/niel/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-10-15T19:13:53Z","updated_at":"2016-10-16T17:34:12Z","closed_at":null,"body":"###Expected behaviour\r\nExpected after installing via composer that http://<server>/install would start install process\r\n\r\n###Actual behaviour\r\n\r\nhttp://server/install -> HTTP ERROR 500\r\n\r\nphp_error.log in /var/www/nZEDb/www/install/ : \r\n\r\n`[15-Oct-2016 15:03:42 America/New_York] PHP Fatal error:  Uncaught RuntimeException: Unable to load configuration file '/var/www/nZEDb/nzedb/config/config.php'. Make sure it has been created and contains correct settings. in /var/www/nZEDb/nzedb/config/Configure.php:51\r\nStack trace:\r\n#0 /var/www/nZEDb/nzedb/config/Configure.php(129): nzedb\\config\\Configure->loadSettings('config', true)\r\n#1 /var/www/nZEDb/nzedb/config/Configure.php(42): nzedb\\config\\Configure->loadEnvironment('indexer')\r\n#2 /var/www/nZEDb/nzedb/bootstrap.php(31): nzedb\\config\\Configure->__construct('indexer')\r\n#3 /var/www/nZEDb/libraries/lithium/core/Libraries.php(325): require('/var/www/nZEDb/...')\r\n#4 /var/www/nZEDb/libraries/lithium/core/Libraries.php(303): lithium\\core\\Libraries::_configure(Array)\r\n#5 /var/www/nZEDb/app/config/bootstrap/libraries.php(135): lithium\\core\\Libraries::add('nzedb', Array)\r\n#6 /var/www/nZEDb/app/config/bootstrap.php(34): require('/var/www/nZEDb/...')\r\n#7 /var/www/nZEDb/www/smarty.php(22): require_once('/var/www/nZEDb/...')\r\n#8 /var/www/nZEDb/www/install/index.php(3): require_once in /var/www/nZEDb/nzedb/config/Configure.php on line 51`\r\n\r\n###Steps to reproduce the behaviour\r\n\r\ncomposer create-project --no-dev --keep-vcs --prefer-source nzedb/nzedb nZEDb\r\n\r\nbrowser to : http://server/install   -> HTTP ERROR 500\r\n\r\nOS: ubuntu 16.04 / php7 / MariaDB 10 \r\n\r\nVersion : \r\ngit branch -v\r\n* (HEAD detached at v0.6.5.2) 3febee8 Update version xml\r\n  0.x  59ac112 Update versions file.\r\n\r\n\r\n\r\nNote: this system was working with an older version of nZEDb, Nginx/MariaDB/PHP setup was not modified except to drop the nzedb database (to start over) and to remove /var/www/nZEDb (to start over). DB user access perms and php modifications were not changed. Nginx config was not changed. \r\n\r\nconfig.php doesn't exist in a fresh install, I'd imagine that is what the install process is designed to build. \r\n"},"comment":{"url":"https://api.github.com/repos/nZEDb/nZEDb/issues/comments/254061033","html_url":"https://github.com/nZEDb/nZEDb/issues/2291#issuecomment-254061033","issue_url":"https://api.github.com/repos/nZEDb/nZEDb/issues/2291","id":254061033,"user":{"login":"ralphte","id":2996680,"avatar_url":"https://avatars.githubusercontent.com/u/2996680?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphte","html_url":"https://github.com/ralphte","followers_url":"https://api.github.com/users/ralphte/followers","following_url":"https://api.github.com/users/ralphte/following{/other_user}","gists_url":"https://api.github.com/users/ralphte/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphte/subscriptions","organizations_url":"https://api.github.com/users/ralphte/orgs","repos_url":"https://api.github.com/users/ralphte/repos","events_url":"https://api.github.com/users/ralphte/events{/privacy}","received_events_url":"https://api.github.com/users/ralphte/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T17:34:12Z","updated_at":"2016-10-16T17:34:12Z","body":"For people that hit this error and just need to use the installer change this line is the file /var/www/nZEDb/nzedb/config/Configure.php\r\n\r\nFROM\r\n\r\n'indexer' => [\r\n                        'config'        => true,\r\n                        'settings'      => false\r\nTO\r\n\r\n'indexer' => [\r\n                        'config'        => false,\r\n                        'settings'      => false\r\n\r\nThen change it back after you have gone though the install. This is a quick fix till this is fixed updstream\r\n"}}
{"actor":{"display_login":"ralphte"}}