Sonarr version (exact version): Latest, or Whatever’s hosted here (via github): http://update.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz Mono version (if Sonarr is not running on Windows): 4.6.2 OS: Solus Project ((Debug logs)): http://pastebin.com/izfcgASi Description of issue: At first I had the thing hanging on “Starting Web Server”, but after deleting everything in the ~/.config/NzbDrone folder, it got through to the next part, “Setting up quality profiles”.
I can open localhost:8989 in firefox and it will show the Sonarr favicon, but otherwise the page is blank. Chrome gives me a 500 error at the same url. switching to htpc:8989 gives the same result (htpc is hostname on this box). Trying to access it locally from the box actually running Sonarr.
Obviously Sonarr doesn’t end up finishing launching completely. I had tried to manually run it from terminal using $: mono --debug NzbDrone.exe and it kept getting stuck on “Starting Web Server”. When I did $: sudo mono --debug NzbDrone.exe, it got up to the current stage it’s stuck on, “Setting up default quality profiles”.
I thought setting it up to run through systemd on start may fix it. Same issue. The log is the output when launched on startup via systemd. $ systemctl status sonarr.service
yields:
● sonarr.service - Sonarr Daemon
Loaded: loaded (/usr/lib64/systemd/system/sonarr.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2017-02-26 15:12:19 EST; 16min ago
Main PID: 1906 (Main)
CGroup: /system.slice/sonarr.service
└─1906 /usr/bin/mono --debug /home/htpc/Programs/NzbDrone/NzbDrone…
Green light here.
tl;dr: doesn’t matter how I try to start it, it keeps hanging on Starting Web Service, or now more commonly “Setting up default quality profiles”.
This is the console tab from Chrome’s developer console when going on the page. Refreshing with the console up doesn’t give anything different. All addons were disabled, and the browser restarted.
Firefox didn’t list anything different. Let me know if you meant something else by dev console.
17-3-20 18:19:32.2|Info|Bootstrap|Starting Sonarr - /home/htpc/Programs/NzbDrone/NzbDrone.exe - Version 2.0.0.4668
17-3-20 18:19:32.9|Info|MigrationLogger|*** Migrating data source=/home/htpc/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-3-20 18:19:33.2|Info|MigrationLogger|*** 108: fix_extra_file_extension migrating ***
17-3-20 18:19:33.2|Info|fix_extra_file_extension|Starting migration to 108
17-3-20 18:19:33.3|Info|MigrationLogger|*** Migrating data source=/home/htpc/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-3-20 18:19:33.3|Info|MigrationLogger|*** 108: fix_extra_file_extension migrating ***
17-3-20 18:19:33.3|Info|fix_extra_file_extension|Starting migration to 108
17-3-20 18:19:33.3|Info|Router|Application mode: Interactive
17-3-20 18:19:33.4|Info|OwinHostController|Listening on the following URLs:
17-3-20 18:19:33.4|Info|OwinHostController| http://*:8989/
17-3-20 18:19:33.5|Info|NancyBootstrapper|Starting Web Server
Logs seem to be stuck on this now. I had deleted the old log before trying the new version. The service launched from systemd without a problem and is running. Still a blank page at localhost:8989
It progressed:
17-3-20 18:19:32.2|Info|Bootstrap|Starting Sonarr - /home/htpc/Programs/NzbDrone/NzbDrone.exe - Version 2.0.0.4668
17-3-20 18:19:32.9|Info|MigrationLogger|*** Migrating data source=/home/htpc/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-3-20 18:19:33.2|Info|MigrationLogger|*** 108: fix_extra_file_extension migrating ***
17-3-20 18:19:33.2|Info|fix_extra_file_extension|Starting migration to 108
17-3-20 18:19:33.3|Info|MigrationLogger|*** Migrating data source=/home/htpc/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
17-3-20 18:19:33.3|Info|MigrationLogger|*** 108: fix_extra_file_extension migrating ***
17-3-20 18:19:33.3|Info|fix_extra_file_extension|Starting migration to 108
17-3-20 18:19:33.3|Info|Router|Application mode: Interactive
17-3-20 18:19:33.4|Info|OwinHostController|Listening on the following URLs:
17-3-20 18:19:33.4|Info|OwinHostController| http://*:8989/
17-3-20 18:19:33.5|Info|NancyBootstrapper|Starting Web Server
17-3-20 18:28:34.9|Info|RssSyncService|Starting RSS Sync
17-3-20 18:28:34.9|Warn|FetchAndParseRssService|No available indexers. check your configuration.
17-3-20 18:28:34.9|Info|DownloadDecisionMaker|No results found
17-3-20 18:28:34.9|Info|RssSyncService|RSS Sync Completed. Reports found: 0, Reports grabbed: 0
=================================================
::::::::::::::::::::::::::::FOUND A FIX:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
EDIT:
I just tried installing mono-devel, and mono-addins packages (there is no mono-complete on my distro, that’s a debian thing). After a restart, it seems to work. Will report in later.
Instructions should have a clause like “If you have any problems, try installing every mono package your distro has”. I’m sure some people will have to fight some sort of aspergers or autism to download extra packages though.