-
Notifications
You must be signed in to change notification settings - Fork 442
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
Healthcheck not working properly on a prior docker stack. #557
Comments
I haven't yet done the release with new #556 yet. Packages have just been released onto the mirrors so 1 or 2 more days and mariadb:latest will be updated. |
Ohh my bad :/ ! Thank you for your answer. |
Up to a few hours after docker-library/official-images#16226 is merged it will be available. |
Hello :) Waited a few days before checking in. At first it didn't worked as expected even with To make it work I had to delete Now everything is fine, thank you !! |
Yes. deleting the file is what triggered the resetting of healthcheck users. Glad its working for you. Thanks for confirming. |
Hello,
First, pardon me for my lack of education if I'm doing something wrong here. I'm just a hobby tinkerer and self-host enthusiast. I'm writing this issue because I can't find any solution to the unhealthy mariaDB tag of a prior docker-compose stack. While reading through the different issues and proposed solution here and there nothing seems to work as expected.
I followed the official documentation new way for the healthcheck, but that only works on newly created database issuecomment-1610955161.
I also added the new env to recreate healthcheck user, but still the problem persists. I also tried the following proposed workaround but this also throws an error at the first command even If i'm connected as root:
The .my-healthcheck.cnf file exists in my docker container:
If I exec into the container and try to connect as the healthcheck user with the healthcheck.cnf or root password, it doesn't work either:
Just running the command into the container itself throws the same error:
Here is my truncated docker-compose.yaml file:
I hope I'm not adding unnecessary noise in an already complicated environment I'm absolutely clueless about. But right now I'm out of ideas and explored all issues/workaround I could find. It's probably something on my side I'm doing wrong here and I could live without the healthcheck, but my perfectionist side likes to see the shiny healthy tag 😇.
Thank you !
Edit:
I recreated a completely new compose stack with a fresh database and the healthcheck works as expected. So there's probably an issue with the current database but I have no idea on how to fix it.
The text was updated successfully, but these errors were encountered: