• 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
    #8
    2023-08-30, 11:37 PM (This post was last modified: 2023-08-30, 11:38 PM by erik15. Edited 1 time in total.)
    (2023-08-30, 06:19 PM)bitmap Wrote: Okay, so you don't have a docker group that you added to avoid sudo, which is fine. Not a big deal, more of an annoyance for you.

    Your last line might lead you to the answer here -- you generally shouldn't (most times can't) swap between users running the docker container. If you don't specify a user, generally containers don't run as root, they have a user set up inside the container to run as a preset UID/GID that works with the services inside the container. Setting a user/group changes those IDs to match so that file/group permissions work properly with your existing infrastructure. So by giving your user access to the card, then commenting out that information to try and get the card to work, you're muddling things pretty hard.

    Looking at your id command output, you don't seem to have access to the video/render group, which means you don't have access to your video card, which could explain why you can't access it in the docker container. Step 4 of the docker guide explicitly states that you should add your user (on the host) to the correct group.

    Skipping steps is the primary reason HWA didn't work for me, even if I swore I hit every step previously. Even if you think you don't need something. Note that this last step you're trying to do is just updating dynamic links, per the guide. Follow the guide, step-by-painstaking-step. You need to start, run, and keep the container run by the same user in perpetuity unless you plan to have a full changeover for the foreseeable future. A momentary change can destroy access to your files, databases, etc.. So I'd recommend making the correct steps to ensure your user has the right access. The guide walks you through this.

    The id command was run while I was inside the container when i run "docker exec jellyfin /bin/bash/"

    This is my actual id command on my server user:
    Code:
    uid=1000(erik) gid=1000(erik) groups=1000(erik),10(wheel),27(video),28(render),100(users)

    And groups command:
    Code:
    wheel video render users erik

    and nvidia-smi works fine on my server user.

    I already had my server user in the video group and just added him to render group but it didnt work.
    Also thanks for helping me work this out.
    1
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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