truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.14k stars 617 forks source link

Sonarr Auth Method: External/None not working #11314

Closed vyruz1986 closed 1 year ago

vyruz1986 commented 1 year ago

App Name

Sonarr

SCALE Version

22.12.2

App Version

3.0.10.156_16.0.0

Application Events

2023-08-07 22:01:42
Scaled down replica set sonarr-c56c94489 to 0 from 1
2023-08-07 22:01:42
Deleted pod: sonarr-c56c94489-642xh
2023-08-07 21:59:44
Back-off restarting failed container
2023-08-07 21:59:31
Started container sonarr
2023-08-07 21:59:31
Created container sonarr
2023-08-07 21:59:28
Add eth0 [172.16.0.251/16] from ix-net
2023-08-07 21:59:28
Container image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" already present on machine
2023-08-07 21:59:27
Scaled up replica set sonarr-c56c94489 to 1
2023-08-07 21:59:27
Created pod: sonarr-c56c94489-642xh
2023-08-07 21:59:27
Successfully assigned ix-sonarr/sonarr-c56c94489-642xh to ix-truenas
2023-08-07 21:59:26
Scaled down replica set sonarr-6658d68647 to 0 from 1
2023-08-07 21:59:26
Deleted pod: sonarr-6658d68647-l8nv8
2023-08-07 21:57:20
Back-off restarting failed container
2023-08-07 21:57:09
Created container sonarr
2023-08-07 21:57:09
Started container sonarr
2023-08-07 21:57:07
Add eth0 [172.16.0.250/16] from ix-net
2023-08-07 21:57:07
Container image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" already present on machine
2023-08-07 21:57:05
Scaled up replica set sonarr-6658d68647 to 1
2023-08-07 21:57:05
Created pod: sonarr-6658d68647-l8nv8
2023-08-07 21:57:05
Successfully assigned ix-sonarr/sonarr-6658d68647-l8nv8 to ix-truenas
2023-08-07 21:57:00
Scaled down replica set sonarr-6b9d7854b8 to 0 from 1
2023-08-07 21:57:00
Deleted pod: sonarr-6b9d7854b8-qr8vx
2023-08-07 21:57:00
Stopping container sonarr
2023-08-07 21:27:18
Created container sonarr
2023-08-07 21:27:18
Started container sonarr
2023-08-07 21:27:15
Add eth0 [172.16.0.249/16] from ix-net
2023-08-07 21:27:15
Container image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" already present on machine
2023-08-07 21:27:14
Scaled up replica set sonarr-6b9d7854b8 to 1
2023-08-07 21:27:14
Created pod: sonarr-6b9d7854b8-qr8vx
2023-08-07 21:27:14
Successfully assigned ix-sonarr/sonarr-6b9d7854b8-qr8vx to ix-truenas
2023-08-07 21:27:13
Scaled down replica set sonarr-579bdcd5f to 0 from 1
2023-08-07 21:27:13
Deleted pod: sonarr-579bdcd5f-bttct
2023-08-07 21:27:13
Stopping container sonarr
2023-08-07 21:25:26
Created container sonarr
2023-08-07 21:25:26
Started container sonarr
2023-08-07 21:25:24
Add eth0 [172.16.0.248/16] from ix-net
2023-08-07 21:25:24
Container image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" already present on machine
2023-08-07 21:25:22
Scaled up replica set sonarr-579bdcd5f to 1
2023-08-07 21:25:22
Created pod: sonarr-579bdcd5f-bttct
2023-08-07 21:25:22
Successfully assigned ix-sonarr/sonarr-579bdcd5f-bttct to ix-truenas
2023-08-07 21:25:21
Scaled down replica set sonarr-64784bb66b to 0 from 1
2023-08-07 21:25:21
Deleted pod: sonarr-64784bb66b-b8wkb
2023-08-07 21:19:35
Back-off restarting failed container
2023-08-07 21:19:23
Started container sonarr
2023-08-07 21:19:22
Created container sonarr
2023-08-07 21:19:21
Add eth0 [172.16.0.247/16] from ix-net
2023-08-07 21:19:21
Container image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" already present on machine
2023-08-07 21:19:19
Scaled up replica set sonarr-64784bb66b to 1
2023-08-07 21:19:19
Created pod: sonarr-64784bb66b-b8wkb
2023-08-07 21:19:19
Successfully assigned ix-sonarr/sonarr-64784bb66b-b8wkb to ix-truenas
2023-08-07 21:19:16
Scaled down replica set sonarr-5b7df7b8d to 0 from 1
2023-08-07 21:19:16
Deleted pod: sonarr-5b7df7b8d-dqkqd
2023-08-07 21:17:31
Back-off restarting failed container
2023-08-07 21:17:23
Container image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" already present on machine
2023-08-07 21:17:18
Created container sonarr
2023-08-07 21:17:18
Started container sonarr
2023-08-07 21:17:13
Successfully pulled image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2" in 16.795781896s
2023-08-07 21:16:56
Add eth0 [172.16.0.246/16] from ix-net
2023-08-07 21:16:56
Pulling image "tccr.io/truecharts/sonarr:3.0.10.1567@sha256:f420ed0b9341a5241c2278d51a7f4f59635a9c3a5670ac893542fa59052e61b2"
2023-08-07 21:16:54
Scaled up replica set sonarr-5b7df7b8d to 1
2023-08-07 21:16:54
Created pod: sonarr-5b7df7b8d-dqkqd
2023-08-07 21:16:54
Successfully assigned ix-sonarr/sonarr-5b7df7b8d-dqkqd to ix-truenas
2023-08-07 21:16:53
Unable to attach or mount volumes: unmounted volumes=[persist-list-0], unattached volumes=[persist-list-1 shared tmp varlogs varrun config devshm persist-list-0]: timed out waiting for the condition
2023-08-07 21:16:04
Scaled down replica set sonarr-6c68858764 to 0 from 1
2023-08-07 21:16:04
Deleted pod: sonarr-6c68858764-fwc8t
2023-08-07 21:14:50
Successfully assigned ix-sonarr/sonarr-6c68858764-fwc8t to ix-truenas
2023-08-07 21:14:50
MountVolume.SetUp failed for volume "persist-list-0" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs localhost:/mnt/data1/Usenet/Complete /var/lib/kubelet/pods/444a434e-ea65-4fa5-8e11-c78a11f151f0/volumes/kubernetes.io~nfs/persist-list-0 Output: mount.nfs: access denied by server while mounting localhost:/mnt/data1/Usenet/Complete
2023-08-07 21:14:48
Successfully provisioned volume pvc-68f2c397-5f1f-457b-9ca0-9bd84a57448e
2023-08-07 21:14:48
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.
2023-08-07 21:14:47
External provisioner is provisioning volume for claim "ix-sonarr/sonarr-config"
2023-08-07 21:14:47
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
2023-08-07 21:14:47
Scaled up replica set sonarr-6c68858764 to 1
2023-08-07 21:14:47
Created pod: sonarr-6c68858764-fwc8t
2023-08-07 21:14:47
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.

Application Logs

[Info] Bootstrap: Starting Sonarr - /app/Sonarr.exe - Version 3.0.10.1567
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Checking database for required migrations data source=/config/sonarr.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Checking database for required migrations data source=/config/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController:   http://*:8989/
[Info] SonarrBootstrapper: Starting Web Server

[Fatal] ConsoleApp: EPIC FAIL!

[v3.0.10.1567] TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Extensions.Pipelines.IRegisterNancyPipeline ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Authentication.EnableAuthInNancy ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Authentication.IAuthenticationService ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Authentication.AuthenticationService ---> System.ArgumentException: Requested value 'External' was not found.
  at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x0017a] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at NzbDrone.Core.Configuration.ConfigFileProvider.GetValueEnum[T] (System.String key, T defaultValue, System.Boolean persist) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Configuration\ConfigFileProvider.cs:247
  at NzbDrone.Core.Configuration.ConfigFileProvider.get_AuthenticationMethod () [0x00024] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Configuration\ConfigFileProvider.cs:178
  at Sonarr.Http.Authentication.AuthenticationService..ctor (NzbDrone.Core.Configuration.IConfigFileProvider configFileProvider, NzbDrone.Core.Authentication.IUserService userService) [0x00018] in C:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\Authentication\AuthenticationService.cs:44
  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00127] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3555
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00135] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3562
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3479
  at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0002c] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2734
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer.Resolve (System.Type resolveType, System.String name) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:1456
  at NzbDrone.Common.Composition.Container+<>c__DisplayClass12_0.<CreateSingletonImplementationFactory>b__0 (TinyIoC.TinyIoCContainer c, TinyIoC.NamedParameterOverloads p) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Composition\Container.cs:92
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2501
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00011] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2505
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x000ba] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3530
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x000fa] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3543
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3479
  at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0002c] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2734
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer.Resolve (System.Type resolveType, System.String name) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:1456
  at NzbDrone.Common.Composition.Container+<>c__DisplayClass12_0.<CreateSingletonImplementationFactory>b__0 (TinyIoC.TinyIoCContainer c, TinyIoC.NamedParameterOverloads p) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Composition\Container.cs:92
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2501
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00011] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2505
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer+<>c__DisplayClass134_0.<ResolveAllInternal>b__2 (TinyIoC.TinyIoCContainer+TypeRegistration registration) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3644
  at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00048] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.Enumerable+<CastIterator>d__34`1[TResult].MoveNext () [0x0005f] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Int32& length) [0x0009f] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00022] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x00000] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <f6c405b973804b5c804e7e759353765f>:0
  at Sonarr.Http.SonarrBootstrapper.RegisterPipelines (Nancy.Bootstrapper.IPipelines pipelines) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\SonarrBootstrapper.cs:42
  at Sonarr.Http.SonarrBootstrapper.ApplicationStartup (TinyIoC.TinyIoCContainer container, Nancy.Bootstrapper.IPipelines pipelines) [0x0001c] in C:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\SonarrBootstrapper.cs:35
  at Nancy.Bootstrapper.NancyBootstrapperBase`1[TContainer].Initialise () [0x00169] in <e31b230dbd29407fadcc55713e0bbd0f>:0
  at Nancy.Owin.NancyMiddleware.UseNancy (Nancy.Owin.NancyOptions options) [0x0002c] in <e31b230dbd29407fadcc55713e0bbd0f>:0
  at Owin.AppBuilderExtensions.UseNancy (Owin.IAppBuilder builder, Nancy.Owin.NancyOptions options) [0x00012] in <b93b726fd93f439f882ff4ac1e2a6fad>:0
  at NzbDrone.Host.Owin.MiddleWare.NancyMiddleWare.Attach (Owin.IAppBuilder appBuilder) [0x00037] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\MiddleWare\NancyMiddleWare.cs:26
  at NzbDrone.Host.Owin.OwinAppFactory.BuildApp (Owin.IAppBuilder appBuilder) [0x00069] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:79
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext context) [0x000dc] in <5b0de58b30614220898429847dbda03a>:0
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00059] in <5b0de58b30614220898429847dbda03a>:0
  at NzbDrone.Host.Owin.OwinAppFactory.CreateApp (System.Collections.Generic.List`1[T] urls) [0x00050] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:53
  at NzbDrone.Host.Owin.OwinHostController.StartServer () [0x00061] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\OwinHostController.cs:37
  at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00065] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:69
  at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
  at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42

EPIC FAIL! TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Extensions.Pipelines.IRegisterNancyPipeline ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Authentication.EnableAuthInNancy ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Authentication.IAuthenticationService ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: Sonarr.Http.Authentication.AuthenticationService ---> System.ArgumentException: Requested value 'External' was not found.
  at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x0017a] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at NzbDrone.Core.Configuration.ConfigFileProvider.GetValueEnum[T] (System.String key, T defaultValue, System.Boolean persist) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Configuration\ConfigFileProvider.cs:247
  at NzbDrone.Core.Configuration.ConfigFileProvider.get_AuthenticationMethod () [0x00024] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Configuration\ConfigFileProvider.cs:178
  at Sonarr.Http.Authentication.AuthenticationService..ctor (NzbDrone.Core.Configuration.IConfigFileProvider configFileProvider, NzbDrone.Core.Authentication.IUserService userService) [0x00018] in C:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\Authentication\AuthenticationService.cs:44
  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00127] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3555
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00135] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3562
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3479
  at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0002c] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2734
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer.Resolve (System.Type resolveType, System.String name) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:1456
  at NzbDrone.Common.Composition.Container+<>c__DisplayClass12_0.<CreateSingletonImplementationFactory>b__0 (TinyIoC.TinyIoCContainer c, TinyIoC.NamedParameterOverloads p) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Composition\Container.cs:92
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2501
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00011] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2505
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x000ba] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3530
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x000fa] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3543
  at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3479
  at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x0002c] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2734
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer.Resolve (System.Type resolveType, System.String name) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:1456
  at NzbDrone.Common.Composition.Container+<>c__DisplayClass12_0.<CreateSingletonImplementationFactory>b__0 (TinyIoC.TinyIoCContainer c, TinyIoC.NamedParameterOverloads p) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Composition\Container.cs:92
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2501
   --- End of inner exception stack trace ---
  at TinyIoC.TinyIoCContainer+DelegateFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00011] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:2505
  at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TinyIoCContainer+TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00026] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3226
  at TinyIoC.TinyIoCContainer+<>c__DisplayClass134_0.<ResolveAllInternal>b__2 (TinyIoC.TinyIoCContainer+TypeRegistration registration) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\TinyIoC.cs:3644
  at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00048] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.Enumerable+<CastIterator>d__34`1[TResult].MoveNext () [0x0005f] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Collections.Generic.EnumerableHelpers.ToArray[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Int32& length) [0x0009f] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x00022] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x00000] in <f6c405b973804b5c804e7e759353765f>:0
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <f6c405b973804b5c804e7e759353765f>:0
  at Sonarr.Http.SonarrBootstrapper.RegisterPipelines (Nancy.Bootstrapper.IPipelines pipelines) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\SonarrBootstrapper.cs:42
  at Sonarr.Http.SonarrBootstrapper.ApplicationStartup (TinyIoC.TinyIoCContainer container, Nancy.Bootstrapper.IPipelines pipelines) [0x0001c] in C:\BuildAgent\work\63739567f01dbcc2\src\Sonarr.Http\SonarrBootstrapper.cs:35
  at Nancy.Bootstrapper.NancyBootstrapperBase`1[TContainer].Initialise () [0x00169] in <e31b230dbd29407fadcc55713e0bbd0f>:0
  at Nancy.Owin.NancyMiddleware.UseNancy (Nancy.Owin.NancyOptions options) [0x0002c] in <e31b230dbd29407fadcc55713e0bbd0f>:0
  at Owin.AppBuilderExtensions.UseNancy (Owin.IAppBuilder builder, Nancy.Owin.NancyOptions options) [0x00012] in <b93b726fd93f439f882ff4ac1e2a6fad>:0
  at NzbDrone.Host.Owin.MiddleWare.NancyMiddleWare.Attach (Owin.IAppBuilder appBuilder) [0x00037] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\MiddleWare\NancyMiddleWare.cs:26
  at NzbDrone.Host.Owin.OwinAppFactory.BuildApp (Owin.IAppBuilder appBuilder) [0x00069] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:79
  at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp (Microsoft.Owin.Hosting.Engine.StartContext context) [0x000dc] in <5b0de58b30614220898429847dbda03a>:0
  at Microsoft.Owin.Hosting.Engine.HostingEngine.Start (Microsoft.Owin.Hosting.Engine.StartContext context) [0x00059] in <5b0de58b30614220898429847dbda03a>:0
  at NzbDrone.Host.Owin.OwinAppFactory.CreateApp (System.Collections.Generic.List`1[T] urls) [0x00050] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:53
  at NzbDrone.Host.Owin.OwinHostController.StartServer () [0x00061] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Owin\OwinHostController.cs:37
  at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00065] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\ApplicationServer.cs:69
  at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007f] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Router.cs:56
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:78
  at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x0007f] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:41
  at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00030] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Console\ConsoleApp.cs:42
Press enter to exit..

Application Configuration

Auth Method: External/None

Describe the bug

Sonarr is not starting because of an invalid AuthenticationMethod config parameter.

From kubectl describe deploy/sonarr:

...
    Environment:
      ...
      SONARR__AUTHENTICATION_METHOD: External
...

The External value is not yet supported in Sonarr version 3.0.10.1567, only None, Basic and Forms are supported in that version. The External value was added in the develop branch (in this commit), but so far is only available in the 4.x beta releases.

To Reproduce

  1. Install Sonar
  2. Configure Auth Method: 'External/None'

Expected Behavior

'External/None' option should be available for a currently released sonarr version. The External value seems to be added in an upcoming release, but is not available as of today.

Screenshots

image

Additional Context

N/A

I've read and agree with the following

tblaudez commented 1 year ago

Any update on this issue ? I lost my Sonarr password and I am now locked out of my instance since the None authentication is not available anymore and the External one behaves like described in this issue.

lucaci32u4 commented 1 year ago

I am having the exact same issue. I'd like to run an instance with external authentication (by a reverse proxy) but setting auth to External/None does not work.

xstar97 commented 1 year ago

Sonarr is on v3, leave as the default value as in-app settings.

Make the change from the gui itself.

You need to mount the app and edit the config.xml and remove/ blank the auth section from the xml.

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists