Jellyfin/Docker Installation

I’m having a nightmare installing Jellyfin and Docker. I’ve factory reset my NAS after getting into a mess with the help of Chat-gpt. All of my problems stem from where I place my folders. The UGreen documents I’ve found gloss over file locations, but I know if they aren’t in the right place nothing works.

The URLs I’m using for reference are:
https://support.ugnas.com/knowledgecenter/#/detail/eyJjb2RlIjoiMiYmNTkyIn0=

https://support.ugnas.com/knowledgecenter/#/detail/eyJjb2RlIjoiMiYmMzYyIn0=

There’s also a link to a video from which I gather the folders should be in my personal folder area, but other things I’ve read suggests they should be subfolders. Help from someone who’s got this working would be greatly appreciated. I don’t want to mess up my box again - resetting is too time consuming!

I hope this could help.

First of all :

-Jellyfin main path should be inside doctor folder to avoid any permission errors and for clean setup

  • Media folder also better to be in shared folder … with permissions you want.

- before start docker compose make sure to create these folder under Jellyfin folder :

config

cache

- I use host mode so it can be easily discovered by other services and devices

# Here is my best setting for my jellyfin: on 4800 plus transcoding works perfect :ok_hand:

Edit it as your desire and dont forget the media mapping !!!

services:

 jellyfin:

     image: jellyfin/jellyfin:latest

     container_name: jellyfin

     restart: always

     network_mode: host

     devices:

       - /dev/dri:/dev/dri

       - /dev/dri/renderD128:/dev/dri/renderD128

       - /dev/dri/card0:/dev/dri/card0

     volumes:

       - /volume1/docker/jellyfin/config:/config
       - /volume1/docker/jellyfin/cache:/cache
       - /volume1/my-media:/data

     environment:

       - TZ=Asia/Riyadh

       - PUID=1000

       - PGID=10


1 Like

Don’t use the Ugreen version of Jellyfin, it’s a mess.

I installed it via Portainer, as that’s what’s I’ve been using for Docker apps for at least a handful of years now. I didn’t have to create any folders using Portainer, as it creates everything based on the compose data.

As the other reply here, install it as a stack, it gives you more control during the initial setup, you can always go in and edit the container settings later, especially for things like the port and network mode. I use bridge rather than host mode, but each to their own.

3 Likes

Thanks both - I have a better idea how to attack Jellyfin now and will take a look at Portainer.

2 Likes

Portainer isn’t a must by any means, I’ve just found that it’s easier to use it in combination with Stacks when it comes to the more advanced Docker Containers. Portainer installs just fine using the Ugreen Docker implementation and it’s quite resource light.