[PR #6611] [MERGED] Fix user DB migration #11049

Closed
opened 2026-02-07 06:31:29 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6611
Author: @Bond-009
Created: 9/25/2021
Status: Merged
Merged: 9/25/2021
Merged by: @cvium

Base: masterHead: error


📝 Commits (1)

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs (+3 -3)

📄 Description

[19:31:31] [FTL] [1] Main: Error while starting server.
System.InvalidOperationException: Unable to resolve service for type 'Emby.Server.Implementations.Serialization.MyXmlSerializer' while attempting to activate 'Jellyfin.Server.Migrations.Routines.MigrateUserDb'.
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
   at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass1_0.<Run>b__0(Type m) in /home/loma/dev/jellyfin/Jellyfin.Server/Migrations/MigrationRunner.cs:line 41
   at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext()
   at System.Linq.Enumerable.OfTypeIterator[TResult](IEnumerable source)+MoveNext()
   at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
   at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) in /home/loma/dev/jellyfin/Jellyfin.Server/Migrations/MigrationRunner.cs:line 40
   at Jellyfin.Server.Program.StartApp(StartupOptions options) in /home/loma/dev/jellyfin/Jellyfin.Server/Program.cs:line 194

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/6611 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 9/25/2021 **Status:** ✅ Merged **Merged:** 9/25/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `error` --- ### 📝 Commits (1) - [`65665de`](https://github.com/jellyfin/jellyfin/commit/65665de660d19fa6b02d9d18c3e069d0fa5e5bdd) Fix user DB migration ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs` (+3 -3) </details> ### 📄 Description ``` [19:31:31] [FTL] [1] Main: Error while starting server. System.InvalidOperationException: Unable to resolve service for type 'Emby.Server.Implementations.Serialization.MyXmlSerializer' while attempting to activate 'Jellyfin.Server.Migrations.Routines.MigrateUserDb'. at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider) at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters) at Jellyfin.Server.Migrations.MigrationRunner.<>c__DisplayClass1_0.<Run>b__0(Type m) in /home/loma/dev/jellyfin/Jellyfin.Server/Migrations/MigrationRunner.cs:line 41 at System.Linq.Enumerable.SelectArrayIterator`2.MoveNext() at System.Linq.Enumerable.OfTypeIterator[TResult](IEnumerable source)+MoveNext() at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source) at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) in /home/loma/dev/jellyfin/Jellyfin.Server/Migrations/MigrationRunner.cs:line 40 at Jellyfin.Server.Program.StartApp(StartupOptions options) in /home/loma/dev/jellyfin/Jellyfin.Server/Program.cs:line 194 ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:31:29 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#11049