• 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 Custom k8s config has jellyfins database locked

     
    • 0 Vote(s) - 0 Average

    Custom k8s config has jellyfins database locked

    SpiderUnderUrBed
    Offline

    Junior Member

    Posts: 9
    Threads: 4
    Joined: 2023 Oct
    Reputation: 0
    Country:New Zealand
    #1
    2025-03-30, 08:13 AM
    https://pastebin.com/qfZJs0uh
    ^ How come, when i run this config, and after my custom image of jellyfin builds (I am using a custom image because I kept on getting errors with jellyfins provided images). I get the error:
    Code:
    [font=monospace][color=#000000][07:22:33] [INF] [4] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: [] [/color]
    [07:22:35] [INF] [4] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not
    stop Jellyfin)
    [07:23:05] [ERR] [4] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand (30,022ms) [Parameters=[], CommandType='Text', CommandTimeout='30'
    ]
    PRAGMA journal_mode = 'wal';
    [07:23:05] [FTL] [4] Main: Error while starting server
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
      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 Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQuery(RelationalCommandParameterObject parameterObject)
      at Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.SqliteDatabaseCreator.Create()
      at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.CreateAsync(CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.MigrateAsync(String targetMigration, CancellationToken cancellationToken)
      at Emby.Server.Implementations.ApplicationHost.InitializeServices()
      at Emby.Server.Implementations.ApplicationHost.InitializeServices()
      at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
    [07:23:05] [INF] [4] Main: Running query planner optimizations in the database... This might take a while
    [07:23:05] [INF] [4] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    [07:23:05] [INF] [4] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager
    [/font]
    There is no pods, no other pods that is using the database, jellyfins database just immediately locks up.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Custom k8s config has jellyfins database locked - by SpiderUnderUrBed - 2025-03-30, 08:13 AM
    RE: Custom k8s config has jellyfins database locked - by TheDreadPirate - 2025-03-30, 03:31 PM
    RE: Custom k8s config has jellyfins database locked - by SpiderUnderUrBed - 2025-03-30, 05:48 PM
    RE: Custom k8s config has jellyfins database locked - by TheDreadPirate - 2025-03-31, 12:21 AM
    RE: Custom k8s config has jellyfins database locked - by SpiderUnderUrBed - 2025-03-31, 12:48 AM
    RE: Custom k8s config has jellyfins database locked - by TheDreadPirate - 2025-03-31, 01:09 PM

    • 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