heyer.systems Open Source

Jellyfin

Media server for your films, series, music and photos – streams to the browser, TV, phone and Kodi, transcodes with an Intel or AMD GPU.

Install

On the Proxmox node as root:

bash -c "$(curl -fsSL https://iac.heyer.systems/jellyfin/ct.sh)"

Container from the Debian 13 template · default: 2 CPU, 2048 MiB RAM, 16 GiB disk

Customise the commandYour own values for CPU, RAM, network and modules – no dialog

Then: Web: http://<IP>:8096/ – login: admin, password in the guest: grep jellyfin_admin_password /etc/iac/settings.env

More steps are needed outside the guest – see the setup guide.

Setup guide

Jellyfin works right after the install – with an administrator and no libraries yet. This guide covers the steps outside the guest: your media, the GPU for transcoding and access from outside.

TV / phone / browser ──8096──▶ Jellyfin ──reads──▶ /media (shared folder, NAS or disk)
                                  └── transcodes with /dev/dri (Intel/AMD GPU) or the CPU

1. Log in

http://<IP>:8096/, user admin, password in the guest:

grep jellyfin_admin_password /etc/iac/settings.env

The setup wizard is already done – iac closes it during the install, so nobody else can claim the server. Create accounts for your family under Dashboard → Users.

2. Your media

Jellyfin reads your files where they already are – bring them into the guest.

Shared with downloaders and other guests – the module media-share: one folder of the Proxmox host under /media in every guest, the same group media (GID 2000) everywhere, and jellyfin is a member. Set the host up once as its guide says, then create Jellyfin with var_media=media – or attach the folder to an existing guest and run update -am media-share.

Only for Jellyfin:

Media onLXCVM
a Proxmox storagepct set <ID> -mp0 <storage>:2000,mp=/srv/mediaa second disk, mounted at /srv/media
a directory of the nodepct set <ID> -mp0 /tank/media,mp=/srv/media–
a NAS (NFS/SMB)mount it on the node, then like a directory of the nodemount it in the VM (/etc/fstab)

The user jellyfin needs read access; to save artwork and subtitles next to the files it needs write access too. In an unprivileged LXC, files of the node appear with shifted IDs (root of the node = 100000) – give the files to a user the guest knows, or make them readable for everyone.

Then Dashboard → Libraries → Add Media Library, content type and folder (/media/... or /srv/media/...). Jellyfin expects one folder per film (Film (2024)/Film (2024).mkv) and per series (Series/Season 01/…).

3. The GPU for transcoding (optional)

Clients that cannot play a file directly get it transcoded – on the CPU that is slow. The install already set Jellyfin up for weak systems (throttled transcoding, encoder preset veryfast, trickplay images from key frames). With an Intel iGPU (N100/N150, Core) or an AMD GPU the guest needs /dev/dri of the host.

LXC – on the Proxmox node (Proxmox VE 8.2 or later), with the group IDs of the guest:

pct exec <ID> -- getent group render video     # e.g. render:x:993  video:x:44
pct set <ID> -dev0 /dev/dri/renderD128,gid=993 -dev1 /dev/dri/card0,gid=44
pct reboot <ID>

VM – pass the GPU through (PCI passthrough or SR-IOV of the iGPU).

Then in the guest:

iac-jellyfin-gpu

It asks the GPU (vainfo) what it decodes and encodes, switches Jellyfin to VAAPI with exactly these codecs and restarts it. Without a GPU, or when the user jellyfin may not use it, it prints what is still missing – for an LXC with the right group IDs. iac-jellyfin-gpu --check only reports. The install already ran it once – a guest that had the GPU from the start is set up.

4. Access from outside (optional)

The guest has no HTTPS and its ports are open to private networks only. For access from the internet put a reverse proxy in front (e.g. iac-traefik with a certificate) and add its address under Dashboard → Networking → Known proxies – otherwise Jellyfin sees every client as the proxy. Or reach your home network through a VPN (iac-netbird) and use Jellyfin as at home.

Troubleshooting

SymptomCause
A library stays emptyjellyfin cannot read the folder: runuser -u jellyfin -- ls /srv/media/… in the guest
Media under /home are not foundthe sandbox hides /home – mount them elsewhere (/srv, /mnt)
Transcoding is slow, the CPU is at 100 %no GPU in the guest or hardware acceleration off – step 3
iac-jellyfin-gpu says jellyfin cannot use the GPUwrong gid= in pct set – it prints the right command
The apps do not find the serverthey search by UDP 7359 in the same network – otherwise enter http://<IP>:8096

Source: docs/GUIDE.md of iac-jellyfin – corrections welcome.

Update

In the guest:

update

Debian packages, Jellyfin, modules and the iac configuration. Major versions never change automatically.

Add modules – any time, in containers and VMs alike:

update --list-modules
update --add-modules node-exporter

All modules · More about update