-
Notifications
You must be signed in to change notification settings - Fork 33
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
Permission Error #6
Comments
The PUID and PGID need to be set to the same user that owns the directory on the host, you can find out the user with: Then you can find the UID and GID with |
Yes, but my id is 1026, but the error persists even if I set the PUID to 1026. |
You shouldn't set the PUID to 0, the container is made to run as a non root user. The GID is also given by the id Can you exec into the container and check the permission/owner of the /games directory? Please post the output of the following commands:
|
Unable to execute the command because the container could not be executed due to a permission error. I tried to set the GID to [100,101,65539] that came out when I ran id, but it didn't work. |
Right, first override the container entrypoint by adding to the docker-compose:
and then
|
I'm having a similar issue. I'm using Unraid, which uses 99:100 (nobody:users) for shared directories. Setting the PUID:PGID to 99:100 results in the following error: addgroup: gid '100' in use Interestingly enough, the shop_config and shop_template files are copied over before the docker dies. If I set the PGID/UD to 1000:1000, the container will start the but the generated shop.json and shop.tfl, while generated, are owned by app:app which is unreadable by any user. Accessing the shop via the Switch just shows empty folders. The log only shows a simple GET /. Any ideas? |
I think I've figured out what happens, it's just that the base image (python-alpine) already has existing user that we are trying to add. Can you please try the image |
This has fixed this issue, thanks! |
Permission Error occurs despite setting the PUID and PGID. I changed PUID and PGID to 0, but the same error occurs.
This is my docker-compose
The text was updated successfully, but these errors were encountered: