Page 1 of 1

Sonarr keeps crashing after starting

Posted: Tue Nov 29, 2016 1:15 am
by JeremyCreekit
Hi folks. My Sonarr starts as usual but it crashes a minute or so after starting. Any idea why?

I am running ADM 2.6.5.R9N1, BIOS version 0.21 / 1.0019 and I have Sonarr 2.0.0.4326 installed.

My media path does not have any spaces in it (\media\Series) so it seems unrelated to this post: viewtopic.php?f=147&t=7944

I also used the 'htop' command to monitor my NAS' memory usage while starting the app and it did not spike or run out of memory as suggested in this post: https://forums.sonarr.tv/t/sonarr-keeps ... tart/12608

I also came across this post but I am not technical enough to understand the details: https://forums.sonarr.tv/t/sonarr-on-li ... secs/12254

Thanks!

[UPDATE] I've tried retoring my nzbdrone.db from a backup without success. It still crashes when the library starts updating. I've even uninstalled Sonarr entirely and started again from scratch. As soon as I started adding series to the library though, it crashed again. Please help! :(

[UPDATE] Some are implying that the issue is with mono 4.6 which Sonarr relies on. Is there any way of reverting to an earlier version of mono in ADM? Others suggest reverting 4.2 (e.g. https://forums.sonarr.tv/t/sonarr-2-0-0 ... es/12325/2)

Re: Sonarr keeps crashing after starting

Posted: Tue Nov 29, 2016 1:31 am
by JeremyCreekit
Here are the logs from sonarr.txt in the app's logs folder for today:
16-11-28 17:42:34.9|Error|TaskExtensions|Task Error

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetConfig (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetStatus () [0x0000c] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck+<>c.<Check>b__3_0 (NzbDrone.Core.Download.IDownloadClient v) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.Check () [0x0004b] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__7_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (System.Func`2[T,TResult] predicate) [0x00030] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass4_1`1[TEvent].<PublishEvent>b__0 () [0x00035] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Threading.Tasks.Task.Execute () [0x00016] in <1170fb08300b4d0db71c1d1db8555768>:0

16-11-28 17:43:08.4|Info|Bootstrap|Starting Sonarr - /volume1/.@plugins/AppCentral/sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.4230
16-11-28 17:43:10.5|Info|AppFolderInfo|Data directory is being overridden to [/usr/local/AppCentral/sonarr/config]
16-11-28 17:43:13.0|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-11-28 17:43:14.4|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-11-28 17:43:14.6|Info|Router|Application mode: Interactive
16-11-28 17:43:14.6|Info|OwinHostController|Listening on the following URLs:
16-11-28 17:43:14.6|Info|OwinHostController| http://*:8989/
16-11-28 17:43:15.5|Info|NancyBootstrapper|Starting NzbDrone API
16-11-28 17:43:20.5|Error|Deluge|Failed to authenticate with Deluge.

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrents (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00006] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems () [0x0003d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0

16-11-28 17:43:21.3|Error|TaskExtensions|Task Error

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetConfig (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetStatus () [0x0000c] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck+<>c.<Check>b__3_0 (NzbDrone.Core.Download.IDownloadClient v) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.Check () [0x0004b] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__7_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (System.Func`2[T,TResult] predicate) [0x00030] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass4_1`1[TEvent].<PublishEvent>b__0 () [0x00035] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Threading.Tasks.Task.Execute () [0x00016] in <1170fb08300b4d0db71c1d1db8555768>:0

16-11-28 17:43:50.3|Info|SceneMappingService|Updating Scene mappings
16-11-28 17:43:50.5|Error|Deluge|Failed to authenticate with Deluge.

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrents (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00006] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems () [0x0003d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0

16-11-28 17:43:51.0|Error|CommandExecutor|Error occurred while executing task CheckHealth

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetConfig (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetStatus () [0x0000c] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck+<>c.<Check>b__3_0 (NzbDrone.Core.Download.IDownloadClient v) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.Check () [0x0004b] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__7_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (System.Func`2[T,TResult] predicate) [0x00030] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.Execute (NzbDrone.Core.HealthCheck.CheckHealthCommand message) [0x0000d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand] (TCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x00081] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0

16-11-28 17:43:51.7|Info|RefreshSeriesService|Skipping refresh of series: 11.22.63
16-11-28 17:43:51.8|Info|DiskScanService|Scanning disk for 11.22.63
16-11-28 17:43:52.2|Info|DiskScanService|Completed scanning disk for 11.22.63
16-11-28 17:43:52.4|Info|RefreshSeriesService|Updating Info for 12 Monkeys
16-11-28 17:43:53.0|Error|Deluge|Failed to authenticate with Deluge.

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrents (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00006] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems () [0x0003d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0

16-11-28 17:43:54.6|Info|HousekeepingService|Running housecleaning tasks
16-11-28 17:43:55.1|Info|RefreshEpisodeService|Starting episode info refresh for: [272644][12 Monkeys]
16-11-28 17:43:57.3|Info|RefreshEpisodeService|Finished episode refresh for series: [272644][12 Monkeys].
16-11-28 17:43:57.4|Info|DiskScanService|Scanning disk for 12 Monkeys
16-11-28 17:43:57.6|Info|DiskScanService|Completed scanning disk for 12 Monkeys
16-11-28 17:43:58.1|Info|RssSyncService|Starting RSS Sync
16-11-28 17:43:58.7|Info|Database|Vacuuming Log database
16-11-28 17:43:59.1|Info|RefreshSeriesService|Updating Info for The Affair
16-11-28 17:43:59.9|Info|Database|Log database compressed
16-11-28 17:44:03.3|Info|RefreshEpisodeService|Starting episode info refresh for: [270439][The Affair]
16-11-28 17:44:03.9|Info|RefreshEpisodeService|Finished episode refresh for series: [270439][The Affair].
16-11-28 17:44:03.9|Info|DiskScanService|Scanning disk for The Affair
16-11-28 17:51:10.4|Info|Bootstrap|Starting Sonarr - /volume1/.@plugins/AppCentral/sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.4230
16-11-28 17:51:12.5|Info|AppFolderInfo|Data directory is being overridden to [/usr/local/AppCentral/sonarr/config]
16-11-28 17:51:15.1|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-11-28 17:51:16.4|Info|MigrationLogger|*** Migrating data source=/usr/local/AppCentral/sonarr/config/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
16-11-28 17:51:16.6|Info|Router|Application mode: Interactive
16-11-28 17:51:16.6|Info|OwinHostController|Listening on the following URLs:
16-11-28 17:51:16.6|Info|OwinHostController| http://*:8989/
16-11-28 17:51:17.6|Info|NancyBootstrapper|Starting NzbDrone API
16-11-28 17:51:23.4|Error|Deluge|Failed to authenticate with Deluge.

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrents (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00006] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems () [0x0003d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0

16-11-28 17:51:24.1|Error|TaskExtensions|Task Error

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetConfig (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetStatus () [0x0000c] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck+<>c.<Check>b__3_0 (NzbDrone.Core.Download.IDownloadClient v) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.Checks.ImportMechanismCheck.Check () [0x0004b] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService+<>c.<PerformHealthCheck>b__7_0 (NzbDrone.Core.HealthCheck.IProvideHealthCheck c) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00064] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in <5f01f5aacbb346938d6f9b4e69d4383a>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.PerformHealthCheck (System.Func`2[T,TResult] predicate) [0x00030] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.HealthCheck.HealthCheckService.HandleAsync (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Messaging.Events.EventAggregator+<>c__DisplayClass4_1`1[TEvent].<PublishEvent>b__0 () [0x00035] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <1170fb08300b4d0db71c1d1db8555768>:0
at System.Threading.Tasks.Task.Execute () [0x00016] in <1170fb08300b4d0db71c1d1db8555768>:0

16-11-28 17:51:51.3|Info|InstallUpdateService|Downloading update 2.0.0.4409
16-11-28 17:51:52.4|Info|RefreshSeriesService|Skipping refresh of series: 11.22.63
16-11-28 17:51:52.5|Info|DiskScanService|Scanning disk for 11.22.63
16-11-28 17:51:52.8|Info|DiskScanService|Completed scanning disk for 11.22.63
16-11-28 17:51:53.1|Info|RefreshSeriesService|Skipping refresh of series: 12 Monkeys
16-11-28 17:51:53.1|Info|DiskScanService|Scanning disk for 12 Monkeys
16-11-28 17:51:53.2|Info|DiskScanService|Completed scanning disk for 12 Monkeys
16-11-28 17:51:53.3|Info|RefreshSeriesService|Skipping refresh of series: The Affair
16-11-28 17:51:53.4|Error|Deluge|Failed to authenticate with Deluge.

[v2.0.0.4230] NzbDrone.Core.Download.Clients.DownloadClientAuthenticationException: Failed to authenticate with Deluge.
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.AuthenticateClient (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.Boolean reauthenticate) [0x0009e] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.BuildRequest (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x0006d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00000] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.GetTorrents (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00006] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0
at NzbDrone.Core.Download.Clients.Deluge.Deluge.GetItems () [0x0003d] in <837d6e3ef7fc43e8a2e1545f5ee25654>:0

16-11-28 17:51:53.4|Info|DiskScanService|Scanning disk for The Affair
16-11-28 17:51:53.5|Info|DiskScanService|Completed scanning disk for The Affair
16-11-28 17:51:53.5|Info|RefreshSeriesService|Updating Info for American Crime Story
16-11-28 17:51:53.8|Info|HousekeepingService|Running housecleaning tasks
16-11-28 17:51:54.1|Info|Database|Vacuuming Log database
16-11-28 17:51:54.7|Info|Database|Log database compressed
16-11-28 17:51:57.0|Info|RefreshEpisodeService|Starting episode info refresh for: [289108][American Crime Story]
16-11-28 17:51:57.3|Info|RefreshEpisodeService|Finished episode refresh for series: [289108][American Crime Story].
16-11-28 17:51:57.3|Info|DiskScanService|Scanning disk for American Crime Story
16-11-28 17:51:57.4|Info|DiskScanService|Completed scanning disk for American Crime Story
16-11-28 17:51:59.1|Info|RefreshSeriesService|Updating Info for American Experience
16-11-28 17:52:00.9|Info|RefreshEpisodeService|Starting episode info refresh for: [71638][American Experience]

Re: Sonarr keeps crashing after starting

Posted: Sat Dec 03, 2016 6:14 pm
by mafredri
@JeremyCreekit hope you got my mail.

For anyone else having this issue, it's a problem with Mono 4.6 and older versions of Sonarr, if you update to the latest version you should be fine!

If you do not manage to update through the Web UI before Sonarr crashes, here are manual instructions that can be executed on the NAS:

Code: Select all

cd /usr/local/AppCentral/sonarr &&
wget http://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz &&
tar xzf NzbDrone.master.tar.gz &&
rm NzbDrone.master.tar.gz &&
chown -R admin:administrators NzbDrone &&
rm -r Sonarr &&
mv NzbDrone Sonarr &&
./CONTROL/start-stop.sh restart &&
echo "All done!" || echo "Error"

Regards,
Mathias