• 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 Jellyfin not starting after migration to other drive

     
    • 0 Vote(s) - 0 Average

    Jellyfin not starting after migration to other drive

    After my initial SD card turned 100% of storage use, I moved my jellyfin to a new free hard drive, but now Jellyfin is giving some erros and isn't able to start
    Prozoon 700
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #1
    Yesterday, 01:40 PM
    Good morning to everyone.

    Since today, I've encountered a new error that I haven't seen before, and I'm unable to solve it. I have researched some forums and even tried modifying the migrations.xml file, with no result.
    The issue I'm having: 
    Code:
    [15:31:27] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
    [15:31:27] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    [15:31:27] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager
    [15:31:30] [INF] [1] Main: Jellyfin version: 10.10.7
    [15:31:30] [INF] [1] Main: Environment Variables: ["[JELLYFIN_CONFIG_DIR, /config]", "[JELLYFIN_DATA_DIR, /config/data]", "[JELLYFIN_BaseUrl, /jellyfin]", "[JELLYFIN_PublishedServerUrl, https://lidera-nas.tail31ed3a.ts.net/jellyfin]", "[JELLYFIN_WEB_DIR, /usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CACHE_DIR, /config/cache]"]
    [15:31:30] [INF] [1] Main: Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [15:31:30] [INF] [1] Main: Operating system: Ubuntu 24.04.3 LTS
    [15:31:30] [INF] [1] Main: Architecture: Arm64
    [15:31:30] [INF] [1] Main: 64-Bit Process: True
    [15:31:30] [INF] [1] Main: User Interactive: True
    [15:31:30] [INF] [1] Main: Processor count: 4
    [15:31:30] [INF] [1] Main: Program data path: /config/data
    [15:31:30] [INF] [1] Main: Log directory path: /config/log
    [15:31:30] [INF] [1] Main: Config directory path: /config
    [15:31:30] [INF] [1] Main: Cache path: /config/cache
    [15:31:30] [INF] [1] Main: Temp directory path: /tmp/jellyfin
    [15:31:30] [INF] [1] Main: Web resources path: /usr/share/jellyfin/web
    [15:31:30] [INF] [1] Main: Application directory: /usr/lib/jellyfin/bin/
    [15:31:31] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: /config/cache
    [15:31:31] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions: []
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Used LAN subnets: ["127.0.0.1/8", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered interface addresses: ["127.0.0.1", "172.17.0.2"]
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Bind Addresses ["0.0.0.0"]
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Remote IP filter is Allowlist
    [15:31:32] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Filtered subnets: []
    [15:31:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: There are pending EFCore migrations in the database. Applying... (This may take a while, do not stop Jellyfin)
    [15:31:40] [ERR] [1] Microsoft.EntityFrameworkCore.Database.Command: Failed executing DbCommand (11ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
    CREATE TABLE "Users" (
        "Id" TEXT NOT NULL CONSTRAINT "PK_Users" PRIMARY KEY,
        "Username" TEXT NOT NULL,
        "Password" TEXT NULL,
        "EasyPassword" TEXT NULL,
        "MustUpdatePassword" INTEGER NOT NULL,
        "AudioLanguagePreference" TEXT NULL,
        "AuthenticationProviderId" TEXT NOT NULL,
        "PasswordResetProviderId" TEXT NOT NULL,
        "InvalidLoginAttemptCount" INTEGER NOT NULL,
        "LastActivityDate" TEXT NULL,
        "LastLoginDate" TEXT NULL,
        "LoginAttemptsBeforeLockout" INTEGER NULL,
        "SubtitleMode" INTEGER NOT NULL,
        "PlayDefaultAudioTrack" INTEGER NOT NULL,
        "SubtitleLanguagePreference" TEXT NULL,
        "DisplayMissingEpisodes" INTEGER NOT NULL,
        "DisplayCollectionsView" INTEGER NOT NULL,
        "EnableLocalPassword" INTEGER NOT NULL,
        "HidePlayedInLatest" INTEGER NOT NULL,
        "RememberAudioSelections" INTEGER NOT NULL,
        "RememberSubtitleSelections" INTEGER NOT NULL,
        "EnableNextEpisodeAutoPlay" INTEGER NOT NULL,
        "EnableAutoLogin" INTEGER NOT NULL,
        "EnableUserPreferenceAccess" INTEGER NOT NULL,
        "MaxParentalAgeRating" INTEGER NULL,
        "RemoteClientBitrateLimit" INTEGER NULL,
        "InternalId" INTEGER NOT NULL,
        "SyncPlayAccess" INTEGER NOT NULL,
        "RowVersion" INTEGER NOT NULL
    );
    [15:31:40] [FTL] [1] Main: Error while starting server
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'table "Users" already exists'.
      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.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.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable`1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable`1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable`1 migrationCommands, IRelationalConnection connection, CancellationToken cancellationToken)
      at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQueryAsync(IEnumerable`1 migrationCommands, IRelationalConnection connection, 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)
    [15:31:40] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
    [15:31:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing CoreAppHost
    [15:31:40] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing PluginManager

    I have even asked ChatGPT, but also given no solution.

    Thanks in advance, and have a great day!
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Jellyfin not starting after migration to other drive - by Prozoon 700 - Yesterday, 01:40 PM
    RE: Jellyfin not starting after migration to other drive - by theguymadmax - Yesterday, 02:32 PM
    RE: Jellyfin not starting after migration to other drive - by Prozoon 700 - Yesterday, 02:46 PM
    RE: Jellyfin not starting after migration to other drive - by theguymadmax - Yesterday, 03:45 PM
    RE: Jellyfin not starting after migration to other drive - by Prozoon 700 - Yesterday, 04:02 PM
    RE: Jellyfin not starting after migration to other drive - by theguymadmax - Yesterday, 04:36 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