• 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 Help! Following latest update, it broke my jelly fin server!

     
    • 0 Vote(s) - 0 Average

    Help! Following latest update, it broke my jelly fin server!

    Help! Following latest update, it broke my jelly fin server!
    alleycat
    Offline

    Member

    Posts: 105
    Threads: 20
    Joined: 2024 Sep
    Reputation: 1
    Country:United States
    #3
    Yesterday, 02:24 AM
    (2025-11-01, 09:22 PM)C W Wrote: Hi,

    I am normally quite resilient and can figure these things out, however i am stumped and broke my jellyfin server.

    OS: windows 11 24h2

    Running jellyfin on a computer and succesfully using it for a year.  decided to update to the latest and the service no longer starts. 
    I have tried changing to local service account or other admin accounts. but starting the service, and it auto stops a seconds after

    I have taken a copy of the jellyfin folder, is this enough to restore from? 


    logs extracted below

    "
    [2025-11-01 21:12:13.085 +00:00] [INF] [10] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
    [2025-11-01 21:12:13.105 +00:00] [INF] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.
    [2025-11-01 21:12:13.111 +00:00] [INF] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration style migration.xml detected. Migrate now.
    [2025-11-01 21:12:13.629 +00:00] [INF] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Migrate migration 9b354818-94d5-4b68-ac49-e35cb85f9d84-"CreateNetworkConfiguration".
    [2025-11-01 21:12:13.638 +00:00] [ERR] [10] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
    ""INSERT INTO \"__EFMigrationsHistory\" (\"MigrationId\", \"ProductVersion\")
    VALUES ('20250420000000_CreateNetworkConfiguration', '10.11.1.0');"
    [2025-11-01 21:12:13.642 +00:00] [FTL] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Failed to apply migrations
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: __EFMigrationsHistory.MigrationId'.
      at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
      at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
    --- End of stack trace from previous location ---
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable1 parameters, CancellationToken cancellationToken)
      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-01 21:12:13.651 +00:00] [FTL] [2] Main: Unhandled Exception
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: __EFMigrationsHistory.MigrationId'.
      at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
      at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
    --- End of stack trace from previous location ---
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable
    1 parameters, CancellationToken cancellationToken)
      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-01 21:12:22.273 +00:00] [INF] [2] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2025-11-01 21:12:22.510 +00:00] [INF] [10] Jellyfin.Server.ServerSetupApp.SetupServer: Kestrel is listening on "0.0.0.0"
    [2025-11-01 21:12:22.525 +00:00] [INF] [10] Main: Jellyfin version: "10.11.1"
    [2025-11-01 21:12:22.527 +00:00] [INF] [10] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, C:\ProgramData\Jellyfin\Server\log]"]
    [2025-11-01 21:12:22.528 +00:00] [INF] [10] Main: Arguments: ["C:\Program Files\Jellyfin\Server\jellyfin.dll", "--service", "--datadir", "C:\ProgramData\Jellyfin\Server"]
    [2025-11-01 21:12:22.529 +00:00] [INF] [10] Main: Operating system: "Microsoft Windows 10.0.26100"
    [2025-11-01 21:12:22.530 +00:00] [INF] [10] Main: Architecture: X64
    [2025-11-01 21:12:22.530 +00:00] [INF] [10] Main: 64-Bit Process: True
    [2025-11-01 21:12:22.531 +00:00] [INF] [10] Main: User Interactive: False
    [2025-11-01 21:12:22.531 +00:00] [INF] [10] Main: Processor count: 16
    [2025-11-01 21:12:22.532 +00:00] [INF] [10] Main: Program data path: "C:\ProgramData\Jellyfin\Server"
    [2025-11-01 21:12:22.532 +00:00] [INF] [10] Main: Log directory path: "C:\ProgramData\Jellyfin\Server\log"
    [2025-11-01 21:12:22.532 +00:00] [INF] [10] Main: Config directory path: "C:\ProgramData\Jellyfin\Server\config"
    [2025-11-01 21:12:22.533 +00:00] [INF] [10] Main: Cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2025-11-01 21:12:22.534 +00:00] [INF] [10] Main: Temp directory path: "C:\Users\Administrator\AppData\Local\Temp\jellyfin"
    [2025-11-01 21:12:22.534 +00:00] [INF] [10] Main: Web resources path: "C:\Program Files\Jellyfin\Server\jellyfin-web"
    [2025-11-01 21:12:22.534 +00:00] [INF] [10] Main: Application directory: "C:\Program Files\Jellyfin\Server\"
    [2025-11-01 21:12:22.542 +00:00] [INF] [10] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server\data" (Fixed) successfully checked with "1.7TiB" free which is over the minimum of "2GiB".
    [2025-11-01 21:12:22.543 +00:00] [INF] [10] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server\log" (Fixed) successfully checked with "1.7TiB" free which is over the minimum of "512MiB".
    [2025-11-01 21:12:22.543 +00:00] [INF] [10] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server\cache" (Fixed) successfully checked with "1.7TiB" free which is over the minimum of "2GiB".
    [2025-11-01 21:12:22.544 +00:00] [INF] [10] Jellyfin.Server.Startup: Storage path "C:\ProgramData\Jellyfin\Server" (Fixed) successfully checked with "1.7TiB" free which is over the minimum of "2GiB".
    [2025-11-01 21:12:22.545 +00:00] [INF] [10] Jellyfin.Server.Startup: Storage path "C:\Users\Administrator\AppData\Local\Temp\jellyfin" (Fixed) successfully checked with "1.7TiB" free which is over the minimum of "512MiB".
    [2025-11-01 21:12:22.550 +00:00] [INF] [10] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "C:\ProgramData\Jellyfin\Server\cache"
    [2025-11-01 21:12:22.590 +00:00] [INF] [10] Jellyfin.Database.Providers.Sqlite.SqliteDatabaseProvider: SQLite connection string: "Data Source=C:\ProgramData\Jellyfin\Server\data\jellyfin.db;Cache=Default;Pooling=True"
    [2025-11-01 21:12:22.593 +00:00] [INF] [10] 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;
    "
    [2025-11-01 21:12:22.595 +00:00] [INF] [10] Jellyfin.Database.Implementations.Locking.NoLockBehavior: The database locking mode has been set to: NoLock.
    [2025-11-01 21:12:22.615 +00:00] [INF] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Initialise Migration service.
    [2025-11-01 21:12:22.620 +00:00] [INF] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Old migration style migration.xml detected. Migrate now.
    [2025-11-01 21:12:23.126 +00:00] [INF] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Migrate migration 9b354818-94d5-4b68-ac49-e35cb85f9d84-"CreateNetworkConfiguration".
    [2025-11-01 21:12:23.136 +00:00] [ERR] [10] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand ("1"ms) [Parameters=[""], CommandType='Text', CommandTimeout='30']"
    ""INSERT INTO \"__EFMigrationsHistory\" (\"MigrationId\", \"ProductVersion\")
    VALUES ('20250420000000_CreateNetworkConfiguration', '10.11.1.0');"
    [2025-11-01 21:12:23.141 +00:00] [FTL] [10] Jellyfin.Server.Migrations.JellyfinMigrationService: Failed to apply migrations
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: __EFMigrationsHistory.MigrationId'.
      at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
      at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
    --- End of stack trace from previous location ---
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable1 parameters, CancellationToken cancellationToken)
      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-01 21:12:23.149 +00:00] [FTL] [2] Main: Unhandled Exception
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: __EFMigrationsHistory.MigrationId'.
      at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
      at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
      at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
      at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
    --- End of stack trace from previous location ---
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.ExecuteSqlRawAsync(DatabaseFacade databaseFacade, String sql, IEnumerable
    1 parameters, CancellationToken cancellationToken)
      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)

    From the release notes:

    4. The upgrade will make a backup of your existing library.db file named library.db.old. This file can be used to recover should the upgrade fail. Once you have successfully upgraded and Jellyfin 10.11.0 is running smoothly, you may delete this backup. If you need to try the migrations again due to a failure, stop Jellyfin, rename this file back to library.db, then start Jellyfin again, and the migration will be re-attempted.
    Jellyfin 10.11.1 on Ubuntu 24.04.2 LTS, OptiPlex 7050 i7-6700 32GB ram (headless)
    Arc A310, TrueNAS Mini R Raidz2 45 TiB, Netgate 4200 PFsense/HAproxy

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Help! Following latest update, it broke my jelly fin server! - by C W - 2025-11-01, 09:22 PM
    RE: Help! Following latest update, it broke my jelly fin server! - by errenden - 2025-11-01, 11:31 PM
    RE: Help! Following latest update, it broke my jelly fin server! - by alleycat - Yesterday, 02:24 AM

    • 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