-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup-hangs-fails-at-final-step-3 #1572
Comments
All other than the three directories set in the script are set root:root. Is that ok? If it makes any difference (why) this server is running on EC2 |
Most failures on this page are due to missing extensions (e.g. mcrypt, oauth) or failure to connect to MySQL. If localhost doesn't work, try 127.0.0.1. Ensure the DB is empty. If you're running MySQL on a non-standard port (e.g. not 3306), add this to the setup page. Depending on your config, check php_error.log for any exceptions caught via EPI. This will include enough information to troubleshoot the cause of failure. |
running on standard port
This is becoming a time suck. Can I just do this manually? I see a As I mentioned I have several other apache/php/mysql web app installs on
|
With your preferred MySQL tool, connect to the EC2 DB from your machine using the same credentials and database. Drop any existing tables which exist. Try creating a table to verify permissions. If all is good, setup should work. However, the manual approach, should all else fail:
For this to work, MySQL credentials on dev/ec2 need to match, since they're written encrypted in site.ini |
don't have a local lamp installed. No SQL available to generate database? On Sat, Mar 28, 2015 at 10:56 AM, nakedgun notifications@github.com wrote:
Cheers, Cuidate, TTFN http://www.youtube.com/watch?v=5Gu50vq5ux4 |
ok, did a local lamp install. Now database tables are created but page 3 beyond mysql and S3 entries what else needs to be filled in in the Honestly, not very confident that trovebox will work once I follow your On Sun, Mar 29, 2015 at 7:11 AM, David Kebler d@kebler.net wrote:
Cheers, Cuidate, TTFN http://www.youtube.com/watch?v=5Gu50vq5ux4 |
@dkebler what's in your error log when you receive the 500? |
@dkebler hi, I am also facing the same issue. Did you find a solution to that ? |
The setup script does not enable mycrpt.so , (fixed) With the DB user in question having complete access. setup fails. "127.0.0.1 | root | *0F95AFF51ASDFFASDAEASFHFASHF4D97675A0117 | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y " The database setup, appears to fails due to the user table not existing. Before its actually created. "Table 'photos.user' doesn't exist - SELECT * FROM [Sat May 09 03:32:20.921745 2015] [:error] [pid 26625] [client 10.0.0.7:17986] PHP Fatal error: Uncaught exception 'EpiDatabaseQueryException' with message 'Query error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'photos.user' doesn't exist - SELECT * FROM Ive been looking everywhere for some SQL to create it manually. |
Solution ( Tested once, Then reproduced succesfully again )create a user.sql file with these contents. CREATE TABLE IF NOT EXISTS user ( create db user table, prompt for passwordmysql newblankdatabasename < user.sql -p Now enter this as the database in your user setup and setup will complete succesfully. |
Alternatively use the install script which I fixed and submitted a pull request for. https://github.com/russmac/frontend/commit/66c2440778830d0e7f55fadc6d5cdf8192522a6b |
Would like to better understand the issue here. It looks like it fails at 'User::getNameFromEmail()` which shouldn't be called yet (I don't think). It should only be called if you have a session and you shouldn't yet in the setup unless. Can you confirm if this error came up after you already tried to set Trovebox up unsuccessfully? |
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:
|
Having the same problem as this person
http://superuser.com/questions/777811/trovebox-openphoto-setup-hangs-fails-at-final-step-3
Followed all the advice. Yours, the "good" answer.
Used your 3 minute script on ubuntu 14.04 with latest Apache and Php5.
Phpinfo confirms mcrypt loaded.
ownership good on three directories set in script
all good with databse, recreated it and user to be sure.
(have serveral other mysql/php based installs including recent wordpress)
From apache logs:Doesn't seem to be getting the info from put in to page 2.
No errors in mysql log because of missing variable values I suppose
The text was updated successfully, but these errors were encountered: