2024-07-20, 03:47 PM
(This post was last modified: 2024-07-20, 04:47 PM by Efficient_Good_5784. Edited 4 times in total.)
The version of Jellyfin you are running
10.9.7
Your installation method and platform
Here's the docker compose file (inspired from the official guide):
A brief description of the issue as your thread subject, using the description for additional important context only if required
Jellyfin container crashes at irregular intervals
A full explanation of what is happening, versus what you expect to happen
The container crashes without any obvious reason. Has happened while the server is not accessed by any client, and I also experienced a crash while playing media. All media plays fine when the container is up.
Furthermore, even though the container is set to "restart: unless-stopped", it does not restart.
The server has the <redacted by mod> (including <redacted by mod>) and I have scanned Jellyfin's Libraries in <redacted by mod> (if that makes any difference at all).
I expect the container to stay up, and when/if it crashes, to restart automatically.
What client(s) you are using and how the issue manifests
I think that's irrelevant in my case, but I am only using the Jellyfin app on a Nvidia Shield TV. That's the only machine playing Jellyfin media, no mobiles, no external access, only one single client in the local LAN. The container crashes regardless of whether I am using the client or not.
Any other context you might think is relevant
I don't quite understand how to show the logs as my installation is through Docker Compose. I have attached the latest log that I found under Dashboard > Advanced > Logs but not sure this is the one needed to troubleshoot. You will notice there that there are no entries after 10:52:57, but the crash happened around 15:29 and I restarted the container around 16:05.
I have removed the container fully and rebuilt it 5-6 times (after clearing any folders, settings, downloaded images, volumes, networks etc), and the same thing keeps happening. No issues with high temperatures on the host machine, plenty of disk space available (over 200 GB) on both NVME drives, all other containers working fine and never crashing.
Any ideas what I am doing wrong please?
10.9.7
Your installation method and platform
- Debian 12 Minimal running latest Docker/Compose on a HP ProDesk 600 G4 Mini MediaServer with Intel i5-8500T, Intel UHD Graphics 630 and 16GB of RAM.
- Host machine has 2 NVME drives, one has the OS and all containers, the other has <redacted by mod>, and an Unraid share is also used as media source.
- Stack is created through Dockge (but problem persists even when creating the container outside Dockge).
- Container used is the official Jellyfin version as seen below.
Here's the docker compose file (inspired from the official guide):
Quote:services:
jellyfin:
container_name: {redacted by mod}1_jellyfin
image: jellyfin/jellyfin
restart: unless-stopped
ports:
- 8096:8096
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Europe/London
network_mode: host
group_add:
- "105" # In terminal run the command and put the number here >>> getent group render | cut -d: -f3
volumes:
- /home/user/docker_backup/jellyfin/config:/config
- /home/user/docker_backup/jellyfin/cache:/cache
- type: bind
source: /mnt/2TB_DISK/{redacted by mod}/watch_or_save
target: /watch_or_save
read_only: true
- type: bind
source: /mnt/2TB_DISK/HOME_VIDEOS
target: /HOME_VIDEOS
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/ANIMATED
target: /ANIMATED
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/DOCUMENTARIES
target: /DOCUMENTARIES
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/FILMS
target: /FILMS
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/MUSIC_VIDEOS
target: /MUSIC_VIDEOS
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/STANDUP
target: /STANDUP
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/TV_SHOWS
target: /TV_SHOWS
read_only: true
- type: bind
source: /mnt/UNRAID_MEDIA/XMAS
target: /XMAS
read_only: true
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
A brief description of the issue as your thread subject, using the description for additional important context only if required
Jellyfin container crashes at irregular intervals
A full explanation of what is happening, versus what you expect to happen
The container crashes without any obvious reason. Has happened while the server is not accessed by any client, and I also experienced a crash while playing media. All media plays fine when the container is up.
Furthermore, even though the container is set to "restart: unless-stopped", it does not restart.
The server has the <redacted by mod> (including <redacted by mod>) and I have scanned Jellyfin's Libraries in <redacted by mod> (if that makes any difference at all).
I expect the container to stay up, and when/if it crashes, to restart automatically.
What client(s) you are using and how the issue manifests
I think that's irrelevant in my case, but I am only using the Jellyfin app on a Nvidia Shield TV. That's the only machine playing Jellyfin media, no mobiles, no external access, only one single client in the local LAN. The container crashes regardless of whether I am using the client or not.
Any other context you might think is relevant
I don't quite understand how to show the logs as my installation is through Docker Compose. I have attached the latest log that I found under Dashboard > Advanced > Logs but not sure this is the one needed to troubleshoot. You will notice there that there are no entries after 10:52:57, but the crash happened around 15:29 and I restarted the container around 16:05.
I have removed the container fully and rebuilt it 5-6 times (after clearing any folders, settings, downloaded images, volumes, networks etc), and the same thing keeps happening. No issues with high temperatures on the host machine, plenty of disk space available (over 200 GB) on both NVME drives, all other containers working fine and never crashing.
Any ideas what I am doing wrong please?