-
Notifications
You must be signed in to change notification settings - Fork 137
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
Rundeck Docker: MySQL fail to start #132
Comments
Hi @happicamper Sorry to hear that. What version are you upgrading from? 😞 |
It's also my fault that my script will fetch the latest image whenever the service is down. If I'm not mistaken it's from 2.11.3 upgrade to 2.11.4 broke my setup. |
Hi @happicamper I don't think there is a schema update for 2.11.3 -> 2.11.4 (See: http://rundeck.org/docs/upgrading/index.html ) When starting the container, does MariaDB start properly? |
@jjethwa Hello, yea it seems I'm not in that version. I've tried backward versions but still the docker service mysql isn't working. Where can I dig logs for this mysql failure? Thankful as always on your responses. |
Hi @happicamper You should be able to see the logs under /var/logs/mysql inside the container. Also, the container log should show the supervisor output.
Hoping that gives us a clue 😃 |
@jjethwa unfortunately, this container only displays:
And whenever I get inside the docker, cause its failing, it will force me to log out which prevents me to investigate inside the mysql. Though I have a volume of mysql.
|
Hi @happicamper Do you mind adding a volume for /var/logs/mysql ? |
Hello @jjethwa, upon checking the container, I got this under /var/log/mysql:
|
Hmm, that's out of my expertise, but I'll see what I can find. Are you able to start a fresh container without problems? (Try with no volumes) |
@jjethwa It seems, it's running well without any volumes which means it's on my setup right? Is possible that I can migrate my jobs into a new container without the mysql files? |
@happicamper That depends on your setup. By default, jobs are stored in the database as well. There are export/import configs for SCM like git. You could also export the jobs using the CLI tool or export projects the UI. I still need to comb through the mysql logs to see if I can find the smoking gun, but I would try to clone your volumes and try running with an older version of the container first or try some repair tools. Perhaps it's just some corruption that can easily be fixed. |
@jjethwa Sorry for bugging you around 😆. I'm planning to move my Rundeck server into a standalone server instead of docker because of resources constraints and concerns. I've tried exporting projects through XMLs and get back to you whatever results will be. |
No problem at all, @happicamper The XML format will work. You'll be able to import via the UI or CLI tool 😄 |
Greetings!
I'm unable to start my docker service since the upgrade of the image. I've saw an upgrade notes which has to alter a table in Mysql but I'm only using Rundeck Docker image and run it using an embedded mysql inside. I'm trying to alter that table but mysql fail to start and exits the container/service.
Any help will be greatly appreciated, thanks!
The text was updated successfully, but these errors were encountered: