• 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 Container fails to complete startup

     
    • 0 Vote(s) - 0 Average

    Container fails to complete startup

    DavidRa
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Australia
    #1
    2025-02-19, 11:14 AM (This post was last modified: 2025-02-19, 11:16 AM by DavidRa. Edited 1 time in total.)
    I have a relatively new deployment of Jellyfin 10.10.6 server which is failing to start.

    It's a docker deployment, using the official Jellyfin container, running on a VM that is part of a 3 master, 3 worker swarm. For reference, the stack compose XML is attached as jf-compose.txt:


    When the stack is started, there's nothing in the way of errors - see attached jf-log.txt. I have anonymised the URL - it does still resolve to the swarm, and to traefik which would provide access.

    If I look at jellyfin.db it appears to be a reasonable size:

    Code:
    root@swarm-w03:/mnt/glustervol0/jellyfin/config/data# ls -lah
    total 1.2G
    drwxr-xr-x 4 1200 1200 4.0K Feb 19 22:00 .
    drwxr-xr-x 8 1200 1200 4.0K Feb  5 10:54 ..
    -rw-r--r-- 1 1200 1200   35 Feb  4 18:17 device.txt
    -rw-r--r-- 1 1200 1200 168K Feb 18 00:56 jellyfin.db
    -rw-r--r-- 1 1200 1200  32K Feb 19 19:37 jellyfin.db-shm
    -rw-r--r-- 1 1200 1200    0 Feb 19 19:37 jellyfin.db-wal
    -rw-r--r-- 1 1200 1200 1.1G Feb 18 01:10 library.db
    -rw-r--r-- 1 1200 1200  32K Feb 19 19:38 library.db-shm
    -rw-r--r-- 1 1200 1200 128M Feb 18 01:11 library.db-wal
    drwxr-xr-x 2 1200 1200 4.0K Feb  4 18:17 playlists
    drwxr-xr-x 2 1200 1200 4.0K Feb 10 14:52 ScheduledTasks
    -rw-r--r-- 1 1200 1200 3.9M Feb 18 00:43 splashscreen.png

    I've also tried repairing it with sqlite3 ".recover" while the stack is stopped, but that fails catastrophically - I expect this is user error on my part:

    Code:
    root@swarm-w03:/mnt/glustervol0/jellyfin/config/data# sqlite3 jellyfin.db ".recover" | sqlite3 jellyfin-recovered.db
    sql error: SQL logic error (1)
    root@swarm-w03:/mnt/glustervol0/jellyfin/config/data#

    It's so new I don't have a valid backup in place yet - what's my best recovery path here? I'd rather not have it scan the media volumes for 3 days again if I can avoid it. Happy to share other config files if those will help.


    Attached Files
    .txt   jf-compose.txt (Size: 1.33 KB / Downloads: 40)
    .txt   jf-log.txt (Size: 10.31 KB / Downloads: 52)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Container fails to complete startup - by DavidRa - 2025-02-19, 11:14 AM
    RE: Container fails to complete startup - by TheDreadPirate - 2025-02-19, 02:46 PM
    RE: Container fails to complete startup - by DavidRa - 2025-02-20, 08:05 AM

    • 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