• 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 JF won't start and ends with "Received a SIGTERM signal, shutting down"

     
    • 0 Vote(s) - 0 Average

    JF won't start and ends with "Received a SIGTERM signal, shutting down"

    Received a SIGTERM signal, shutting down
    Denogginizer
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #1
    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!

     
    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-10-07, 06:37 PM
    Make sure that the user you are running the container as has full permissions to the folder that you are mounting /config to.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pēteris Kārkliņš
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #3
    2023-11-25, 11:19 PM
    Received a SIGTERM signal, shutting down

    I'm running Jellyfin on windows PC. Error happened out of the blue. Help!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-11-26, 12:15 AM
    Can you share your server logs with us?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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