• 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 Failed to start Jellyfin, migration issue?

     
    • 0 Vote(s) - 0 Average

    Failed to start Jellyfin, migration issue?

    Issue with starting jellyfin server, logs suggest migration issue.
    skellumtv
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #1
    3 hours ago
    I recently updated my Jellyfin to 10.11.1 and it was running fine.
    Today it isn't accessible and when navigating to the server it tells me Jellyfin failed to start in time and to check the logs.

    I've updated to 10.11.2 and still am receiving the error, here is the latest log.

    [2025-11-12 13:24:57.311 +00:00] [INF] [9] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
    [2025-11-12 13:24:57.490 +00:00] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.
    [2025-11-12 13:24:57.513 +00:00] [INF] [9] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration style migration.xml detected. Migrate now.
    [2025-11-12 13:24:59.006 +00:00] [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](IEnumerable1 source)
      at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)
      at Jellyfin.Server.Migrations.JellyfinMigrationService.CheckFirstTimeRunOrMigration(IApplicationPaths appPaths)
    [2025-11-12 13:24:59.399 +00:00] [FTL] [2] 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)
    [2025-11-12 13:39:38.903 +00:00] [INF] [2] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2025-11-12 13:39:40.001 +00:00] [INF] [11] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on "0.0.0.0"
    [2025-11-12 13:39:40.038 +00:00] [INF] [11] Main: Jellyfin version: "10.11.2"
    [2025-11-12 13:39:40.042 +00:00] [INF] [11] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
    [2025-11-12 13:39:40.046 +00:00] [INF] [11] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--datadir", "C:\ProgramData\Jellyfin\Server"]
    [2025-11-12 13:39:40.049 +00:00] [INF] [11] Main: Operating system: "Microsoft Windows 10.0.22631"
    [2025-11-12 13:39:40.051 +00:00] [INF] [11] Main: Architecture: X64
    [2025-11-12 13:39:40.053 +00:00] [INF] [11] Main: 64-Bit Process: True
    [2025-11-12 13:39:40.055 +00:00] [INF] [11] Main: User Interactive: True
    [2025-11-12 13:39:40.056 +00:00] [INF] [11] Main: Processor count: 28
    [2025-11-12 13:39:40.058 +00:00] [INF] [11] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
    [2025-11-12 13:39:40.059 +00:00] [INF] [11] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
    [2025-11-12 13:39:40.061 +00:00] [INF] [11] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
    [2025-11-12 13:39:40.063 +00:00] [INF] [11] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2025-11-12 13:39:40.065 +00:00] [INF] [11] Main: Temp directory path: "C:\Users\SKELLMEDIA\AppData\Local\Temp\jellyfin"
    [2025-11-12 13:39:40.066 +00:00] [INF] [11] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
    [2025-11-12 13:39:40.068 +00:00] [INF] [11] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
    [2025-11-12 13:39:40.100 +00:00] [INF] [11] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server\data" (Fixed) successfully checked with "387.4GiB" free which is over the minimum of "2GiB".
    [2025-11-12 13:39:40.104 +00:00] [INF] [11] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server\log" (Fixed) successfully checked with "387.4GiB" free which is over the minimum of "512MiB".
    [2025-11-12 13:39:40.106 +00:00] [INF] [11] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server\cache" (Fixed) successfully checked with "387.4GiB" free which is over the minimum of "2GiB".
    [2025-11-12 13:39:40.109 +00:00] [INF] [11] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server" (Fixed) successfully checked with "387.4GiB" free which is over the minimum of "2GiB".
    [2025-11-12 13:39:40.111 +00:00] [INF] [11] Jellyfin.Server.Startup: Storage path "C:\Users\SKELLMEDIA\AppData\Local\Temp\jellyfin" (Fixed) successfully checked with "387.4GiB" free which is over the minimum of "512MiB".
    [2025-11-12 13:39:40.142 +00:00] [INF] [11] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2025-11-12 13:39:40.476 +00:00] [INF] [11] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: "Data Source=C:\ProgramData\Jellyfin\Server\data\jellyfin.db;Cache=Default;Pooling=True"
    [2025-11-12 13:39:40.486 +00:00] [INF] [11] 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;


    This appears to relate to migrations but I'm not migrating, the server is the same Windows 11 build it has always run on.

    Can someone advise here please?

    Thank you
    skellumtv
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    #2
    2 hours ago
    After googling and finding nothing, I deleted the migrations.xml file under Program Data\Jellyfin\Server\Config and the service started successfully.
    Server now appears to be back up.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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