negativzeroe 80 Posted March 4, 2020 Posted March 4, 2020 (edited) So I began to notice that subtitles were not being downloaded to the media directory as set in emby server. So I investigated and noticed that the user/group nobody/nogroup had a uid/pid of like 65532 or something so I went in and changed it to 1000 like my passed docker uid/pid. But for some reason it's still showing access denied in the logs, pulled latest image, restarted, chmod 775, nothing. Relevant info attached. EDIT, adding screenshot showing user emby on host is in group with gid 1000. embylog.txt Edited March 4, 2020 by negativzeroe
Luke 42077 Posted March 4, 2020 Posted March 4, 2020 Hi, have you checked out this guide to file permissions? https://emby.media/community/index.php?/topic/32218-file-permissions-guide-for-new-linux-users/
mastrmind11 722 Posted March 4, 2020 Posted March 4, 2020 hang on, how have you set up your volumes? what does your docker run command look like? you shouldn't even have to check permissions inside the container, permissions will be inherited from the uids you set in your run command. Check the actual volume permissions outside the container. 1
negativzeroe 80 Posted March 4, 2020 Author Posted March 4, 2020 docker run \ --name emby \ --restart unless-stopped \ --net=local \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=America/Chicago \ -p 8096:8096 \ -p 8920:8920 \ -v /home/administrator/apps/emby:/config \ -v /mnt/media/tvshows:/tvshows \ -v /mnt/media/movies:/movies \ -v /mnt/media/music:/music \ -v /mnt/media/.photos:/photos \ -v /mnt/media/nuggets:/nuggets \ -v /mnt/media/.adult:/adult \ -v /home/administrator/apps/nextcloud:/nextcloud \ -v /mnt:/mnt \ -v /home/administrator/apps/letsencrypt/keys/letsencrypt:/ssl \ -d emby/embyserver:latest My volumes are mounted on local drives. My UID for my admin user is 1000.When I ran docker exec -it emby ls -l , I saw that home was set to nobody:nogroup and that my volumes were 1000:1000. Running docker exec -it emby cat /etc/passwd and group showed that the user nobody was not that uid so I changed it. Based on that logic, the container user's permissions should reflect 1000 which is my host admin.
mastrmind11 722 Posted March 4, 2020 Posted March 4, 2020 docker run \ --name emby \ --restart unless-stopped \ --net=local \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=America/Chicago \ -p 8096:8096 \ -p 8920:8920 \ -v /home/administrator/apps/emby:/config \ -v /mnt/media/tvshows:/tvshows \ -v /mnt/media/movies:/movies \ -v /mnt/media/music:/music \ -v /mnt/media/.photos:/photos \ -v /mnt/media/nuggets:/nuggets \ -v /mnt/media/.adult:/adult \ -v /home/administrator/apps/nextcloud:/nextcloud \ -v /mnt:/mnt \ -v /home/administrator/apps/letsencrypt/keys/letsencrypt:/ssl \ -d emby/embyserver:latest My volumes are mounted on local drives. My UID for my admin user is 1000. When I ran docker exec -it emby ls -l , I saw that home was set to nobody:nogroup and that my volumes were 1000:1000. Running docker exec -it emby cat /etc/passwd and group showed that the user nobody was not that uid so I changed it. Based on that logic, the container user's permissions should reflect 1000 which is my host admin. ok, but what are your permissions on the folders outside of the container? ls -l and paste here
negativzeroe 80 Posted March 4, 2020 Author Posted March 4, 2020 ok, but what are your permissions on the folders outside of the container? ls -l and paste here 1000:1000 775
mastrmind11 722 Posted March 4, 2020 Posted March 4, 2020 that's truly bizarre. and this just started happening, or you just now noticed it happening?
negativzeroe 80 Posted March 4, 2020 Author Posted March 4, 2020 I just noticed it, when my wife said the subtitles were off I saw the path. I know it has before but am unsure of when the change took place.
mastrmind11 722 Posted March 4, 2020 Posted March 4, 2020 have you tried to remove the container and spin another one up?
negativzeroe 80 Posted March 4, 2020 Author Posted March 4, 2020 (edited) Yup. Removed the image too. Also just noticed that I cannot delete a movie either. Edited March 4, 2020 by negativzeroe
mastrmind11 722 Posted March 4, 2020 Posted March 4, 2020 (edited) Yup. Removed the image too. Also just noticed that I cannot delete a movie either. And you're using the official docker? https://hub.docker.com/r/emby/embyserver Your run command looks like you're using https://hub.docker.com/r/linuxserver/emby instead Not sure if it matters, but I've got no issues running official emby Edited March 4, 2020 by mastrmind11
negativzeroe 80 Posted March 4, 2020 Author Posted March 4, 2020 (edited) And you're using the official docker? https://hub.docker.com/r/emby/embyserver Your run command looks like you're using https://hub.docker.com/r/linuxserver/emby instead Not sure if it matters, but I've got no issues running official emby It's mostly the same syntax but it is official emby. I'll try rewriting it tonight and test. Edit, yeah so I changed PUID and PGID to UID and GID and added GIDLIST and it works now. Mah bahd. Edited March 5, 2020 by negativzeroe 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now