Settings pages not loading

Sonarr Version: 2.0.0.4472
Mono Version: mono --version
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Operating System: Ubuntu server 16.04 (no antivirus)

Description of issue: Whenever I try to access the Settings tab it never loads (I get the grey dots moving back and forth). It is a new install, adding/editing seasons works fine; however I can’t add an indexer or a client!

Sonarr is running remotely on my fileserver and I’m accessing from my desktop (also linux, tried firefox and chromium).

I’ve read a few threads relating to this issue. I can access the login screen. When I try to make an API call directly (e.g. http://files:8989/api/config/indexer) I get “error”: “Unauthorized”.

Any guidance you can offer is appreciated!

Log snippet:

17-1-29 10:48:56.1|Info|Bootstrap|Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.4472
17-1-29 10:48:56.4|Info|MigrationLogger|*** Migrating data source=/var/lib/nzbdrone/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-1-29 10:48:56.5|Info|MigrationLogger|*** Migrating data source=/var/lib/nzbdrone/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-1-29 10:48:56.6|Info|Router|Application mode: Interactive
17-1-29 10:48:56.6|Info|OwinHostController|Listening on the following URLs:
17-1-29 10:48:56.6|Info|OwinHostController|  http://*:8989/
17-1-29 10:48:56.6|Info|NancyBootstrapper|Starting NzbDrone API
17-1-29 10:49:02.9|Fatal|NzbDroneErrorPipeline|Request Failed

[v2.0.0.4472] System.InvalidOperationException: Sequence contains more than one element
  at System.Linq.Enumerable.SingleOrDefault[TSource] (IEnumerable`1 source) <0x40dc3ed0 + 0x001db> in <filename unknown>:0 
  at NzbDrone.Core.Datastore.BasicRepository`1[TModel].SingleOrDefault () [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Datastore\BasicRepository.cs:96 
  at NzbDrone.Core.Organizer.NamingConfigService.GetConfig () [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Organizer\NamingConfigService.cs:20 
  at NzbDrone.Api.Config.NamingConfigModule.GetNamingConfig () [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Config\NamingConfigModule.cs:54 
  at NzbDrone.Api.REST.RestModule`1[TResource].<set_GetResourceSingle>b__38_0 (System.Object options) [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\REST\RestModule.cs:141 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object)
  at Nancy.Routing.Route+<>c__DisplayClass4.<Wrap>b__3 (System.Object parameters, CancellationToken context) <0x40f69600 + 0x0014f> in <filename unknown>:0 

17-1-29 10:49:26.9|Info|RssSyncService|Starting RSS Sync
17-1-29 10:49:26.9|Warn|FetchAndParseRssService|No available indexers. check your configuration.
17-1-29 10:49:26.9|Info|DownloadDecisionMaker|No results found
17-1-29 10:49:26.9|Info|RssSyncService|RSS Sync Completed. Reports found: 0, Reports grabbed: 0

The DB has an issue, but running the Housekeeping task (System: Tasks) should fix that up, if it hasn’t run already.

Beautiful! That fixed it right up, thanks for the quick response!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.