Readarr will not start up

I am trying to run the Readarr app on Scale and the app just stays in the deploying phase.

The following error keeps looping in the log, and all calls to the service are also giving back the following exception.

[v0.4.16.2793] System.InvalidCastException: Unable to cast object of type 'DryIoc.ScopedItemException' to type 'Microsoft.AspNetCore.Authorization.IAuthorizationHandler'.
2025-06-04 08:29:57.837261+00:00at DryIoc.Converter.DoConvertMany[R](Object[] items) in /_/src/DryIoc/Container.cs:line 3988
2025-06-04 08:29:57.837269+00:00at DryIoc.Interpreter.TryInterpretAndUnwrapContainerException(IResolverContext r, Expression expr, Object& result) in /_/src/DryIoc/Container.cs:line 3073
2025-06-04 08:29:57.837276+00:00at DryIoc.Container.ResolveAndCache(Int32 serviceTypeHash, Type serviceType, IfUnresolved ifUnresolved) in /_/src/DryIoc/Container.cs:line 434
2025-06-04 08:29:57.837283+00:00at DryIoc.Container.System.IServiceProvider.GetService(Type serviceType) in /_/src/DryIoc/Container.cs:line 344
2025-06-04 08:29:57.837289+00:00at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
2025-06-04 08:29:57.837296+00:00at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
2025-06-04 08:29:57.837302+00:00at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2025-06-04 08:29:57.837308+00:00at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2025-06-04 08:29:57.837315+00:00at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
2025-06-04 08:29:57.837321+00:002025-06-04T08:29:57.837321909Z

I have created an issue on github. But it seems to be something with the TrueNAS app.
I am not the only one with the issue, because I found this on Reddit, but with no solution to fix the issue.


TrueNAS Scale 25.04.1
App Version: v0.4.16.2793
Version: v1.2.2

1 Like
2 Likes

Fantastic @stavros-k! I did not find that issue.
But I could not get the ENV var to work, so I just have to wait. :slight_smile: