Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jellyfin Docker SQLite "unable to open database file"

Featured Replies

I am pretty new unraid and servers in general. I have uninstalled and reinstalled the Jellyfin app and checked owners/permissions. I am not sure why this is happening. The Server has been running great for months. I recently had to rebuild from a bit read error on one of my media drives and this has been happening ever since. I thought it was a corrupted file but deleting and adding new one didn't help. I have looked at a few treads to get this far so any help would be greatly appreciated.

2026-03-07 18:51:59,963 DEBG 'jellyfin' stdout output:

[18:51:59] [ERR] [7] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30']

SELECT COUNT(*) FROM "sqlite_master" WHERE "name" = '__EFMigrationsHistory' AND "type" = 'table';

2026-03-07 18:51:59,963 INFO success: jellyfin entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2026-03-07 18:51:59,979 DEBG 'jellyfin' stdout output:

[18:51:59] [FTL] [1] Main: Unhandled Exception

Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.

at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()

at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()

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.ExecuteScalar()

at System.Data.Common.DbCommand.ExecuteScalarAsync(CancellationToken cancellationToken)

--- End of stack trace from previous location ---

at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)

at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)

at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteScalarAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)

at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.ExistsAsync(CancellationToken cancellationToken)

at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.GetAppliedMigrationsAsync(CancellationToken cancellationToken)

at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)

at Jellyfin.Server.Migrations.JellyfinMigrationService.MigrateStepAsync(JellyfinMigrationStageTypes stage, IServiceProvider serviceProvider)

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

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

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

  • Community Expert

Click on the icon for the container and select Support from the popup.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.