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:
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:
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.
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.