Skip to content
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

Fixes broken installation script/Trovebox UI Setup issue which preven… #1577

Closed
wants to merge 2 commits into from
Closed

Conversation

russmac
Copy link

@russmac russmac commented May 9, 2015

…ted installation/setup

The current sciprt does not touch the DB.
The UI setup fails, As it attempts to access a user table while at the same time instructing you to create a blank DB. #1572
The SQL is taken from https://github.com/photo/frontend/blob/master/src/configs/upgrade/db/mysql/mysql-base.php#L294-L303.
The script will give you 3 chances to get your password right before providing instructions and SQL to the user on how to manually resolve the db schema issue once they have the password.

…ted installation/setup

The current sciprt does not touch the DB.
The UI setup fails, As it attempts to access a user table while at the same time instructing you to create a blank DB. #1572
The SQL is taken from https://github.com/photo/frontend/blob/master/src/configs/upgrade/db/mysql/mysql-base.php#L294-L303.
The script will give you 3 changes to get your password right before providing instructions and SQL to the user on how to manually resolve the db schema issue once they have the password.
@russmac
Copy link
Author

russmac commented May 9, 2015

To confirm, I tested all conditions
The worst possible outcome, You get reprompted for password twice because you chose a database that already exists (the error wont be squashed so you can see this) The instructions on failure also refer to this.

@jmathai
Copy link
Member

jmathai commented May 18, 2015

Thanks for the PR. Would like to know why this is happening in the first place. One issue I noticed is that the user might select a prefix for the db tables and the setup script doesn't account for that. I left a comment on #1577.

@russmac russmac closed this Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants