mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
Shows with many episodes never load on browser or take extremely large amounts of time to load. #7973
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ButtercupKitten on GitHub (Jan 1, 2026).
Description of the bug
After upgrading to the latest version from 10.10.07 and following all steps correctly I am unable to load seasons for shows with many episodes. Detective Conan has over 1000+ episodes and trying to load the entry never loads on desktop and takes 5+ minutes on a client like Roku. It used to only take a few seconds to load the entire show, now it takes an extremely long time . I have done two full scans of all the files, and it still does not fix the issue. I have even tried many different fixes floating around forums to no avail. Other shows have major issues loading seasons and episodes, but Detective Conan is the one that outright never works.
Reproduction steps
upgrade from 10.10.07 to 10.11.05 and try to load a show with many episodes 1,000+ and watch as it does not load in the browser on the pc the server is being ran on.
What is the current bug behavior?
The seasons and episodes never load.
What is the expected correct behavior?
Everything loads in a few seconds like it used to.
Jellyfin Server version
10.11.5
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.5
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@ButtercupKitten commented on GitHub (Jan 1, 2026):
[2025-09-18 16:48:34.324 -07:00] [FTL] [1] Main: Error while starting server
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: u.MaxParentalAgeRating'.
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.ExecuteDbDataReader(CommandBehavior behavior)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable
1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable1.Enumerator.<>c.b__22_0(DbContext _, Enumerator enumerator)at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func
3 operation, Func3 verifySucceeded)at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable
1.Enumerator.MoveNext() at Jellyfin.Server.Implementations.Users.UserManager..ctor(IDbContextFactory1 dbProvider, IEventManager eventManager, INetworkManager networkManager, IApplicationHost appHost, IImageProcessor imageProcessor, ILogger1 logger, IServerConfigurationManager serverConfigurationManager, IEnumerable1 passwordResetProviders, IEnumerable1 authenticationProviders) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor
2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func`2 valueFactory)at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
at Emby.Server.Implementations.ApplicationHost.ResolveT
at Emby.Server.Implementations.ApplicationHost.InitializeServices()
at Jellyfin.Server.Program.StartServer(IServerApplicationPaths appPaths, StartupOptions options, IConfiguration startupConfig)
[2025-09-18 16:48:34.338 -07:00] [INF] [1] Main: Running query planner optimizations in the database... This might take a while
[2025-09-18 16:48:34.357 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2025-09-18 16:48:34.359 -07:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "PluginManager"
@ZeusCraft10 commented on GitHub (Jan 3, 2026):
I've been looking into this issue and wanted to share what I've found so far.
What's Actually Happening
The warning about Cartesian explosion led me down the wrong path initially (I tried fixing it with split queries in #15927, which wasn't the right approach). After some feedback, I realized the real problem:
When loading a show with 1000+ episodes, we're loading all the related data for each episode:
So for 1000 episodes, we're pulling 9,000+ rows even in a single query. That's a lot of data to pull and process.
Possible Solutions
I see a few potential directions:
Before I go too far down any of these paths, wanted to check:
Happy to dig into whichever direction makes the most sense!
@Ondjultomte commented on GitHub (Jan 16, 2026):
have to report that now many weeks later the submenues, as in movies, series etc are really fast to browse now! I have done nothing ...
the homescreen landing page is still slow though, and it seems to the the resume scripts running that causes it.
fyi large library here.