{"action":"created","issue":{"url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk/issues/38","repository_url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk","labels_url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk/issues/38/comments","events_url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk/issues/38/events","html_url":"https://github.com/ladybirdweb/faveo-helpdesk/issues/38","id":148348433,"number":38,"title":"Auto install uses bad credentials on step6","user":{"login":"r2d2leboss","id":14126507,"avatar_url":"https://avatars.githubusercontent.com/u/14126507?v=3","gravatar_id":"","url":"https://api.github.com/users/r2d2leboss","html_url":"https://github.com/r2d2leboss","followers_url":"https://api.github.com/users/r2d2leboss/followers","following_url":"https://api.github.com/users/r2d2leboss/following{/other_user}","gists_url":"https://api.github.com/users/r2d2leboss/gists{/gist_id}","starred_url":"https://api.github.com/users/r2d2leboss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r2d2leboss/subscriptions","organizations_url":"https://api.github.com/users/r2d2leboss/orgs","repos_url":"https://api.github.com/users/r2d2leboss/repos","events_url":"https://api.github.com/users/r2d2leboss/events{/privacy}","received_events_url":"https://api.github.com/users/r2d2leboss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2016-04-14T12:41:16Z","updated_at":"2016-04-21T10:01:17Z","closed_at":null,"body":"Hi,\r\n\r\nAt step 6 (/step6post, just after clicking on \"Install\"), the auto install script doesn't use database credentials passed in previous step. Instead, it uses \"root\" and an empty password, resulting in an install error.\r\n\r\nTo reproduce:\r\n\r\n- Accept license agreement, click Continue\r\n- Environment test : everything is OK, click Continue\r\n- Database setup : I set my credentials, click Continue. Note that my username is not root and my password is not empty.\r\n- Database setup : \"Database connection successful. This system can run Faveo\", click Continue\r\n- Local Information : I fill informations then click on Install and I get the error\r\n\r\nThanks\r\n\r\nBelow is the trace at step 6:\r\n\r\n> PDOException in Connector.php line 47:\r\nSQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)\r\nin Connector.php line 47\r\nat PDO->__construct('mysql:host=localhost;port=;dbname=faveo', 'root', '', array('0', '2', '0', false, '0')) in Connector.php line 47\r\nat Connector->createConnection('mysql:host=localhost;port=;dbname=faveo', array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'faveo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'port' => '', 'prefix' => '', 'strict' => false, 'name' => 'mysql'), array('0', '2', '0', false, '0')) in MySqlConnector.php line 20\r\nat MySqlConnector->connect(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'faveo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'port' => '', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 58\r\nat ConnectionFactory->createSingleConnection(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'faveo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'port' => '', 'prefix' => '', 'strict' => false, 'name' => 'mysql')) in ConnectionFactory.php line 47\r\nat ConnectionFactory->make(array('driver' => 'mysql', 'host' => 'localhost', 'database' => 'faveo', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'port' => '', 'prefix' => '', 'strict' => false), 'mysql') in DatabaseManager.php line 177\r\nat DatabaseManager->makeConnection('mysql') in DatabaseManager.php line 65\r\nat DatabaseManager->connection(null) in DatabaseMigrationRepository.php line 167\r\nat DatabaseMigrationRepository->getConnection() in DatabaseMigrationRepository.php line 135\r\nat DatabaseMigrationRepository->repositoryExists() in Migrator.php line 398\r\nat Migrator->repositoryExists() in MigrateCommand.php line 101\r\nat MigrateCommand->prepareDatabase() in MigrateCommand.php line 54\r\nat MigrateCommand->fire()\r\nat call_user_func_array(array(object(MigrateCommand), 'fire'), array()) in Container.php line 526\r\nat Container->call(array(object(MigrateCommand), 'fire')) in Command.php line 115\r\nat Command->execute(object(ArrayInput), object(BufferedOutput)) in Command.php line 257\r\nat Command->run(object(ArrayInput), object(BufferedOutput)) in Command.php line 101\r\nat Command->run(object(ArrayInput), object(BufferedOutput)) in Application.php line 60\r\nat Application->call('migrate', array('--force' => true)) in Kernel.php line 145\r\nat Kernel->call('migrate', array('--force' => true)) in Facade.php line 213\r\nat Facade::__callStatic('call', array('migrate', array('--force' => true))) in InstallController.php line 309\r\nat Artisan::call('migrate', array('--force' => true)) in InstallController.php line 309\r\nat InstallController->accountcheck(object(InstallerRequest))\r\nat call_user_func_array(array(object(InstallController), 'accountcheck'), array(object(InstallerRequest))) in Controller.php line 246\r\nat Controller->callAction('accountcheck', array(object(InstallerRequest))) in ControllerDispatcher.php line 162\r\nat ControllerDispatcher->call(object(InstallController), object(Route), 'accountcheck') in ControllerDispatcher.php line 107\r\nat ControllerDispatcher->Illuminate\\Routing\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 141\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 101\r\nat Pipeline->then(object(Closure)) in ControllerDispatcher.php line 108\r\nat ControllerDispatcher->callWithinStack(object(InstallController), object(Route), object(Request), 'accountcheck') in ControllerDispatcher.php line 67\r\nat ControllerDispatcher->dispatch(object(Route), object(Request), 'App\\Http\\Controllers\\Installer\\helpdesk\\InstallController', 'accountcheck') in Route.php line 204\r\nat Route->runWithCustomDispatcher(object(Request)) in Route.php line 134\r\nat Route->run(object(Request)) in Router.php line 701\r\nat Router->Illuminate\\Routing\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 141\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 101\r\nat Pipeline->then(object(Closure)) in Router.php line 703\r\nat Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670\r\nat Router->dispatchToRoute(object(Request)) in Router.php line 628\r\nat Router->dispatch(object(Request)) in Kernel.php line 214\r\nat Kernel->Illuminate\\Foundation\\Http\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 141\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in LanguageMiddleware.php line 21\r\nat LanguageMiddleware->handle(object(Request), object(Closure)) in Pipeline.php line 125\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in ShareErrorsFromSession.php line 55\r\nat ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in StartSession.php line 61\r\nat StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36\r\nat AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in EncryptCookies.php line 40\r\nat EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42\r\nat CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125\r\nat Pipeline->Illuminate\\Pipeline\\{closure}(object(Request))\r\nat call_user_func(object(Closure), object(Request)) in Pipeline.php line 101\r\nat Pipeline->then(object(Closure)) in Kernel.php line 115\r\nat Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84\r\nat Kernel->handle(object(Request)) in index.php line 52\r\n"},"comment":{"url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk/issues/comments/212840564","html_url":"https://github.com/ladybirdweb/faveo-helpdesk/issues/38#issuecomment-212840564","issue_url":"https://api.github.com/repos/ladybirdweb/faveo-helpdesk/issues/38","id":212840564,"user":{"login":"AlexYoung28","id":6728021,"avatar_url":"https://avatars.githubusercontent.com/u/6728021?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexYoung28","html_url":"https://github.com/AlexYoung28","followers_url":"https://api.github.com/users/AlexYoung28/followers","following_url":"https://api.github.com/users/AlexYoung28/following{/other_user}","gists_url":"https://api.github.com/users/AlexYoung28/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexYoung28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexYoung28/subscriptions","organizations_url":"https://api.github.com/users/AlexYoung28/orgs","repos_url":"https://api.github.com/users/AlexYoung28/repos","events_url":"https://api.github.com/users/AlexYoung28/events{/privacy}","received_events_url":"https://api.github.com/users/AlexYoung28/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T10:01:17Z","updated_at":"2016-04-21T10:01:17Z","body":"Just tried and i can confirm this works now :)"}}