• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Jellyfin container crashes at irregular times and doesn't go back up automatically

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Jellyfin container crashes at irregular times and doesn't go back up automatically

    jellyfin24
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United Kingdom
    #1
    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
    • 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?


    Attached Files
    .txt   Log.txt (Size: 24.19 KB / Downloads: 139)
    Go to solution
    jellyfin24
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United Kingdom
    #2
    2024-07-20, 04:38 PM
    Here's another log file, from another crash that happened a few minutes ago


    Attached Files
    .txt   Log2.txt (Size: 10.74 KB / Downloads: 88)
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,170
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #3
    2024-07-20, 04:45 PM (This post was last modified: 2024-07-20, 04:50 PM by Efficient_Good_5784. Edited 1 time in total.)
    Please follow the community standards: https://jellyfin.org/docs/general/commun...of-conduct

    Quote:Do not engage in, encourage, facilitate or discuss piracy in any Jellyfin communities. Jellyfin is a media server system for your own media collection; how you obtain media is not our concern and is not to be discussed in our communities in any form. Do not ask about where or how to obtain media, do not ask about, sell, trade, or otherwise facilitate access to other users' servers or discuss any piracy related topics. This includes discussing technologies commonly used for piracy and personal philosophies about it, in our communities. Please also refrain from discussing any topic that is closely related to piracy or accompanying topics and technology.

    I've redacted the mentions of those tools in your first post.
    We cannot provide support here if your problems are related to those tools.

    ---------------------------------------------------------------

    Looking at your logs, they look normal enough. They don't really point to an issue that could be causing the restarts.
    jellyfin24
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United Kingdom
    #4
    2024-07-22, 05:47 AM
    (2024-07-20, 04:45 PM)Efficient_Good_5784 Wrote: Looking at your logs, they look normal enough. They don't really point to an issue that could be causing the restarts.

    Thank you for replying, that's the problem, there is nothing in these logs at all to show that there is an issue.
    Would you say the issue lies with Dockge?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-07-22, 01:41 PM
    You can try looking at the Docker daemon logs with this command.

    Code:
    sudo journalctl -u docker.service
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    1
    jellyfin24
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United Kingdom
    #6
    2024-07-23, 07:23 AM
    (2024-07-22, 01:41 PM)TheDreadPirate Wrote: You can try looking at the Docker daemon logs with this command.

    Code:
    sudo journalctl -u docker.service

    Thank you. Here's a pastebin from the latest crash:

    https://pastebin.com/izLRtMru

    Is this of any assistance?
    34626
    Offline

    Member

    Posts: 173
    Threads: 36
    Joined: 2023 Jul
    Reputation: 0
    Country:Denmark
    #7
    2024-07-23, 07:55 AM (This post was last modified: 2024-07-23, 08:08 AM by 34626. Edited 1 time in total.)
    seems
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-07-23, 01:26 PM
    I'm not sure that is the entire daemon log. Try this instead. It will output to a text file.

    Code:
    sudo journalctl -u docker.service --no-tail > docker_daemon.txt
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jellyfin24
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2024 Jul
    Reputation: 0
    Country:United Kingdom
    #9
    2024-07-24, 06:09 AM
    Here's a longer one produced with that command > https://pastebin.com/AAmQSVWB
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-07-24, 02:41 PM
    Can you provide jellyfin logs for any day from the 21st through 24? The first jellyfin log you posted is from the 20th. The docker daemon log starts on the 21st.

    So I need to be able to line up Jellyfin dying with the docker daemon logs.

    Having said that, I see the docker service restarting several times. Not sure if that is you restarting the server or service, or if that is docker dying.

    I also see these messages that I will need to research.

    Code:
    Jul 24 03:45:04 MediaServer dockerd[587]: time="2024-07-24T03:45:04.645838159+01:00" level=warning msg="ShouldRestart failed, container will not be restarted" container=a8976981dd9f54312e6c59813bee23b29122b387008093a68fd5219c243a4ae0 daemonShuttingDown=false error="restart canceled" execDuration=1h31m23.512680625s exitStatus="{0 2024-07-24 02:45:04.619095985 +0000 UTC}" hasBeenManuallyStopped=true restartCount=0
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode