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

Ansible script failure restarting container on MariaDB #281

Closed
shikasta-net opened this issue Feb 22, 2022 · 1 comment
Closed

Ansible script failure restarting container on MariaDB #281

shikasta-net opened this issue Feb 22, 2022 · 1 comment

Comments

@shikasta-net
Copy link

shikasta-net commented Feb 22, 2022

Hi, I don't think this is a duplicate issue but it's one I have had happen twice now.

When starting up the container from cold (with data but not resuming a stopped one; the database container is running already) the Ansible script chokes as follows:
FAILED! => {"changed": false, "msg": "unable to parse the MySQL grant string: SET DEFAULT ROLE '0' FOR 'wallabag'@'%'"}
I'm using mariadb 10.2 image, and Wallabag 2.4.2 image.

In case anyone else comes across this, the fix is to go into the database and run SET DEFAULT ROLE NONE FOR 'wallabag'@'%', for your instance's database user. Or set POPULATE_DATABASE=False in the environment.

I'll look into it further and see if I can work out why Ansible is failing and if I can post a fix.

@j0k3r
Copy link
Member

j0k3r commented Nov 30, 2022

Ansible has been replaced by shell script few days ago #307, so I'm closing that issue.

@j0k3r j0k3r closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2022
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

No branches or pull requests

2 participants