• 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 SOLVED: Setting uid & gid of my user with official docker image breaks Jellyfin

     
    • 0 Vote(s) - 0 Average

    SOLVED: Setting uid & gid of my user with official docker image breaks Jellyfin

    Garret
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    #1
    2024-07-10, 05:59 PM (This post was last modified: 2024-07-11, 09:24 AM by Garret. Edited 1 time in total.)
    I have been running for several years Jellyfin via a docker container from the linuxserver image on a Raspberry Pi 4. Recently I switched to an Intel N100 machine and installed NixOS. I wanted to take full advantage of the QuickSync hardware acceleration offered by the N100 platform but found out that the linuxserver image did not contain all the necessary drivers. After trying the official container image, hardware acceleration seems to work to its full potential (even though I have to dig more in all the settings...).

    I only have one issue: with the linuxserver container, I could set uid & gid through docker environment variables. Everything worked. I could see I could do the same with the official image by adding user: uid:gid in the docker-compose. When I do that, Jellyfin starts but it is a bit half-broken: not all preview pictures load, some settings are not saved when clicking "save" (sometimes an error message appears) and playback does not start when transcoding is needed. All the issues disappear when I comment user: uid:gid, thus the container runs as root.

    Before running the container, I made sure to chown all the Jellyfin folders with the uid & gid belonging to my user. My user belongs to the group wheel and users(this is the one I used as gid), but I also added it to the groups video and render. After restarting the container, the issues are still there.

    Do you know how could I achieve to run the Jellyfin official docker container with the uid & gid of my user? I have plenty of other containers (mostly from linuxserver) and they all run fine by setting the uid & gid of my user.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Setting uid & gid of my user with official docker image breaks Jellyfin - by Garret - 2024-07-10, 05:59 PM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by TheDreadPirate - 2024-07-10, 06:19 PM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by Garret - 2024-07-10, 06:44 PM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by TheDreadPirate - 2024-07-10, 07:13 PM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by Garret - 2024-07-11, 09:24 AM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by Efficient_Good_5784 - 2024-07-11, 10:19 AM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by Garret - 2024-07-11, 10:56 AM
    RE: Setting uid & gid of my user with official docker image breaks Jellyfin - by TheDreadPirate - 2024-07-11, 03:42 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