-
Notifications
You must be signed in to change notification settings - Fork 64
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
[Help Wanted] Database Docker container keeps restarting #1050
Comments
I have tried deploying a fresh container, and received similar restart errors (whole stack is fresh):
|
I'm getting the same issue with an unknown variable 'default-authentication-plugin=mysql_native_password' error that appears to be crashing the db container. |
I figured it out. You need to change the "--default-authentication-plugin=mysql_native_password" to "----mysql-native-password=ON" in the COMMAND section of db container. Apparently in upgrading to the latest version of mysql 8 (which is now 8.4) the "default-authentication-plugin" is deprecated, and this workaround is how I resolved the error and got my server working again. |
Hmm, I can't bootstrap my install using that still (either with the four -'s, or if I assume that was a mistype and try the standard 2) |
Thanks, this works for me (but with two dashes). |
Describe the issue
I'm self-hosting standard Notes using Docker, and i have purchased for a pro subscription for 5years. After using a while, the Standardnotes app keeps popping up login windows like this:
Then I go to check the docker status, turns out the db container is keeping restarting:
the text in the blue label means "restarting"
see db container log:
docker-compose.yml:
To Reproduce
not sure, i have try redeploy the docker containers but after 1day or 2 this problem comes back.
Expected behavior
Please help me fix this problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: