Unable to load web UI

Sonarr version (exact version):
Mono version (if Sonarr is not running on Windows):
OS:
((Debug logs)):
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue: I have Sonarr’s web UI set to http://localhost:8989/. I have not made any changes, but the application will not load. The site appears to come up, with Sonarr Ver in the middle of the screen, and with the dots at the top moving to show that the app is trying to load, however, nothing does. I have tried navigating to different pages (e.g. http://localhost:8989/calendar), but it is the same experience. I am on a Mac, so have shutdown the Mac, reset the SBC (unplugged it for 30 seconds, then plugged back in and started up again), but still Sonarr is not loading. I have also followed the instructions to backup and reinstall Sonarr found at https://github.com/Sonarr/Sonarr/wiki/Backup-and-Restore, but that did not work either. The automated downloads seem to work, as while I have been working on this problem a new show was retrieved and parsed. This seems to just be a problem with the Web UI. Any help would be great.

Thanks

A post was split to a new topic: Unable to Load UI - Ratings are corrupt

What do the debug or trace logs show when trying to load the UI?
Also which version of Sonarr and mono are you running?

Sorry, I am a little new to looking at the logs. In the NzbDrone folder, I have sonarr.txt, then sonarr.0.txt, .1, .2, .3, .4. Each look to be a bit different. Happy to provide whatever you need, but need a little more direction. Thanks!

More information on ((log files)) is on the wiki (also linked in your first post).

Thanks. Turned on debug and here is the log. However, I noticed that this works under Chrome now, still not Firefox. Not sure what changed…I reinstalled Firefox, but no dice. At least it works…

17-10-9 23:02:31.6|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
17-10-9 23:02:32.8|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
17-10-9 23:02:32.9|Info|MigrationLogger|*** Migrating data source=/Users/iMacHome/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
17-10-9 23:02:33.0|Debug|MigrationLogger|Took: 00:00:00.1296956
17-10-9 23:02:33.0|Info|MigrationLogger|*** Migrating data source=/Users/iMacHome/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
17-10-9 23:02:33.0|Debug|MigrationLogger|Took: 00:00:00.0119243
17-10-9 23:02:33.0|Info|Router|Application mode: Interactive
17-10-9 23:02:33.0|Debug|Router|Console selected
17-10-9 23:02:33.0|Info|OwinHostController|Listening on the following URLs:
17-10-9 23:02:33.0|Info|OwinHostController| http://*:8989/
17-10-9 23:02:33.1|Debug|OwinAppFactory|Attaching NzbDroneVersionMiddleWare to host
17-10-9 23:02:33.1|Debug|OwinAppFactory|Attaching SignalRMiddleWare to host
17-10-9 23:02:33.1|Debug|OwinAppFactory|Attaching NancyMiddleWare to host
17-10-9 23:02:33.1|Info|NancyBootstrapper|Starting Web Server
17-10-9 23:02:33.2|Debug|QualityDefinitionService|Setting up default quality config
17-10-9 23:02:33.3|Debug|NotificationFactory|Initializing Providers. Count 20
17-10-9 23:02:33.4|Debug|IndexerFactory|Initializing Providers. Count 12
17-10-9 23:02:33.4|Debug|MetadataFactory|Initializing Providers. Count 4
17-10-9 23:02:33.4|Debug|DownloadClientFactory|Initializing Providers. Count 15
17-10-9 23:02:33.6|Debug|TransmissionProxy|Transmission authentication succeeded.
17-10-9 23:02:34.0|Debug|BrowserService|non-interactive runtime. Won’t attempt to open browser.
17-10-9 23:02:34.1|Debug|SabnzbdProxy|Url: http://localhost:8080/api?mode=get_config&apikey=(removed)&output=json
17-10-9 23:02:34.2|Debug|MonoVersionCheck|Mono version is 3.10 or better: 4.2.1
17-10-9 23:02:41.0|Debug|Api|[GET] /api/config/ui: 200.OK (7 ms)
17-10-9 23:02:41.1|Debug|Api|[GET] /api/system/status: 200.OK (10 ms)
17-10-9 23:02:41.1|Debug|Api|[GET] /api/profile: 200.OK (8 ms)
17-10-9 23:02:41.1|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (12 ms)
17-10-9 23:02:41.1|Debug|Api|[GET] /api/health: 200.OK (3 ms)
17-10-9 23:02:41.3|Debug|Api|[GET] /api/series: 200.OK (199 ms)

Any errors in Firefox’s Dev console?

There are (see below), but Chrome shows the same error and still loads. Let me know if there is a specific location in Firefox dev tools you would like to know about.

NS_ERROR_FILE_CORRUPTED: Config.js:37
getValue Config.js:37
_setInitialState AsPersistedStateCollection.js:39
module.exports/this.prototype.initialize AsPersistedStateCollection.js:19
[7]/</Backbone.Collection backbone.js:603
constructor backbone.pageable.js:282
child backbone.js:1531:25
SeriesCollection.js:120
webpack_require bootstrap%2025475f7f68b7a5c7b5fc:50
Search.js:6
webpack_require bootstrap%2025475f7f68b7a5c7b5fc:50
NavbarLayout.js:5
webpack_require bootstrap%2025475f7f68b7a5c7b5fc:50
main.js:6
webpack_require bootstrap%2025475f7f68b7a5c7b5fc:50
webpackJsonpCallback bootstrap%2025475f7f68b7a5c7b5fc:21
http://localhost:8989/main.js:1:1

Sounds like local storage may be corrupt and causing clearing local storage may be the easiest way to fix it.

In the Console tab of the dev tools you can run localStorage.clear(); and that’ll clear it.

Thanks. I tried the localStorage.clear(); and it says “undefined”

Are you running in private browsing mode (whatever Firefox calls their incognito mode)?
Or using a plugin that disables localstorage?

Nope, just standard Firefox for Mac. Here is a screenshot. I have never really run commands on the browser, though - not overtly - usually I just use utilities for that type of work. Maybe I am doing something incorrectly?

Figured it out. Had to go to the Storage tab, find the entry for Local Storage, and manually delete. After that, site loaded fine. Thanks for all your help!

1 Like

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