Sonarr service unavailable

hi everyone new here, and currently have ovh server with rutorrent installed, but just purchased new one to start a fresh, i have followed this guide for the full setup, https://github.com/xombiemp/ultimate-torrent-setup/wiki i can get access to rutorrent and couchpotato but when i go to url for sonarr i sometimes get login screen and once i log in i get service unavailable, i have checked log and im getting this does this mean anything to you? am i missing something here?

INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT15-11-20 04:21:34.2|Info|Bootstrap|Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.3573
15-11-20 04:21:34.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-11-20 04:21:34.5|Debug|ProcessProvider|Found 1 processes with the name: NzbDrone
15-11-20 04:21:34.5|Debug|ProcessProvider| - [28265] NzbDrone
15-11-20 04:21:34.6|Info|MigrationLogger|*** Migrating data source=/home/waldo/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
15-11-20 04:21:34.7|Info|MigrationLogger|*** VersionMigration migrating ***
15-11-20 04:21:34.7|Debug|MigrationLogger|Beginning Transaction
15-11-20 04:21:34.7|Debug|MigrationLogger|CreateTable VersionInfo
15-11-20 04:21:34.7|Debug|MigrationLogger|CREATE TABLE “VersionInfo” (“Version” INTEGER NOT NULL)
15-11-20 04:21:34.7|Debug|MigrationLogger|Took: 00:00:00.0098920
15-11-20 04:21:34.7|Debug|MigrationLogger|Committing Transaction
15-11-20 04:21:34.8|Debug|MigrationLogger|VersionMigration migrated
15-11-20 04:21:34.8|Debug|MigrationLogger|Took: 00:00:00.0851930
15-11-20 04:21:34.9|Info|MigrationLogger|*** VersionUniqueMigration migrating ***
15-11-20 04:21:34.9|Debug|MigrationLogger|Beginning Transaction
15-11-20 04:21:34.9|Debug|MigrationLogger|CreateIndex VersionInfo (Version)
15-11-20 04:21:34.9|Debug|MigrationLogger|CREATE UNIQUE INDEX “UC_Version” ON “VersionInfo” (“Version” ASC)
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0014500
15-11-20 04:21:34.9|Debug|MigrationLogger|AlterTable VersionInfo
15-11-20 04:21:34.9|Debug|MigrationLogger|
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0002880
15-11-20 04:21:34.9|Debug|MigrationLogger|CreateColumn VersionInfo AppliedOn DateTime
15-11-20 04:21:34.9|Debug|MigrationLogger|ALTER TABLE “VersionInfo” ADD COLUMN “AppliedOn” DATETIME
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0007140
15-11-20 04:21:34.9|Debug|MigrationLogger|Committing Transaction
15-11-20 04:21:34.9|Debug|MigrationLogger|VersionUniqueMigration migrated
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0442400
15-11-20 04:21:34.9|Info|MigrationLogger|*** VersionDescriptionMigration migrating ***
15-11-20 04:21:34.9|Debug|MigrationLogger|Beginning Transaction
15-11-20 04:21:34.9|Debug|MigrationLogger|AlterTable VersionInfo
15-11-20 04:21:34.9|Debug|MigrationLogger|
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0002010
15-11-20 04:21:34.9|Debug|MigrationLogger|CreateColumn VersionInfo Description String
15-11-20 04:21:34.9|Debug|MigrationLogger|ALTER TABLE “VersionInfo” ADD COLUMN “Description” TEXT
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0006130
15-11-20 04:21:34.9|Debug|MigrationLogger|Committing Transaction
15-11-20 04:21:34.9|Debug|MigrationLogger|VersionDescriptionMigration migrated
15-11-20 04:21:34.9|Debug|MigrationLogger|Took: 00:00:00.0221180
15-11-20 04:21:35.0|Info|MigrationLogger|*** 1: InitialSetup migrating ***
15-11-20 04:21:35.0|Debug|MigrationLogger|Beginning Transaction
15-11-20 04:21:35.0|Info|InitialSetup|Starting migration to 1
15-11-20 04:21:35.0|Debug|MigrationLogger|CreateTable Config
15-11-20 04:21:35.0|Debug|MigrationLogger|CREATE TABLE “Config” (“Id” INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, “Key” TEXT NOT NULL, “Value” TEXT NOT NULL)
15-11-20 04:21:35.0|Debug|MigrationLogger|Took: 00:00:00.0006990
15-11-20 04:21:35.0|Debug|MigrationLogger|CreateIndex Config (Key)
15-11-20 04:21:35.0|Debug|MigrationLogger|CREATE UNIQUE INDEX “IX_Config_Key” ON “Config” (“Key” ASC)
15-11-20 04:21:35.0|Debug|MigrationLogger|Took: 00:00:00.0004530
15-11-20 04:21:35.0|Debug|MigrationLogger|CreateTable RootFolders
15-11-20 04:21:35.0|Debug|MigrationLogger|CREATE TABLE “RootFolders” (“Id” INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, “Path” TEXT NOT NULL)
15-11-20 04:21:35.0|Debug|MigrationLogger|Took: 00:00:00.0004600
15-11-20 04:21:35.0|Debug|MigrationLogger|CreateIndex RootFolders (Path)
15-11-20 04:21:35.0|Debug|MigrationLogger|CREATE UNIQUE INDEX “IX_RootFolders_Path” ON “RootFolders” (“Path” ASC)
15-11-20 04:21:35.0|Debug|MigrationLogger|Took: 00:00:00.0003890
15-11-20 04:21:35.0|Debug|MigrationLogger|CreateTable Series
15-11-20 04:21:35.0|Debug|MigrationLogger|CREATE TABLE “Series” (“Id” INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, “TvdbId” INTEGER NOT NULL, “TvRageId” INTEGER NOT NULL, “ImdbId” TEXT NOT NULL, “Title” TEXT$
15-11-20 04:21:35.0|Debug|MigrationLogger|Took: 00:00:00.0014560

Thats just a normal startup log, no errors or warnings.

thanks for the reply, where should i be looking to find errors or warnings?

The log files would have them, but there aren’t any in the log.

Its also worth checking the response from Sonarr with the developer tools in your browser, the network tab should have them).

all i see in logs folder is nzbdrone.txt, i assume there should be more then.

i have this in developer tools

503 Service Unavailable

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


Apache/2.4.7 (Ubuntu) Server at 149.202.84.205 Port 443
503 Service Unavailable

Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.


Apache/2.4.7 (Ubuntu) Server at 149.202.84.205 Port 443

sorry that didnt work, can see it here

http://pastebin.com/8rFkEcqs

Thats coming from your reverse proxy (Apache).

Either it can’t talk to Sonarr or Sonarr isn’t running or Apache is misconfigured.

sonarr seems to start with the command sudo service sonarr start, i followed guide below is there something wrong there?

this is what i have in apache portal config

AuthFormLoginSuccessLocation /sonarr
AuthUserFile "/etc/apache2/passwd"
AuthName "My Login"
Session On
SessionMaxAge 1800
SessionCookieName session path=/
SessionCryptoPassphrase lola
ErrorDocument 401 /login.html
ProxyPass https://149.202.84.205:8989/sonarr
ProxyPassReverse http://localhost:8989/sonarr
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port “443”

If you check the status is Sonarr running?

If you’re on Ubuntu or Debian, make sure Sonarr isn’t dying due to a kernel bug: Native mono crashes [kernel fix released]

Make sure you set the URL base for Sonarr as well.

Beyond that you’ll have to see if someone can help with your Apache reverse proxy config, try bypassing it to see if Sonarr is working.

do you mean this? if so this is what i get

sudo service sonarr status
sonarr stop/waiting

but is i type

sudo service sonarr start
sonarr start/running, process 27586

does that not mean its running?

my kernel looks like this

3.14.32-xxxx-grs-ipv6-64 #5 SMP Wed Sep 9 17:24:34 CEST 2015 x86_64 x86_64 x86_64 GNU/Linux

Sounds like its starting then stopping, check the logs files for errors.

sorry where do i find the logs for these errors?

Should be in the same log files you posted before, but there is a link.

in logs i can only see nzbdrone.txt is it inside this?

Yes. Delete the existing file, start Sonarr again and post the entire contents of nzbdrone.txt to hastebin (not in body of a response here) and we can take a look.

1 Like

Giant error right in your logs:

15-11-21 01:07:30.1|Fatal|ConsoleApp|EPIC FAIL!

NzbDrone.Core.Configuration.InvalidConfigFileException: /home/waldo/.config/NzbDrone/config.xml is invalid, please see the http://wiki.sonarr.tv for steps to resolve this issue. ---> System.Xml.XmlException$

Delete it and recreate it (and fix the UrlBase for the reverse proxy).

1 Like

sorry to bother you again ive tried a few things in urlbase now, but no luck, what is it that goes in here?