Jellyfin Forum
SOLVED: Jellyfin repeatedly crashing on startup - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Jellyfin repeatedly crashing on startup (/t-solved-jellyfin-repeatedly-crashing-on-startup)



Jellyfin repeatedly crashing on startup - theotherjoey - 2025-05-10

I am by no means an expert. I google all of the code I run in terminal, and am a total novice.

I can get Jellyfin to launch if I have a tiny USB drive with just a couple movies, but when I plug in my larger 2TB drive with ~400GB of content, it starts crashing repeatedly on startup.

The last thing in the docker logs for the container before crash is always:
[17:15:19] [WRN] [1] Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.

I've tried googling this, and it just comes up as some permissions issue with no seeming fixes.

Last night I completely removed docker and reinstalled, still no dice.

I suppose it is possible that my device isn't powerful enough to run Jellyfin, but everything I have seen says that it runs well on an Odroid XU4, and can even do some transcoding.

I suppose the other issue could be that my larger drive is exFAT?

Here is the content of my compose.yaml also:
services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    user: 1000:1000
    network_mode: 'host'
    volumes:
      - ./configConfused-faceconfig
      - ./cacheConfused-facecache
    - type: bind
        source: /media/exfat/media/movies
        target: /movies
    - type: bind
        source: /media/exfat/media/shows
        target: /shows
    restart: 'unless-stopped'
    environment:
      - JELLYFIN_PublishedServerUrl=http://xxx.xxx.x.xx
    extra_hosts:
      - "host.docker.internal:host-gateway"


Appreciate any help or advice!


RE: Jellyfin repeatedly crashing on startup - theotherjoey - 2025-05-11

For whomever finds this, here is how I solved my shit:

I deleted my image completely for the Odroid.

I installed dietpi

I installed Jellyfin through the standard installer

Boom. Everything worked.

Ditch docker for this!