2023-09-02, 11:31 AM
(2023-08-31, 06:04 AM)bitmap Wrote: Weird question...who owns the files in your persistent volumes for Jellyfin? Your 1000 user? Or a different user? You can try running the container as privileged and see if that works. It's a bit of a security risk, but as a troubleshooting step, it will provide you with an indication of what's going on.
You may also be able to run the container as privileged, update the dynamic links, remove the privileged line, and everything is peachy. Added the line between container_name and network_mode.
Code:version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
privileged: true
network_mode: 'host'
volumes:
- /home/erik/srv/jellyfin/config:/config
- /home/erik/srv/jellyfin/cache:/cache
- /home/erik/Media:/media
restart: 'unless-stopped'
runtime: nvidia
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
I don't have any other user on the server just the erik one and the root.
Also I think by not using a uid:guid option I am using a privileged user(root) as the jellyfin documentation says.
https://jellyfin.org/docs/general/instal...container/
Code:
Using Docker Compose
Create a docker-compose.yml file with the following contents. Add in the UID and GID that you would like to run jellyfin as in the user line below, or remove the user line to use the default (root).
Is this different to "privileged:true"?