2025-03-26, 08:56 PM
Hi,
I had been using the Jellyfin Server on Windows 11 just fine for almost a month and I don't know what changed, it has stopped working.
I rebooted my Windows and the Jellyfin service or the Tray App won't start for some reason.
As per the logs, I see that 'database disk image is malformed'.
**********
[2025-03-27 02:03:39.549 +05:30] [ERR] [1] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand ("43"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT COUNT(*) FROM \"sqlite_master\" WHERE \"name\" = '__EFMigrationsHistory' AND \"type\" = 'table';"
[2025-03-27 02:03:39.573 +05:30] [FTL] [1] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.
**********
I tried to recover it using sqlite3 and it throws up the same error:
**********
PS C:\Program Files\sqlite> .\sqlite3.exe C:\ProgramData\Jellyfin\Server\data\jellyfin.db ".recover" | .\sqldiff.exe recovered.db
sql error: database disk image is malformed (11)
**********
Jellyfin Server v.10.10.6 (Windows Tray Installation)
Windows 11
I had installed it as a service on Windows 11 earlier when it stopped working. I un-installed it and saved the 'server' folder for backup and re-installed it as a Tray App and not as Service and moved the jellyfin.db file to another location so it doesn't pick the malformed one but that didn't help either.
Can someone please advise how I can get it to work again without loosing my Jellyfin settings?
Thank you in advance.
Regards,
Nick
I had been using the Jellyfin Server on Windows 11 just fine for almost a month and I don't know what changed, it has stopped working.
I rebooted my Windows and the Jellyfin service or the Tray App won't start for some reason.
As per the logs, I see that 'database disk image is malformed'.
**********
[2025-03-27 02:03:39.549 +05:30] [ERR] [1] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand ("43"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
""SELECT COUNT(*) FROM \"sqlite_master\" WHERE \"name\" = '__EFMigrationsHistory' AND \"type\" = 'table';"
[2025-03-27 02:03:39.573 +05:30] [FTL] [1] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'.
**********
I tried to recover it using sqlite3 and it throws up the same error:
**********
PS C:\Program Files\sqlite> .\sqlite3.exe C:\ProgramData\Jellyfin\Server\data\jellyfin.db ".recover" | .\sqldiff.exe recovered.db
sql error: database disk image is malformed (11)
**********
Jellyfin Server v.10.10.6 (Windows Tray Installation)
Windows 11
I had installed it as a service on Windows 11 earlier when it stopped working. I un-installed it and saved the 'server' folder for backup and re-installed it as a Tray App and not as Service and moved the jellyfin.db file to another location so it doesn't pick the malformed one but that didn't help either.
Can someone please advise how I can get it to work again without loosing my Jellyfin settings?
Thank you in advance.
Regards,
Nick