• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Jellyfin Docker Permissions

     
    • 0 Vote(s) - 0 Average

    Jellyfin Docker Permissions

    Jellyfin Permission problems while setting up Gpu acceleration
    erik15
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    #10
    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"?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin Docker Permissions - by erik15 - 2023-08-28, 12:03 PM
    RE: Jellyfin Docker Permissions - by bitmap - 2023-08-28, 03:51 PM
    RE: Jellyfin Docker Permissions - by erik15 - 2023-08-28, 05:34 PM
    RE: Jellyfin Docker Permissions - by erik15 - 2023-08-28, 04:44 PM
    RE: Jellyfin Docker Permissions - by bitmap - 2023-08-28, 11:05 PM
    RE: Jellyfin Docker Permissions - by erik15 - 2023-08-30, 05:45 PM
    RE: Jellyfin Docker Permissions - by bitmap - 2023-08-30, 06:19 PM
    RE: Jellyfin Docker Permissions - by erik15 - 2023-08-30, 11:37 PM
    RE: Jellyfin Docker Permissions - by bitmap - 2023-08-31, 06:04 AM
    RE: Jellyfin Docker Permissions - by erik15 - 2023-09-02, 11:31 AM
    RE: Jellyfin Docker Permissions - by mark.monteiro - 2023-10-01, 01:30 AM
    RE: Jellyfin Docker Permissions - by bitmap - 2023-10-01, 09:00 AM
    RE: Jellyfin Docker Permissions - by rsmartapps - 2024-08-01, 10:08 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode