Jellyfin Forum
crashing - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: crashing (/t-crashing)



crashing - coretsh - 2025-11-25

Keep having container crashing. Keeps trying to restart but never does. Was running okay for a while then crashes. Had a notification about trying to run on port that already exists... Possibly jellyfin_old that was back up but deleted it and still getting crashes.
synology Nas
Container manager
I believe was running jellyfin 10.11.2
Quote:[16:31:10] [INF] [7] Main: Config directory path: /config/config

[16:31:10] [INF] [7] Main: Cache path: /cache

[16:31:10] [INF] [7] Main: Temp directory path: /tmp/jellyfin

[16:31:10] [INF] [7] Main: Web resources path: /jellyfin/jellyfin-web

[16:31:10] [INF] [7] Main: Application directory: /jellyfin/

[16:31:10] [INF] [7] Jellyfin.Server.Startup: Storage path /config/data (Fixed) successfully checked with 11.5TiB free which is over the minimum of 2GiB.

[16:31:10] [INF] [7] Jellyfin.Server.Startup: Storage path /config/log (Fixed) successfully checked with 11.5TiB free which is over the minimum of 512MiB.

[16:31:10] [INF] [7] Jellyfin.Server.Startup: Storage path /cache (Fixed) successfully checked with 11.5TiB free which is over the minimum of 2GiB.

[16:31:10] [INF] [7] Jellyfin.Server.Startup: Storage path /config (Fixed) successfully checked with 11.5TiB free which is over the minimum of 2GiB.

[16:31:10] [INF] [7] Jellyfin.Server.Startup: Storage path /tmp/jellyfin (Fixed) successfully checked with 11.5TiB free which is over the minimum of 512MiB.

[16:31:10] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache

[16:31:10] [INF] [7] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: Data Source=/config/data/jellyfin.db;Cache=Default;Pooling=True

[16:31:10] [INF] [7] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLITE connection pragma command set to:


PRAGMA locking_mode=NORMAL;

PRAGMA journal_size_limit=134217728;

PRAGMA synchronous=1;

PRAGMA temp_store=2;



[16:31:10] [INF] [7] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.

[16:31:11] [INF] [7] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.

[16:31:11] [INF] [7] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration style migration.xml detected. Migrate now.

[16:31:12] [FTL] [7] Jellyfin.Server.Migrations.JellyfinMigrationService: Failed to apply migrations

System.InvalidOperationException: Sequence contains no elements

  at System.Linq.ThrowHelper.ThrowNoElementsException()

  at System.Linq.Enumerable.Last[TSource](IEnumerable1 source)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

[16:31:12] [FTL] [1] Main: Unhandled Exception

System.InvalidOperationException: Sequence contains no elements

  at System.Linq.ThrowHelper.ThrowNoElementsException()

  at System.Linq.Enumerable.Last[TSource](IEnumerable
1 source)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)

  at Jellyfin.Server.Program.StartApp(StartupOptions options)

  at Jellyfin.Server.Program.<Main>(String[] args)

Unhandled exception. System.InvalidOperationException: Sequence contains no elements

  at System.Linq.ThrowHelper.ThrowNoElementsException()

  at System.Linq.Enumerable.Last[TSource](IEnumerable1 source)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)

  at Jellyfin.Server.Program.StartApp(StartupOptions options)

  at Jellyfin.Server.Program.<Main>(String[] args)

[16:32:18] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache

[16:32:18] [INF] [9] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on 0.0.0.0

[16:32:18] [INF] [9] Main: Jellyfin version: 10.11.2

[16:32:18] [INF] [9] Main: Environment Variables: ["[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]"]

[16:32:18] [INF] [9] Main: Arguments: ["/jellyfin/jellyfin.dll"]

[16:32:18] [INF] [9] Main: Operating system: Debian GNU/Linux 13 (trixie)

[16:32:18] [INF] [9] Main: Architecture: X64

[16:32:18] [INF] [9] Main: 64-Bit Process: True

[16:32:18] [INF] [9] Main: User Interactive: True

[16:32:18] [INF] [9] Main: Processor count: 4

[16:32:18] [INF] [9] Main: Program data path: /config

[16:32:18] [INF] [9] Main: Log directory path: /config/log

[16:32:18] [INF] [9] Main: Config directory path: /config/config

[16:32:18] [INF] [9] Main: Cache path: /cache

[16:32:18] [INF] [9] Main: Temp directory path: /tmp/jellyfin

[16:32:18] [INF] [9] Main: Web resources path: /jellyfin/jellyfin-web

[16:32:18] [INF] [9] Main: Application directory: /jellyfin/

[16:32:18] [INF] [9] Jellyfin.Server.Startup: Storage path
/config/data (Fixed) successfully checked with 11.5TiB free which is over the minimum of 2GiB.

[16:32:18] [INF] [9] Jellyfin.Server.Startup: Storage path
/config/log (Fixed) successfully checked with 11.5TiB free which is over the minimum of 512MiB.

[16:32:18] [INF] [9] Jellyfin.Server.Startup: Storage path
/cache (Fixed) successfully checked with 11.5TiB free which is over the minimum of 2GiB.

[16:32:18] [INF] [9] Jellyfin.Server.Startup: Storage path
/config (Fixed) successfully checked with 11.5TiB free which is over the minimum of 2GiB.

[16:32:18] [INF] [9] Jellyfin.Server.Startup: Storage path
/tmp/jellyfin (Fixed) successfully checked with 11.5TiB free which is over the minimum of 512MiB.

[16:32:18] [INF] [9] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /cache

[16:32:18] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: Data Source=/config/data/jellyfin.db;Cache=Default;Pooling=True

[16:32:18] [INF] [9] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLITE connection pragma command set to:


PRAGMA locking_mode=NORMAL;

PRAGMA journal_size_limit=134217728;

PRAGMA synchronous=1;

PRAGMA temp_store=2;



[16:32:18] [INF] [9] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.

[16:32:18] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.

[16:32:18] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration style migration.xml detected. Migrate now.

[16:32:20] [FTL] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Failed to apply migrations

System.InvalidOperationException: Sequence contains no elements

  at System.Linq.ThrowHelper.ThrowNoElementsException()

  at System.Linq.Enumerable.Last[TSource](IEnumerable
1 source)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

[16:32:20] [FTL] [1] Main: Unhandled Exception

System.InvalidOperationException: Sequence contains no elements

  at System.Linq.ThrowHelper.ThrowNoElementsException()

  at System.Linq.Enumerable.Last[TSource](IEnumerable1 source)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)

  at Jellyfin.Server.Program.StartApp(StartupOptions options)

  at Jellyfin.Server.Program.<Main>(String[] args)

Unhandled exception. System.InvalidOperationException: Sequence contains no elements

  at System.Linq.ThrowHelper.ThrowNoElementsException()

  at System.Linq.Enumerable.Last[TSource](IEnumerable
1 source)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)

  at Jellyfin.Server.Program.ApplyStartupMigrationAsync(ServerApplicationPaths appPaths, IConfiguration startupConfig)

  at Jellyfin.Server.Program.StartApp(StartupOptions options)

  at Jellyfin.Server.Program.<Main>(String[] args)



RE: crashing - coretsh - 2025-11-25

Tried to delete and repull image and worked until i set config and cache to the original folders i used. Now it keeps restarting and wont run


RE: crashing - coretsh - 2025-11-25

Ended up deleting config and cache and using snap shot to reload from few days before. Something seems to have corrupted files. Also pulled new image 10.11.3