-
Notifications
You must be signed in to change notification settings - Fork 19
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 Fails: Exception_DB: Database Query Failed #12
Comments
I just switched to dokku-alt beta and installed via dokku manager:install and got similar error after deleting db and starting again am going to rebuild the test machine next couple of days and try with dokku-alt beta to start -----> Bootstraping dokku-alt-manager... Additional information:
|
closing this rebuilt server, went straight to dokku-alt-beta and all good
|
I'm using dokku-alt-beta and have same problem - no matter, if I'm installing via |
ok, I feel less silly there was a db app linking error, which I didnt record I recreated that vm so cant dig logs I just did a clean install of trusty on a kvm vm on proxmox at ovh.ca and 'just worked' second time |
Same problem here: Additional information:
What can i do? |
Yep, same for me. Abowe is shown after using |
Here is a little bit more information to help you debugging. First - manager requires MariaDB database which you can access by executing:
this should produce:
You can also look into _db_update which contains list of applied migrations:
The migrations themselves are located here: https://github.com/romaninsh/dokku-alt-manager/tree/master/doc/dbupdates and to manually try and apply the migration you need to run
You can also see list of migration files inside your container like this:
Hopefully this will help and if you can post more information here. If you can also post the steps to reproduce this problem, it would help. |
to me it looks like migrator is taking migration files in wrong order |
#13 should fix this. |
Thanks for addressing this. |
I've just installed manager from the dokku-alt-manager git repository... getting the same error. I'm running dokku-alt beta. Anything I can do to help? |
fresh install, same error |
Same here
|
Same problem here... |
Yes. Just did a clean install on 14.04 and got the same error. |
Same error here. Any fix? |
+1 |
I finished installation with this step: After the bootstrapping failed I connected to the mariadb instance with
Then I created the _db_update table manually with this command:
And exit; After this I executed the bootstrapper again with this:
That's it. Running! Best regards, |
@steviee You saved my day! |
is there an undocumented config step for setup?
I simply cant get the dam to connect to the db
Exception_DB: Database Query Failed
I've manged to install Wordpress with a mariadb linked ok and set the environment variables
but no joy with dam and dokku-alt
ssh dokku@$HOST create dam
ssh dokku@$HOST mariadb:create dam
ssh dokku@$HOST mariadb:link dam dam
git remote add deploy dokku@$HOST:dam
git push deploy master
ssh dokku@$HOST config:set dam DATABASE_URL='mysql2://dam:hjdhdhjdjdflll@mariadb:3306/dam'
I feel like an idiot, perhaps I've borked my set-up, am new to dokku-alt and dokku-alt-manager
The text was updated successfully, but these errors were encountered: