• 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 Jellyfin on docker won't restart after power failure

     
    • 0 Vote(s) - 0 Average

    Jellyfin on docker won't restart after power failure

    SquishySquash
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Dec
    Reputation: 0
    Country:Poland
    #1
    2025-06-28, 06:47 PM (This post was last modified: 2025-06-28, 06:51 PM by SquishySquash. Edited 2 times in total.)
    Hello,

    I'm running Jellyfin on my Synology NAS server using Container Manager.

    I'm using official jellyfin/jellyfin image from https://hub.docker.com/r/jellyfin/jellyfin

    My YAML compose is:
    Code:
    name: jellyfin
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        network_mode: host
        environment:
          - TZ=Europe/Warsaw
        volumes:
          - /volume2/docker/jellyfin/config:/config
          - /volume2/docker/jellyfin/cache:/cache
          - /volume2/docker/jellyfin/logs:/logs
          - /volume1/Data/Media:/media
        devices:
    #      - /dev/dri/renderD128:/dev/dri/renderD128
          - /dev/dri:/dev/dri
        restart: 'unless-stopped'

    My NAS is configured to automatically restart after power failure and it does so, the problem is that when there is power failure and my NAS reboots once power is back on the Jellyfin container wont restart automatically.

    Beside Jellyfin I'm also running other services in containers and most of them restart after power failure without any problems (despite using same restart:'unless-stopped' config). Jellyfin is one of few that causes problems.

    In case i simply turn off my NAS and turn it back on (using physical button) then all containers restart without issues.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,183
    Threads: 0
    Joined: 2024 Jun
    Reputation: 61
    #2
    2025-06-28, 07:33 PM
    Can you post the Jellyfin server logs.
    SquishySquash
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Dec
    Reputation: 0
    Country:Poland
    #3
    2025-06-29, 05:57 PM (This post was last modified: 2025-06-29, 05:58 PM by SquishySquash. Edited 1 time in total.)
    (2025-06-28, 07:33 PM)theguymadmax Wrote: Can you post the Jellyfin server logs.

    There is nothing in jellyfin logs.

    There is simply a time gap. Last entries are from whatever hour I've accessed Jellyfinn last time and then next log entry will be from the moment I manually start jellyfin container on my NAS

    The problem is with whole jellyfin container/image not jellyfin service.
    gears
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Jul
    Reputation: 0
    #4
    Yesterday, 06:17 PM
    (2025-06-29, 05:57 PM)SquishySquash Wrote:
    (2025-06-28, 07:33 PM)theguymadmax Wrote: Can you post the Jellyfin server logs.

    There is nothing in jellyfin logs.

    There is simply a time gap. Last entries are from whatever hour I've accessed Jellyfinn last time and then next log entry will be from the moment I manually start jellyfin container on my NAS

    The problem is with whole jellyfin container/image not jellyfin service.


    Try adding restart: 'unless-stopped' to your docker compose.

    For example:

    Code:
    name: jellyfin
    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        network_mode: host
        restart: 'unless-stopped'
    « 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