Closed ddeuvall closed 1 month ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
That looks like a corrupted database. Either restore a backup or check jellyfin's documentation on how to repair.
@j0nnymoe Thank you, I will try to repair it then.
Is there an existing issue for this?
Current Behavior
Jellyfin fails to start.
[09:30:36] [FTL] [1] Main: Error while starting server Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery() at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText) at Emby.Server.Implementations.Data.BaseSqliteRepository.Initialize() at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize() at Emby.Server.Implementations.ApplicationHost.InitializeServices() at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Expected Behavior
Jellyfin service should start.
Steps To Reproduce
In Unraid 6.12.10 on Epyc Rome 64G Ram Name: jellyfin Overview: Additional Requirements: None Listed Repository: lscr.io/linuxserver/jellyfin:latest Network Type: Bridge Console shell command: Bash Privileged: OFF WebUI: 8096 EDITREMOVE Container Port: 8096 Http webUI. Port: 8920: 8920 EDITREMOVE Container Port: 8920 Optional - Https webUI (you need to set up your own certificate). Port: 7359: 7359 EDITREMOVE Container Port: 7359 Optional - Allows clients to discover Jellyfin on the local network. Port: 1900: 1900 EDITREMOVE Container Port: 1900 Optional - Service discovery used by DNLA and clients. Path: /data/tvshows: /mnt/user/TV/ EDITREMOVE Container Path: /data/tvshows Media goes here. Add as many as needed e.g.
/data/movies
,/data/tv
, etc. Path: /data/movies: /mnt/user/Movies/ EDITREMOVE Container Path: /data/movies Media goes here. Add as many as needed e.g./data/movies
,/data/tv
, etc. JELLYFIN_PublishedServerUrl: 192.168.0.5 EDITREMOVE Container Variable: JELLYFIN_PublishedServerUrl Set the autodiscovery response domain or IP address. Appdata: /mnt/user/appdata/jellyfin EDITREMOVE Container Path: /config Jellyfin data storage location. This can grow very large, 50gb+ is likely for a large collection. PUID: 99 EDITREMOVE Container Variable: PUID PGID: 100 EDITREMOVE Container Variable: PGID UMASK: 022 EDITREMOVE Container Variable: UMASK docker allocations ... CloudCommanderbridge192.168.0.1338765 CodeProject.AI_Serverbridge192.168.0.13332168 DirSyncProbridge192.168.0.1338080 Dolphinbridge192.168.0.1338083 doublecommanderbridge192.168.0.1333000, 3001 filebot-xprabridge192.168.0.1335454 firefoxbridge192.168.0.1333005, 3006 htpcmanagerbridge192.168.0.1338085 jellyfinbridge192.168.0.1331900, 7359, 8096, 8920 PostgreSQL_Alpinebridge192.168.0.1335432 stable-diffusionbridge192.168.0.1337860 xbackbonebridge192.168.0.133456, 8084Prior to the last update Jellyfin was working fine. Upon upgrading to ver 10.9.4, Jellyfin failed to restart with error [09:43:35] [FTL] [1] Main: Error while starting server Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 11: 'database disk image is malformed'. at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db) at Microsoft.Data.Sqlite.SqliteDataReader.NextResult() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader() at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery() at Emby.Server.Implementations.Data.SqliteExtensions.Execute(SqliteConnection sqliteConnection, String commandText) at Emby.Server.Implementations.Data.BaseSqliteRepository.Initialize() at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize() at Emby.Server.Implementations.ApplicationHost.InitializeServices() at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
Environment
CPU architecture
x86-64
Docker creation
Container logs