-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Docker install won't start with error "Access denied for user 'librum'@'localhost'" #37
Comments
Same here :/ |
Wanted to give Librum a try, it looks very interesting, but same error here also |
I've had a similar issue with Kubernetes and I've added an init-container to chmod it like this:
|
I still have this issue.
|
As someone who's not super well versed in docker, is that something that you added on top of your existing compose file? What exactly would should my docker compose file look like when trying this? |
I worked out one of the issues here. The file permission issue is due to using a bind mount instead of docker volumes. The container executes commands using a non-root uid and gid that doesn't match the docker user, so if you want to use a bind mount then you need to manually set the ownership of the server's storage directory to uid=999 and gid=999 before running the container. eg:
It looks like you also have a database login issue as well though. Are the credentials in your docker-compose file the ones you actually used? Or are they placeholders? |
docker-compose file
Logs
The text was updated successfully, but these errors were encountered: