You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: You may need to chown -R $USER:$USER /path/to/root/directory so Sonarr and the rest of the apps have the proper permissions to modify and move around files. This Docker image of Sonarr uses an internal user account inside the container called abc some you may have to set this user as owner of the directory where it will place the media files after download. This note also applies for Radarr.
I think I finally get what its saying?
in the .env file it specifies the user in charge of these will be puid and pgid of 1000
# UNIX PUID and PGID, find with: id $USER
PUID=1000
PGID=1000
in order to find your puid/pgid you will use the command
id yourUsername
This returns the results..
uid=1000(username)` gid=1000(username) groups=1000(username), 998(docker) or like in my original trial...
uid=27(otherusername) gid=27(otherusername) groups=27(otherusername),998(docker)
the puid and pgid need to match whatever user you are trying to run these as.
I set mine to match root as its a VM anyway..
Open the .env file
Change puid and pgid value to match the proper user
Restart Docker containers
docker-compose down
docker-compose up -d
it now allows in deluge to set the autoadd where before it was stating I(or maybe it) did not have read/write permissions.
who knows what else this will resolve.
Hope this helps further explain this to someone struggling.
Disclaimer: If I'm incorrect or even just partially, please let me know. going on my 3rd try installing from the beginning.
So where it mentions..
Note: You may need to chown -R $USER:$USER /path/to/root/directory so Sonarr and the rest of the apps have the proper permissions to modify and move around files. This Docker image of Sonarr uses an internal user account inside the container called abc some you may have to set this user as owner of the directory where it will place the media files after download. This note also applies for Radarr.
I think I finally get what its saying?
in the .env file it specifies the user in charge of these will be puid and pgid of 1000
in order to find your puid/pgid you will use the command
id yourUsername
This returns the results..
uid=1000(username)` gid=1000(username) groups=1000(username), 998(docker)
or like in my original trial...
uid=27(otherusername) gid=27(otherusername) groups=27(otherusername),998(docker)
the puid and pgid need to match whatever user you are trying to run these as.
I set mine to match root as its a VM anyway..
it now allows in deluge to set the autoadd where before it was stating I(or maybe it) did not have read/write permissions.
who knows what else this will resolve.
Hope this helps further explain this to someone struggling.
Disclaimer: If I'm incorrect or even just partially, please let me know. going on my 3rd try installing from the beginning.
thanks to..
https://www.reddit.com/r/docker/comments/e2ia04/permissions_with_wordpress_bind_volume/
https://hub.docker.com/r/linuxserver/plex
https://docs.linuxserver.io/general/understanding-puid-and-pgid
https://forum.openmediavault.org/index.php?thread/27226-docker-containers-runs-as-root-ignores-puid-pgid-setting/
The text was updated successfully, but these errors were encountered: