Description of the bug
Docker container crashes shortly after starting, giving migration errors.
Reproduction steps
Previously updated from 10.10 to the preview docker image. Updating from a 10.11 RC version to the full 10.11.0 release has caused this error.
What is the current bug behavior?
Docker image crashes on start.
What is the expected correct behavior?
Server should startup and not crash on Docker start.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.0
Environment
- OS: Unraid 7.1.4
- Linux Kernel:
- Virtualization: Docker
- Clients: Browser
- GPU Model: Nvidia A400
- Reverse Proxy: Nginx
- Base URL: None
- Networking: Host
- Jellyfin Data Storage: Local HDD, SSD Cache
- Media Storage: Local HDD, SSD Cache
- External Integrations: None
- Unraid app store docker image.
Jellyfin logs
[23:51:11] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /jellyfin-cache
[23:51:11] [INF] [7] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on 0.0.0.0
[23:51:11] [INF] [7] Main: Jellyfin version: 10.11.0
[23:51:11] [INF] [7] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_PublishedServerUrl, 10.0.0.100]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CACHE_DIR, /cache]"]
[23:51:11] [INF] [7] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[23:51:11] [INF] [7] Main: Operating system: Debian GNU/Linux 13 (trixie)
[23:51:11] [INF] [7] Main: Architecture: X64
[23:51:11] [INF] [7] Main: 64-Bit Process: True
[23:51:11] [INF] [7] Main: User Interactive: True
[23:51:11] [INF] [7] Main: Processor count: 4
[23:51:11] [INF] [7] Main: Program data path: /config
[23:51:11] [INF] [7] Main: Log directory path: /config/log
[23:51:11] [INF] [7] Main: Config directory path: /config/config
[23:51:11] [INF] [7] Main: Cache path: /jellyfin-cache
[23:51:11] [INF] [7] Main: Temp directory path: /tmp/jellyfin
[23:51:11] [INF] [7] Main: Web resources path: /jellyfin/jellyfin-web
[23:51:11] [INF] [7] Main: Application directory: /jellyfin/
[23:51:11] [INF] [7] Jellyfin.Server.Startup: Storage path `/config/data` (Network) successfully checked with 10.2TB free which is over the minimum of 2GB.
[23:51:11] [INF] [7] Jellyfin.Server.Startup: Storage path `/config/log` (Network) successfully checked with 10.2TB free which is over the minimum of 512MB.
[23:51:11] [INF] [7] Jellyfin.Server.Startup: Storage path `/jellyfin-cache` (Network) successfully checked with 768GB free which is over the minimum of 2GB.
[23:51:11] [INF] [7] Jellyfin.Server.Startup: Storage path `/config` (Network) successfully checked with 10.2TB free which is over the minimum of 2GB.
[23:51:11] [INF] [7] Jellyfin.Server.Startup: Storage path `/tmp/jellyfin` (Fixed) successfully checked with 71.4GB free which is over the minimum of 2GB.
[23:51:11] [INF] [7] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /jellyfin-cache
[23:51:11] [INF] [7] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: Data Source=/config/data/jellyfin.db;Cache=Default;Pooling=True
[23:51:11] [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;
[23:51:11] [INF] [7] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
[23:51:11] [INF] [7] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.
[23:51:11] [INF] [7] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration style migration.xml detected. Migrate now.
[23:51:13] [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](IEnumerable`1 source)
at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)
at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)
[23:51:13] [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)
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
Description of the bug
Docker container crashes shortly after starting, giving migration errors.
Reproduction steps
Previously updated from 10.10 to the preview docker image. Updating from a 10.11 RC version to the full 10.11.0 release has caused this error.
What is the current bug behavior?
Docker image crashes on start.
What is the expected correct behavior?
Server should startup and not crash on Docker start.
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.0
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response