Setup won't Load

Sonarr version (2.0.0.3953):
Mono version (if Sonarr is not running on Windows):
Windows 10:
((Debug logs)) (posted to hastebin or similar):
Hi I installed Sonarr, added series, but can’t reach the settings page. it keeps loading. not showing anything.

Thank You.

What do the logs show?

sorry which logs de.bug? or trace? and by the way what part should i add here

http://pastebin.com/tuPQWsKW

Trace, but you’ll need to enable it in the config file since you can’t see it in settings.

Easiest would be to edit C:\ProgramData\NzbDrone\config.xml and set the log level to Trace, delete the ((log files)), restart Sonarr and try going to the settings page.

Which browser are you using?
Have you tried a different browser?

Hi Marcus;

Thank you for the help.

here is the trace log;
http://pastebin.com/zNJnhPwc

still cant reach settings

Which browser are you using?
Have you tried a different browser?

i tried at Chrome and Firefox both dont work

In Chrome if you open the dev tools (F12) and go to the network tab and attempt to load the Settings in the Sonarr UI do you get any requests failing (they will be highlighted red)? If so what does the Response show for them?

Thank you for the help markus

here it is :

GET /api/config/indexer HTTP/1.1
Host: localhost:8989
Connection: keep-alive
Accept: application/json, text/javascript, /; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
X-Api-Key: 82add81e75c14e128b473830cbe32c3b
Referer: http://localhost:8989/settings
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,tr;q=0.6
Cookie: user=“2|1:0|10:1459909288|4:user|44:NGUwNWJmODY4OWQ0NDcwMGJkNzdhYmExZmRlMWI5NGE=|8814f732e746cc29198dd6dbd2ff056c0839ab62230272d92ebbab6ac524bb2f”; advanced_toggle_checked=0; wanted_view=thumb; snatched_view=list; soon_view=thumb; suggest_view=thumb; late_view=list; blu_ray_com_new_releases_view=thumb; imdb_top_dvd_rentals_view=thumb; _pk_id.1.1fff=1504ce41a2474e91.1460689353.2.1460764502.1460762825.; _pk_ses.1.1fff=*

{
“message”: “NotFound”
}

GET /piwik.php?action_name=Settings&idsite=1&rec=1&r=342155&h=2&m=55&s=1&url=http%3A%2F%2Flocal%2Fsettings&_id=1504ce41a2474e91&_idts=1460689353&_idvc=2&_idn=0&_refts=0&_viewts=1460762825&send_image=0&pdf=1&qt=0&realp=0&wma=0&dir=0&fla=1&java=0&gears=0&ag=0&cookie=1&res=1920x1080&cvar=%7B%221%22%3A%5B%22version%22%2C%222.0.0.3953%22%5D%2C%222%22%3A%5B%22branch%22%2C%22master%22%5D%7D&gt_ms=15 HTTP/1.1
Host: piwik.sonarr.tv
Connection: keep-alive
Accept: image/webp,image/,/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
Referer: http://localhost:8989/settings/mediamanagement
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,tr;q=0.6
Cookie: __cfduid=d32bbcbfb248ce532789ed676c07039901460689098; _ga=GA1.2.203694539.1460689100

Piwik is a free/libre web analytics that lets you keep control of your data.

If you put http://localhost:8989/api/config/indexer?apikey=82add81e75c14e128b473830cbe32c3b do you get:

{
  "message": "NotFound"
}

returned?

Do you have any anti-virus software or firewalls enabled?

yes i get that message and not really i run a ntivirus or a fire wall at the moment

should i re install it?

Not sure what this means… If you have a firewall that has a web proxy or web filter it may be blocking the connection.

It won’t hurt to try, but if something else is blocking it it won’t be of much use.

I too am having that issue. It sits at the “Settings” screen, forever moving the balls around.

I tried Chrome and Firefox. Every other section works.

when I run “http://localhost:8989/api/config/indexer?apikey=82add81e75c14e128b473830cbe32c3b

I get “unauthorized”.

Any help would be appreciated.

You would need to change the API key to your API key, either from the dev tools (sent in the X-API-Key header) or from the config file.

Ah, thank you. I tried this :

http://localhost:8989/api/config/indexer?apikey=c71c57355c8448b8b775f3ae2a3bfba1

and got back:

{
“minimumAge”: 0,
“retention”: 0,
“rssSyncInterval”: 60,
“id”: 1
}

I’m assuming that’s a good reply.

Under: Chrome | developer (F12) | Network
I found a red-highlighted error:

Name: host - http://localhost:8989/api/config/host

{
  "message": "Sequence contains more than one element",
  "description": "System.InvalidOperationException: Sequence contains more than one element\n  at System.Linq.Enumerable.SingleOrDefault[TSource] (IEnumerable`1 source) <0x2c3a0ed0 + 0x001b7> in <filename unknown>:0 \n  at NzbDrone.Core.Datastore.BasicRepository`1[TModel].SingleOrDefault () <0x2efcb060 + 0x00033> in <filename unknown>:0 \n  at NzbDrone.Core.Authentication.UserService.FindUser () <0x2efcee90 + 0x00018> in <filename unknown>:0 \n  at NzbDrone.Api.Config.HostConfigModule.GetHostConfig () <0x2efce7e0 + 0x00084> in <filename unknown>:0 \n  at NzbDrone.Api.REST.RestModule`1[TResource].<set_GetResourceSingle>b__e (System.Object options) <0x2ef8ee28 + 0x0001c> in <filename unknown>:0 \n  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object)\n  at Nancy.Routing.Route+<>c__DisplayClass4.<Wrap>b__3 (System.Object parameters, CancellationToken context) <0x2eec0260 + 0x0013b> in <filename unknown>:0 "
}

Thank you

Ahh! Different issue, its a problem with the database (the user thats stored in there) got duplicated somehow. There are a few ways to fix this:

  • Restore a database backup that doesn’t have the issue
  • Delete the offending records from the database (sqlite)
    • DELETE FROM Users WHERE ID NOT IN (SELECT ID FROM Users LIMIT 1)
  • Switch the the develop build of Sonarr, which you’ll need to edit Sonarr’s config.xml to do so, then restart Sonarr and run the Update task (or wait for it to run automatically)

Thanks for the reply.

I ended up reinstalling and going from scratch, which of course solved the issue. I think the trouble may have been from momentarily changing the startup (rc.d) to use the root user.

Anyway, its working now :slight_smile:

btw, I absolutely love this software!

1 Like

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