Jellyfin Forum
Error when trying to view new TV Network from series - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Error when trying to view new TV Network from series (/t-error-when-trying-to-view-new-tv-network-from-series)



Error when trying to view new TV Network from series - SenorSmartyPants - 2024-07-09

I get an error when I try and view a newly created tv network from a new tv series page (and the page never finishes loading). The tv network is not listed when I view TV Shows->TV Networks.

I recently had a corrupted SD card, but I rebuilt my system and copied over my jellyfin appdata from the old SD card. My theory is that maybe the sqlite table is messed up. 

How can I test this theory out? Or are there better ideas of what might be going on. 

I'm still on 10.8, for reasons.


Code:
jellyfin            | 2024-07-09T23:49:20.964395723Z [18:49:20] [ERR] [86] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /Users/5c0c92019ab2454a8bdcc7aba9abcdd6/Items/4218c9396bdb422a9ae9502ac47bd567.
jellyfin            | 2024-07-09T23:49:20.964688853Z System.NullReferenceException: Object reference not set to an instance of an object.
jellyfin            | 2024-07-09T23:49:20.964777813Z    at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDtoInternal(BaseItem item, DtoOptions options, User user, BaseItem owner)
jellyfin            | 2024-07-09T23:49:20.964856272Z    at Emby.Server.Implementations.Dto.DtoService.GetBaseItemDto(BaseItem item, DtoOptions options, User user, BaseItem owner)
jellyfin            | 2024-07-09T23:49:20.964929482Z    at Jellyfin.Api.Controllers.UserLibraryController.GetItem(Guid userId, Guid itemId)
jellyfin            | 2024-07-09T23:49:20.965001233Z    at lambda_method668(Closure , Object )
jellyfin            | 2024-07-09T23:49:20.965070651Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
jellyfin            | 2024-07-09T23:49:20.965144736Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
jellyfin            | 2024-07-09T23:49:20.965292905Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin            | 2024-07-09T23:49:20.965359115Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
jellyfin            | 2024-07-09T23:49:20.965415116Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin            | 2024-07-09T23:49:20.965472575Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
jellyfin            | 2024-07-09T23:49:20.965524493Z --- End of stack trace from previous location ---
jellyfin            | 2024-07-09T23:49:20.965588369Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
jellyfin            | 2024-07-09T23:49:20.965655745Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
jellyfin            | 2024-07-09T23:49:20.965723121Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
jellyfin            | 2024-07-09T23:49:20.965781164Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
jellyfin            | 2024-07-09T23:49:20.965835415Z --- End of stack trace from previous location ---
jellyfin            | 2024-07-09T23:49:20.965888499Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin            | 2024-07-09T23:49:20.965944208Z    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
jellyfin            | 2024-07-09T23:49:20.965999626Z    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
jellyfin            | 2024-07-09T23:49:20.966054168Z    at Jellyfin.Server.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
jellyfin            | 2024-07-09T23:49:20.966109878Z    at Jellyfin.Server.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
jellyfin            | 2024-07-09T23:49:20.966163254Z    at Jellyfin.Server.Middleware.IpBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
jellyfin            | 2024-07-09T23:49:20.966217505Z    at Jellyfin.Server.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
jellyfin            | 2024-07-09T23:49:20.966272631Z    at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
jellyfin            | 2024-07-09T23:49:20.966329215Z    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
jellyfin            | 2024-07-09T23:49:20.966453176Z    at Jellyfin.Server.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
jellyfin            | 2024-07-09T23:49:20.966512385Z    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
jellyfin            | 2024-07-09T23:49:20.966566344Z    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
jellyfin            | 2024-07-09T23:49:20.966620012Z    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
jellyfin            | 2024-07-09T23:49:20.966674554Z    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
jellyfin            | 2024-07-09T23:49:20.966737264Z    at Jellyfin.Server.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
jellyfin            | 2024-07-09T23:49:20.966790640Z    at Jellyfin.Server.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
jellyfin            | 2024-07-09T23:49:20.966845474Z    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
jellyfin            | 2024-07-09T23:49:20.966898850Z    at Jellyfin.Server.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
jellyfin            | 2024-07-09T23:49:20.966952809Z    at Jellyfin.Server.Middleware.ExceptionMiddleware.Invoke(HttpContext context)



RE: Error when trying to view new TV Network from series - TheDreadPirate - 2024-07-10

Can you share your full log via pastebin?


RE: Error when trying to view new TV Network from series - SenorSmartyPants - 2024-07-10

https://pastebin.com/EZnJ10Dn


RE: Error when trying to view new TV Network from series - TheDreadPirate - 2024-07-10

There is definitely something wrong, but the logs don't clearly point to the database. It could be the database, just can't say for certain.

A good test would be to back up the /config directory, start a fresh instance and attempt to replicate the issue with the live TV channel.


RE: Error when trying to view new TV Network from series - SenorSmartyPants - 2024-07-10

Live tv channel isn't causing the issue I'm noticing.