2023-10-07, 06:32 PM
Jellyfin version: 10.8.11
Operating system: Linux (Docker Compose)
Architecture: X64
Jellyfin will not start and ends with Received a SIGTERM signal, shutting down.
This also happened a few weeks ago, I could not figure it out, so rebuilt my DBs fresh.
It happened again, so I am now requesting help.
Thank you for the great software!
Operating system: Linux (Docker Compose)
Architecture: X64
Jellyfin will not start and ends with Received a SIGTERM signal, shutting down.
This also happened a few weeks ago, I could not figure it out, so rebuilt my DBs fresh.
It happened again, so I am now requesting help.
Thank you for the great software!
Code:
at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
[14:16:29] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[14:16:29] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[14:16:29] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect
[14:16:29] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
[14:16:29] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
[14:16:29] [INF] [2] Main: Received a SIGTERM signal, shutting down
[14:16:30] [INF] [1] Main: Jellyfin version: 10.8.11
[14:16:30] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]"]
[14:16:30] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[14:16:30] [INF] [1] Main: Operating system: Linux
[14:16:30] [INF] [1] Main: Architecture: X64
[14:16:30] [INF] [1] Main: 64-Bit Process: True
[14:16:30] [INF] [1] Main: User Interactive: True
[14:16:30] [INF] [1] Main: Processor count: 4
[14:16:30] [INF] [1] Main: Program data path: /config
[14:16:30] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
[14:16:30] [INF] [1] Main: Application directory: /jellyfin/
[14:16:31] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
[14:16:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[14:16:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[14:16:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[14:16:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[14:16:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[14:16:31] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
[14:16:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.11.0
[14:16:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.11.0
[14:16:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.11.0
[14:16:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.11.0
[14:16:34] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.11.0
[14:16:34] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'MigrateActivityLogDatabase'
[14:16:34] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateActivityLogDatabase'
CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
[14:16:34] [FTL] [1] Main: Error while starting server.
CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
[14:16:34] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[14:16:34] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[14:16:34] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect
[14:16:34] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
[14:16:34] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
[14:16:34] [INF] [2] Main: Received a SIGTERM signal, shutting down
[14:16:36] [INF] [1] Main: Jellyfin version: 10.8.11
[14:16:36] [INF] [1] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]"]
[14:16:36] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[14:16:36] [INF] [1] Main: Operating system: Linux
[14:16:36] [INF] [1] Main: Architecture: X64
[14:16:36] [INF] [1] Main: 64-Bit Process: True
[14:16:36] [INF] [1] Main: User Interactive: True
[14:16:36] [INF] [1] Main: Processor count: 4
[14:16:36] [INF] [1] Main: Program data path: /config
[14:16:36] [INF] [1] Main: Web resources path: /jellyfin/jellyfin-web
[14:16:36] [INF] [1] Main: Application directory: /jellyfin/
[14:16:36] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache
[14:16:37] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[14:16:37] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[14:16:37] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : []
[14:16:37] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: [10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]
[14:16:37] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: []
[14:16:37] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: []
[14:16:40] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: TMDb 10.8.11.0
[14:16:40] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: Studio Images 10.8.11.0
[14:16:40] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: OMDb 10.8.11.0
[14:16:40] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: MusicBrainz 10.8.11.0
[14:16:40] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: AudioDB 10.8.11.0
[14:16:40] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration 'MigrateActivityLogDatabase'
[14:16:40] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration 'MigrateActivityLogDatabase'
CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
[14:16:40] [FTL] [1] Main: Error while starting server.
CannotOpen: SQLitePCL.pretty.SQLiteException: unable to open database file
at SQLitePCL.pretty.SQLiteException.Throw(Int32 rc, Int32 extended, String msg)
at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
at SQLitePCL.pretty.SQLiteDatabaseConnectionBuilder.Build()
at Jellyfin.Server.Migrations.Routines.MigrateActivityLogDb.Perform()
at Jellyfin.Server.Migrations.MigrationRunner.PerformMigrations(IMigrationRoutine[] migrations, MigrationOptions migrationOptions, Action`1 saveConfiguration, ILogger logger)
at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)
at Jellyfin.Server.Program.StartApp(StartupOptions options)
[14:16:40] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[14:16:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
[14:16:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing SchedulesDirect
[14:16:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing MusicBrainzAlbumProvider
[14:16:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing EmbyTV
[14:16:40] [INF] [2] Main: Received a SIGTERM signal, shutting down