{"action":"created","issue":{"url":"https://api.github.com/repos/photo/frontend/issues/1572","labels_url":"https://api.github.com/repos/photo/frontend/issues/1572/labels{/name}","comments_url":"https://api.github.com/repos/photo/frontend/issues/1572/comments","events_url":"https://api.github.com/repos/photo/frontend/issues/1572/events","html_url":"https://github.com/photo/frontend/issues/1572","id":64668027,"number":1572,"title":"setup-hangs-fails-at-final-step-3","user":{"login":"dkebler","id":1316185,"avatar_url":"https://avatars.githubusercontent.com/u/1316185?v=3","gravatar_id":"","url":"https://api.github.com/users/dkebler","html_url":"https://github.com/dkebler","followers_url":"https://api.github.com/users/dkebler/followers","following_url":"https://api.github.com/users/dkebler/following{/other_user}","gists_url":"https://api.github.com/users/dkebler/gists{/gist_id}","starred_url":"https://api.github.com/users/dkebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkebler/subscriptions","organizations_url":"https://api.github.com/users/dkebler/orgs","repos_url":"https://api.github.com/users/dkebler/repos","events_url":"https://api.github.com/users/dkebler/events{/privacy}","received_events_url":"https://api.github.com/users/dkebler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-27T01:06:53Z","updated_at":"2015-05-29T15:39:58Z","closed_at":null,"body":"Having the same problem as this person\r\nhttp://superuser.com/questions/777811/trovebox-openphoto-setup-hangs-fails-at-final-step-3\r\n\r\nFollowed all the advice.  Yours, the \"good\" answer.\r\n\r\nUsed your 3 minute script on ubuntu 14.04 with latest Apache and Php5.\r\nPhpinfo confirms mcrypt loaded.\r\nownership good on three directories set in script\r\nall good with databse,  recreated it and user to be sure. \r\n(have serveral other mysql/php based installs including recent wordpress)\r\n\r\nFrom apache logs:Doesn't seem to be getting the info from put in to page 2.\r\nNo errors in mysql log because of missing variable values I suppose\r\n```\r\n[Fri Mar 27 00:54:07.111737 2015] [:error] [pid 17430] [client 75.142.157.70:35005] PHP Notice:  Undefined variable: mySqlHost in /var/www/openphoto/src/templates/setup.php on line 99, referer: http://photos.duranguito.org/setup/2\r\n[Fri Mar 27 00:54:07.111770 2015] [:error] [pid 17430] [client 75.142.157.70:35005] PHP Notice:  Undefined variable: mySqlUser in /var/www/openphoto/src/templates/setup.php on line 102, referer: http://photos.duranguito.org/setup/2\r\n[Fri Mar 27 00:54:07.111784 2015] [:error] [pid 17430] [client 75.142.157.70:35005] PHP Notice:  Undefined variable: mySqlPassword in /var/www/openphoto/src/templates/setup.php on line 105, referer: http://photos.duranguito.org/setup/2\r\n[Fri Mar 27 00:54:07.111798 2015] [:error] [pid 17430] [client 75.142.157.70:35005] PHP Notice:  Undefined variable: mySqlDb in /var/www/openphoto/src/templates/setup.php on line 108, referer: http://photos.duranguito.org/setup/2\r\n[Fri Mar 27 00:54:07.111811 2015] [:error] [pid 17430] [client 75.142.157.70:35005] PHP Notice:  Undefined variable: mySqlTablePrefix in /var/www/openphoto/src/templates/setup.php on line 111, referer: http://photos.duranguito.org\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/photo/frontend/issues/comments/106849946","html_url":"https://github.com/photo/frontend/issues/1572#issuecomment-106849946","issue_url":"https://api.github.com/repos/photo/frontend/issues/1572","id":106849946,"user":{"login":"joephein","id":12627719,"avatar_url":"https://avatars.githubusercontent.com/u/12627719?v=3","gravatar_id":"","url":"https://api.github.com/users/joephein","html_url":"https://github.com/joephein","followers_url":"https://api.github.com/users/joephein/followers","following_url":"https://api.github.com/users/joephein/following{/other_user}","gists_url":"https://api.github.com/users/joephein/gists{/gist_id}","starred_url":"https://api.github.com/users/joephein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joephein/subscriptions","organizations_url":"https://api.github.com/users/joephein/orgs","repos_url":"https://api.github.com/users/joephein/repos","events_url":"https://api.github.com/users/joephein/events{/privacy}","received_events_url":"https://api.github.com/users/joephein/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T15:39:58Z","updated_at":"2015-05-29T15:39:58Z","body":"Yes I can confirm that if the setup fails subsequent tries with the same e-mail address will also fail. The only way is to manually delete the user entry from the mysql database or try again with a different e-mail address:\r\n\r\n``` [Tue May 26 16:27:46.642966 2015] [:error] [pid 27686] [client x.x.x.x:60662] {severity:crit, description:\"Could not initialize user for MySql due to email conflict (name@domain.com).\", additional:}, referer: http://x.x.x.x/setup/3\r\n\r\n[Tue May 26 16:27:46.643249 2015] [:error] [pid 27686] [client x.x.x.x:60662] {severity:warn, description:\"Query error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'name@domain.com' for key 'PRIMARY' - INSERT INTO `user` (`id`,`password`,`extra`) VALUES (:id,:password,:extra)\", additional:}, referer: http://x.x.x.x/setup/3 ```"}}