Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Official Jellyfin Docker and id

Featured Replies

  • Community Expert

Afternoon all Sorry to write in general support, I couldn't seem to find a specific thread for the Official release. I use that as it does seem easier for hardware tc. But I wager this is a ore general problem anyway

So I've looked for days for a solution. The problem is that I have the official jf docker, and I can't seem to change the uid and pid.

I have definitely set the PUID and PGID in the settings, even tried adding just uid and a few other thing that I found in the wild and no luck.

The problem being that since it';s reading and writing as root, it's causing headaches. I add things to the library after ripping, by using double commander to move them into place. No problems. I have tinymediamanager scanning the library and changing names and adding images etc.

Jelly sees everything just fine. The trouble is when jelly tries to add file. The worst offender is the trickplay, but it happens on other files as well. When I add the file to the server, it jumps into play and very quickly starts adding images and generating trickplay. Often this happens very quickly, before i have a chance to hit it with tmm. Especiall if I am adding a few files at a time.

When it writes the trickplay or nfo or whatever, when tmm gets around to changing names and cleaning up the directories, it suddenly cannot remove the files that jf generated so they are getting orphand. Sometied just an nfo or jpg, but entire trickplay directories with the wrong name. I have been getting around it by more manual edits,. and changing permissions in bulk to let tmm or me on nfs so what needs to be done.

tmm is running in a vm on my secondary server, connecting to the library over nfs. Works Great. JF is using the directories passed directly from the docker settings.

No matter what I do, I can' get it to respect 99:100. Everying is 0:0. Maybe I';m missing something, I dunno.

I'd definitely appreciate any suggestions. Thanks and Happy New year to all even if you don't reply ;)

  • Author
  • Community Expert

Just to add to it, I did get some leads when I was on the jf forums. They didn't specifically mention unraid, but they had suggestions on what to add.

They said to append group_add in the config. Specifically what they said that this should be the docker compose below. However I have no idea what to do about that in unraid...,

"version: '3'
services:
    jellyfin:
        container_name: jellyfin
        image: jellyfin/jellyfin
        restart: unless-stopped
        user: ${PUID}:${PGID}
        environment:
          - TZ=${TIMEZONE}
        volumes:
          - ${CONFIG_FOLDER}/jellyfin:/config
          - ${CONFIG_FOLDER}/temp/jellyfin:/cache
          - ${LIBRARY_FOLDER}/series:/series
          - ${LIBRARY_FOLDER}/shows:/shows
          - ${LIBRARY_FOLDER}/movies:/movies
        group_add:
          - 26  # Video group
          - 303 # Render group
        devices:
          - /dev/dri:/dev/dri
        ports:
          - 8096:8096
          - 7359:7359/udp # Optional - Allows clients to discover Jellyfin on the local network."

  • 2 months later...

Hey I hope you already figured it out on your own!

I think it is a bug that the PUID and PGID env are with no effect on the Docker Container.
But to fix your issue: you can add --user 99:100 to the extra parameter-field when selecting edit after clicking on the Jellyfin Docker Container.

Most likely your container won't start because you have to chwon the appdata to 99:100:

On your unraid host:

chown -R nobody:users /mnt/user/appdata/Jellyfin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.