aleksilassila / reiverr

Reiverr is a clean combined interface for Jellyfin, TMDB, Radarr and Sonarr, as well as a replacement to Overseerr
GNU Affero General Public License v3.0
1.43k stars 44 forks source link

Jellyfin Library not loading #65

Closed Pfuenzle closed 1 year ago

Pfuenzle commented 1 year ago

I set up reiverr a day ago with the 0.3.0, and forgot about it, since my library did not load. Also, when clicking on a movie on the homepage, the detail page opens, but no buttons are revealed, instead there is a forever loading animation. Now, using the new 0.4.0, I get the same error

I set up sonarr, radarr and jellyfin with the correct urls and API-Keys (checked multiple times and have other tools set up with those keys). (I am running sonarr v4 and jellyfin 10.8.10)

I get no error logs, neither in jellyfin or in reiverr.

Jellyfin logs:

jellyfin        | [14:20:17] [INF] [11] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - -
jellyfin        | [14:20:17] [INF] [38] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - -
jellyfin        | [14:20:17] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - -
jellyfin        | [14:20:17] [INF] [18] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - -
jellyfin        | [14:20:17] [INF] [11] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [41] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [18] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [38] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - - - 204 - - 2.6780ms
jellyfin        | [14:20:17] [INF] [11] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - - - 204 - - 2.7776ms
jellyfin        | [14:20:17] [INF] [18] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - - - 204 - - 2.7037ms
jellyfin        | [14:20:17] [INF] [38] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users - - - 204 - - 3.0764ms
jellyfin        | [14:20:17] [INF] [40] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users application/json -
jellyfin        | [14:20:17] [INF] [40] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [40] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:17] [INF] [40] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetUsers", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Model.Dto.UserDto]]] GetUsers(System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean]) on controller Jellyfin.Api.Controllers.UserController (Jellyfin.Api).
jellyfin        | [14:20:17] [INF] [40] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.Enumerable+SelectIPartitionIterator`2[[Jellyfin.Data.Entities.User, Jellyfin.Data, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[MediaBrowser.Model.Dto.UserDto, MediaBrowser.Model, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null]]'.
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api) in 51.9928ms
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Users application/json - - 200 - application/json;+charset=utf-8 58.4896ms
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users application/json -
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetUsers", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Model.Dto.UserDto]]] GetUsers(System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean]) on controller Jellyfin.Api.Controllers.UserController (Jellyfin.Api).
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.Enumerable+SelectIPartitionIterator`2[[Jellyfin.Data.Entities.User, Jellyfin.Data, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[MediaBrowser.Model.Dto.UserDto, MediaBrowser.Model, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null]]'.
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api) in 2.1872ms
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:17] [INF] [32] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Users application/json - - 200 - application/json;+charset=utf-8 4.2985ms
jellyfin        | [14:20:17] [INF] [26] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users application/json -
jellyfin        | [14:20:17] [INF] [26] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:17] [INF] [26] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:17] [INF] [26] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetUsers", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Model.Dto.UserDto]]] GetUsers(System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean]) on controller Jellyfin.Api.Controllers.UserController (Jellyfin.Api).
jellyfin        | [14:20:17] [INF] [26] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.Enumerable+SelectIPartitionIterator`2[[Jellyfin.Data.Entities.User, Jellyfin.Data, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[MediaBrowser.Model.Dto.UserDto, MediaBrowser.Model, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null]]'.
jellyfin        | [14:20:18] [INF] [26] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api) in 2.4163ms
jellyfin        | [14:20:18] [INF] [26] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [26] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Users application/json - - 200 - application/json;+charset=utf-8 4.5741ms
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users application/json -
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetUsers", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Model.Dto.UserDto]]] GetUsers(System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean]) on controller Jellyfin.Api.Controllers.UserController (Jellyfin.Api).
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.Enumerable+SelectIPartitionIterator`2[[Jellyfin.Data.Entities.User, Jellyfin.Data, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[MediaBrowser.Model.Dto.UserDto, MediaBrowser.Model, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null]]'.
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api) in 1.9545ms
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.UserController.GetUsers (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Users application/json - - 200 - application/json;+charset=utf-8 4.1220ms
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items?hasTmdbId=true&recursive=true&includeItemTypes=Movie%2CSeries&fields=ProviderIds - -
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items?hasTmdbId=true&recursive=true&includeItemTypes=Movie%2CSeries&fields=ProviderIds - - - 204 - - 0.3222ms
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Shows/NextUp?userId=64d984c37b404dda894896ab1566947c&fields=ProviderIds - -
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items?recursive=true&includeItemTypes=Episode - -
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Shows/NextUp?userId=64d984c37b404dda894896ab1566947c&fields=ProviderIds - - - 204 - - 0.3170ms
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items?recursive=true&includeItemTypes=Episode - - - 204 - - 0.3630ms
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items/Resume?mediaTypes=Video&fields=ProviderIds - -
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 OPTIONS http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items/Resume?mediaTypes=Video&fields=ProviderIds - - - 204 - - 0.4416ms
jellyfin        | [14:20:18] [INF] [40] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items?recursive=true&includeItemTypes=Episode application/json -
jellyfin        | [14:20:18] [INF] [40] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [40] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.ItemsController.GetItemsByUserId (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items/Resume?mediaTypes=Video&fields=ProviderIds application/json -
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Users/64d984c37b404dda894896ab1566947c/Items?hasTmdbId=true&recursive=true&includeItemTypes=Movie%2CSeries&fields=ProviderIds application/json -
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [32] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Shows/NextUp?userId=64d984c37b404dda894896ab1566947c&fields=ProviderIds application/json -
jellyfin        | [14:20:18] [INF] [32] Microsoft.AspNetCore.Cors.Infrastructure.CorsService: CORS policy execution successful.
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.ItemsController.GetResumeItems (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.ItemsController.GetItemsByUserId (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [32] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.TvShowsController.GetNextUp (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [16] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetResumeItems", controller = "Items"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[MediaBrowser.Model.Querying.QueryResult`1[MediaBrowser.Model.Dto.BaseItemDto]] GetResumeItems(System.Guid, System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.String, System.Nullable`1[System.Guid], MediaBrowser.Model.Querying.ItemFields[], System.String[], System.Nullable`1[System.Boolean], System.Nullable`1[System.Int32], MediaBrowser.Model.Entities.ImageType[], Jellyfin.Data.Enums.BaseItemKind[], Jellyfin.Data.Enums.BaseItemKind[], Boolean, System.Nullable`1[System.Boolean], Boolean) on controller Jellyfin.Api.Controllers.ItemsController (Jellyfin.Api).
jellyfin        | [14:20:18] [INF] [32] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetNextUp", controller = "TvShows"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[MediaBrowser.Model.Querying.QueryResult`1[MediaBrowser.Model.Dto.BaseItemDto]] GetNextUp(System.Nullable`1[System.Guid], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], MediaBrowser.Model.Querying.ItemFields[], System.String, System.Nullable`1[System.Guid], System.Nullable`1[System.Boolean], System.Nullable`1[System.Int32], MediaBrowser.Model.Entities.ImageType[], System.Nullable`1[System.Boolean], System.Nullable`1[System.DateTime], Boolean, Boolean, Boolean) on controller Jellyfin.Api.Controllers.TvShowsController (Jellyfin.Api).
jellyfin        | [14:20:18] [INF] [41] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetItemsByUserId", controller = "Items"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[MediaBrowser.Model.Querying.QueryResult`1[MediaBrowser.Model.Dto.BaseItemDto]] GetItemsByUserId(System.Guid, System.String, System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.String, System.Nullable`1[System.Int32], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], MediaBrowser.Model.Entities.LocationType[], MediaBrowser.Model.Entities.LocationType[], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Double], System.Nullable`1[System.Double], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Guid[], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Boolean], System.String, Jellyfin.Data.Enums.SortOrder[], System.Nullable`1[System.Guid], MediaBrowser.Model.Querying.ItemFields[], Jellyfin.Data.Enums.BaseItemKind[], Jellyfin.Data.Enums.BaseItemKind[], MediaBrowser.Model.Querying.ItemFilter[], System.Nullable`1[System.Boolean], System.String[], MediaBrowser.Model.Entities.ImageType[], System.String[], System.Nullable`1[System.Boolean], System.String[], System.String[], System.String[], Int32[], System.Nullable`1[System.Boolean], System.Nullable`1[System.Int32], MediaBrowser.Model.Entities.ImageType[], System.String, System.Guid[], System.String[], System.String[], System.String[], System.Guid[], System.Guid[], System.Guid[], System.Guid[], System.String[], System.Guid[], System.Guid[], MediaBrowser.Model.Entities.VideoType[], System.String, System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Boolean], MediaBrowser.Model.Entities.SeriesStatus[], System.String, System.String, System.String, System.Guid[], System.Guid[], Boolean, System.Nullable`1[System.Boolean]) on controller Jellyfin.Api.Controllers.ItemsController (Jellyfin.Api).
jellyfin        | [14:20:18] [INF] [40] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetItemsByUserId", controller = "Items"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[MediaBrowser.Model.Querying.QueryResult`1[MediaBrowser.Model.Dto.BaseItemDto]] GetItemsByUserId(System.Guid, System.String, System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.String, System.Nullable`1[System.Int32], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], MediaBrowser.Model.Entities.LocationType[], MediaBrowser.Model.Entities.LocationType[], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Double], System.Nullable`1[System.Double], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Guid[], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Boolean], System.String, Jellyfin.Data.Enums.SortOrder[], System.Nullable`1[System.Guid], MediaBrowser.Model.Querying.ItemFields[], Jellyfin.Data.Enums.BaseItemKind[], Jellyfin.Data.Enums.BaseItemKind[], MediaBrowser.Model.Querying.ItemFilter[], System.Nullable`1[System.Boolean], System.String[], MediaBrowser.Model.Entities.ImageType[], System.String[], System.Nullable`1[System.Boolean], System.String[], System.String[], System.String[], Int32[], System.Nullable`1[System.Boolean], System.Nullable`1[System.Int32], MediaBrowser.Model.Entities.ImageType[], System.String, System.Guid[], System.String[], System.String[], System.String[], System.Guid[], System.Guid[], System.Guid[], System.Guid[], System.String[], System.Guid[], System.Guid[], MediaBrowser.Model.Entities.VideoType[], System.String, System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Boolean], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Int32], System.Nullable`1[System.Boolean], MediaBrowser.Model.Entities.SeriesStatus[], System.String, System.String, System.String, System.Guid[], System.Guid[], Boolean, System.Nullable`1[System.Boolean]) on controller Jellyfin.Api.Controllers.ItemsController (Jellyfin.Api).
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Sessions - -
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetSessions", controller = "Session"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Session.SessionInfo]] GetSessions(System.Nullable`1[System.Guid], System.String, System.Nullable`1[System.Int32]) on controller Jellyfin.Api.Controllers.SessionController (Jellyfin.Api).
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.OrderedEnumerable`2[[MediaBrowser.Controller.Session.SessionInfo, MediaBrowser.Controller, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api) in 0.3549ms
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api)'
jellyfin        | [14:20:18] [INF] [36] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Sessions - - - 200 - application/json;+charset=utf-8 2.2089ms
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Sessions - -
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api)'
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetSessions", controller = "Session"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Session.SessionInfo]] GetSessions(System.Nullable`1[System.Guid], System.String, System.Nullable`1[System.Int32]) on controller Jellyfin.Api.Controllers.SessionController (Jellyfin.Api).
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.OrderedEnumerable`2[[MediaBrowser.Controller.Session.SessionInfo, MediaBrowser.Controller, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api) in 0.2413ms
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api)'
jellyfin        | [14:20:19] [INF] [26] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Sessions - - - 200 - application/json;+charset=utf-8 2.5071ms
jellyfin        | [14:20:19] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Webhook Item Added Notifier
jellyfin        | [14:20:19] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task ItemAddedScheduledTask
jellyfin        | [14:20:19] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Webhook Item Added Notifier
jellyfin        | [14:20:19] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: Webhook Item Added Notifier Completed after 0 minute(s) and 0 seconds
jellyfin        | [14:20:19] [INF] [36] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 GET http://myjellyfin.com.com/Sessions - -
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executing endpoint 'Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api)'
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Route matched with {action = "GetSessions", controller = "Session"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult`1[System.Collections.Generic.IEnumerable`1[MediaBrowser.Controller.Session.SessionInfo]] GetSessions(System.Nullable`1[System.Guid], System.String, System.Nullable`1[System.Int32]) on controller Jellyfin.Api.Controllers.SessionController (Jellyfin.Api).
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor: Executing OkObjectResult, writing value of type 'System.Linq.OrderedEnumerable`2[[MediaBrowser.Controller.Session.SessionInfo, MediaBrowser.Controller, Version=10.8.10.0, Culture=neutral, PublicKeyToken=null],[System.DateTime, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker: Executed action Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api) in 0.2456ms
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Routing.EndpointMiddleware: Executed endpoint 'Jellyfin.Api.Controllers.SessionController.GetSessions (Jellyfin.Api)'
jellyfin        | [14:20:20] [INF] [18] Microsoft.AspNetCore.Hosting.Diagnostics: Request finished HTTP/1.1 GET http://myjellyfin.com.com/Sessions - - - 200 - application/json;+charset=utf-8 2.6013ms

The reiverr logs are completely empty (except the genre stuff)

reiverr  | > reiverr@0.4.0 deploy
reiverr  | > PORT=9494 node build/
reiverr  |
reiverr  | Listening on 0.0.0.0:9494
reiverr  | Error: Not found: /genres/documentary.jpg
reiverr  |     at resolve (file:///usr/src/app/build/server/index.js:3925:18)
reiverr  |     at resolve (file:///usr/src/app/build/server/index.js:3800:34)
reiverr  |     at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61)
reiverr  |     at respond (file:///usr/src/app/build/server/index.js:3798:43)

I am accessing reiverr using the port with http, and jellyfin, sonarr and radarr using a reverse proxy. For sonarr and radarr, I have all non-API endpoints behind a nginx auth request, so they are not accessible. Is reiverr accessing some non-api endpoints? I just now tried it without the SONARR and RADARR env vars (since they are now optional?), and it still does not load anything other than the popular movie list from Tmdb. What could this be?

Edit: Also tried it with https instead of the port and with correct cors headers, but still the same result. Browser console gives no errors.

aleksilassila commented 1 year ago

Make sure the jellyfin url is accessible from your browser. For example you can't use the docker's internal addresses, since the browser makes the requests. Also, can you check if you get any errors in your browser (F12 or right click > inspect element > console) and add them here? Either in the console tab of the developer tools or the network tab.

HelamanWarrior commented 1 year ago

I had the same problem, I had to restart the container a few times and it eventually worked. I've been using my reversed proxied URL, sometimes it works, sometimes it doesn't.

Edit: This may have just been an issue with my Jellyfin URL, everything seems to work just fine now. #67

aleksilassila commented 1 year ago

This might be an issue related to caching, can somebody confirm whether or not doing a full page refresh (ctrl + shift + r) fixes the issue temporarily?

HelamanWarrior commented 1 year ago

It maybe related to issue #42 After performing a full page refresh the library fails to load and I receive many CORS errors that weren't previously present. But when I reload normally, I don't receive those errors and the page loads as expected.

cors errors

aleksilassila commented 1 year ago

It maybe related to issue #42 After performing a full page refresh the library fails to load and I receive many CORS errors that weren't previously present. But when I reload normally, I don't receive those errors and the page loads as expected.

cors errors

I get the same errors, but the errors in your screenshot seem to only apply to a handful of requests to the TMDB. Iirc it's not involved in fetching the library.

MenacingMight commented 1 year ago

I am having the same issue, but my errors are different. It seems there some type errors and errors when trying to get user.

Screenshot 2023-08-15 at 10 20 47 PM
aleksilassila commented 1 year ago

@MenacingMight double check that your environment variables are alright, your client tries to access http://192.168.1.75:9494/192.168.1.74:8096/Users for some reason. Also the requests to radarr & sonarr are refused, check that those base urls are accessbile from your browser.

Pfuenzle commented 1 year ago

Make sure the jellyfin url is accessible from your browser. For example you can't use the docker's internal addresses, since the browser makes the requests. Also, can you check if you get any errors in your browser (F12 or right click > inspect element > console) and add them here? Either in the console tab of the developer tools or the network tab.

Jellyfin, Sonarr and Radarr are all accessible with the browser and via the api on my device. I already checked the devconsole, no logs other then the occasional TMDB error (like written above).

I am not using the docker IPs, but fully set up domain names with Reverse Proxy, so IPs should not be a problem. Also, in the network tab of the devtools, I can see successful requests to the Jellyfin user/movie/series endpoint, but the library tab is still loading (even with cache disabled). The data returned from those endpoints are in the 20-30MB range (the Items endpoint is 126MB), is this a possible problem? Is there a way to enable some kind of debug log?

edit: Looking at the network tab, the data from the endpoint seems to be transmitted find (although one by one, which makes the initial load take 60 seconds or more), but after this the library tab is still unpopulated.

Pfuenzle commented 1 year ago

I left the tab open in the background and noticed, that it now hogs my whole CPU at 100%, but still nothing is showing. Is it processing the library data in the background? If so, it seems that reiverr has a problem with huge libraries, at least thats the only thing I can think of. I tried it with my Surface Pro 7 and my desktop with a i7-9770k, both with Firefox and Chrome, same result. After about 8 minutes with an unusable PC, some devconsole logs appeared with json info of some movies and it downloaded more images from TMDB. Does it download metadata for all entries at once? That could take a while :D I think for bigger libraries it would make sense to parse the library on the server, or at least load the images on-demand instead of once at the beginning.

aleksilassila commented 1 year ago

@Pfuenzle Okay, well the size of the library is definitely the problem here then. How big library do you exactly have? Currently it tries to load the whole library at once and cache it on the browser, which apparently doesn't work with bigger libraries. I'll need to look if I can optimize this somehow.

Pfuenzle commented 1 year ago

About 2k shows and about 11k movies. Yeah, that wont work here. I couldnt look at the TMDB queries as my PC was frozen, but it seemed like they were for images&metadata? Couldnt this data get requested from Jellyfin if needed? This way, it would put less strain on TMDB's servers/your API-Key and there is not really a need to cache the data, since it was already requested by Jellyfin.

Maybe its enough if the list of series/movies gets requested once and then is stored locally for things like recommendations or other features. Otherwise, would require a lot of work to handle stuff like this on the server? With this, the API-Key would not be exposed to the user if the server sets it up kind of like a proxy setup User -> reiverr/getLibraries -> jellyfin/getLibraries Also, then the items list could be cached for more speed, as its a very expensive query to get the whole library, at least for bigger libraries with many single episodes.

If the issue still persists, even without the thousands of TMDB queries, doing something like this server-side is the only solution I can think of

BTW, if you need testing with this, Im happy to help or I could provide you with an API key to test.

aleksilassila commented 1 year ago

Yeah, I'll probably have to actually think through a lot of the design choices to tackle this. First I'll need a good solution to caching, as well as probably redesign the library page to use posters instead of cards. Currently, because jellyfin only stores posters, the card backdrops have to be fetched from tmdb, which doesn't work if there are more of them than what can be cached. Also every show

Also, I created a separate issue for optimizing for larger libraries (#68). Those interested can track the progress of that in the taskboard.

GaetanPTX commented 1 year ago

image

MenacingMight commented 1 year ago

@MenacingMight double check that your environment variables are alright, your client tries to access http://192.168.1.75:9494/192.168.1.74:8096/Users for some reason. Also the requests to radarr & sonarr are refused, check that those base urls are accessbile from your browser.

Ok I fixed my variables, but Jellyfin still does not work. Here are the errors I am getting now.

Screenshot 2023-08-17 at 3 16 50 PM
aleksilassila commented 1 year ago

@MenacingMight what is the aws url?

MenacingMight commented 1 year ago

@MenacingMight what is the aws url?

The first error is related to Reiverr, but the others are extension related.

Also here is my container logs Error: Not found: /genres/documentary.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/drama.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/family.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/fantasy.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:447:9) Error: Not found: /genres/history.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/music.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:447:9) Error: Not found: /genres/horror.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:447:9) Error: Not found: /genres/mystery.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/romance.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:447:9) Error: Not found: /genres/scienceFiction.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/tvMovie.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:447:9) Error: Not found: /genres/thriller.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) at runNextTicks (node:internal/process/task_queues:60:5) at process.processImmediate (node:internal/timers:447:9) Error: Not found: /genres/war.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43) Error: Not found: /genres/western.jpg at resolve (file:///usr/src/app/build/server/index.js:3925:18) at resolve (file:///usr/src/app/build/server/index.js:3800:34) at #options.hooks.handle (file:///usr/src/app/build/server/index.js:3970:61) at respond (file:///usr/src/app/build/server/index.js:3798:43)

MenacingMight commented 1 year ago

Update I no longer get the runtime.lastError. Now I get the following and Jellyfin is still not working. For context I am running it on a docker container and here is my docker compose

version: '3.8'

name: reiverr

services:
  reiverr:
    image: ghcr.io/aleksilassila/reiverr:latest
    container_name: reiverr
    networks:
      network:
        ipv4_address: 192.168.1.75
    ports:
      - 9494:9494
    environment:
      PUBLIC_JELLYFIN_API_KEY: myapi
      PUBLIC_JELLYFIN_BASE_URL: my_url
    restart: unless-stopped

networks:
  network:
    name: br0
    external: true
Screenshot 2023-08-17 at 6 50 21 PM
aleksilassila commented 1 year ago

@MenacingMight that image loading error is not related the issue. How big is your jellyfin library?

MenacingMight commented 1 year ago

@MenacingMight that image loading error is not related the issue. How big is your jellyfin library?

About 200 Movies and TV shows combined. I saw that others it took others a long time to load the first time so I guess I can wait till tmr and see.

NRodriguezcuellar commented 1 year ago

I had the same problem, the documentation states that the environment variable should be PUBLIC_JELLYFIN_BASE_URL but it only works for me when I use PUBLIC_JELLYFIN_URL. It should work either way according to this line https://github.com/aleksilassila/reiverr/blob/4d84337f7d5d707887f248446e4685e89e15608d/src/lib/constants.ts#L17 but it fixed it for me anyhow

MenacingMight commented 1 year ago

PUBLIC_JELLYFIN_URL

Ok that fixed it. Thank you. I can connect to Jellyfin now, but none of the content images load. I think it is because it is trying to use jellyfin.home instead of the ip and port. When I use the ip and port the images open in my browser.

Screenshot 2023-08-18 at 11 17 48 AM
aleksilassila commented 1 year ago

I'm assuming that the v0.7.0 should've fixed issues regarding not being able to load large jellyfin libraries. Please reopen or comment if issues with library not loading persist.