Installed Sonarr but can't access via 'localhost:8989'

Hi,

I’ve installed Sonarr today but can’t seem to connect through my browser.

As far as I can tell, it’s up and running (i’ve double clicked in in applications and i didn’t get any error messages). I’ve tried searching the forums but can’t find any fixes.

Any ideas?

Thanks in advance!

Mine is doing the same and I cannot find an answer for the life of me, I have opened port 8989, I have reinstalled sonarr, I just can’t seem to connect to it anymore

You’ll need to check the log files to see if there are any start up errors.

UPDATE: I just realized you said you cant connect after new install, mine is an existing install and works just fine after starting it. I will look elsewhere for someone having this issue. Sorry for trying to Hijack your thread

I am having the same problem with 2 different machines, it just started when I upgraded them to 2.0.0.3645 a few days ago.
When sonarr starts it works great, for awhile, sometimes a few hours others almost a whole day and then, it wont connect.
I have sonarr running on a Synology Nas and a new install on Ubuntu 14.04 Server (VPS) I am in the process of recreating my local sonarr with my new VPS install. If I run netstat -tulp it still shows the process listening on 0.0.0.0:8989 yet I can not connect.
I have to restart the sonarr service in order to get it to work again and this just repeats.
Just found these in the log file from the Synology: These occurred within about 3sec of each other

System.Net.WebException: Error: ConnectFailure (Too many open files) ---> System.Net.Sockets.SocketException: Too many open files
  at System.Net.Sockets.Socket..ctor (AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) [0x00060] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/System/System.Net.Sockets/Socket.cs:214 
  at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x000cf] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/System/System.Net/WebConnection.cs:189 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00065] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/System/System.Net/HttpWebRequest.cs:946 
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/System/System.Net/HttpWebRequest.cs:958 
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000cd] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:46


System.IO.IOException: Too many open files
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00063] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/corlib/System.IO/Directory.cs:498 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/corlib/System.IO/Directory.cs:261 
  at System.IO.Directory.GetDirectories (System.String path) [0x00000] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/corlib/System.IO/Directory.cs:256 
  at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List`1 all) <0x413a8750 + 0x00043> in <filename unknown>:0 
  at System.IO.Directory.GetFilesRecurse (System.String path, System.String searchPattern, System.Collections.Generic.List`1 all) [0x0001f] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/corlib/System.IO/Directory.cs:312 
  at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, SearchOption searchOption) [0x00014] in /spksrc/native/mono/work-native/mono-4.2.1/mcs/class/corlib/System.IO/Directory.cs:304 
  at NzbDrone.Common.Disk.DiskProviderBase.GetFiles (System.String path, SearchOption searchOption) [0x0003e] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Disk\DiskProviderBase.cs:142 
  at NzbDrone.Core.Metadata.ExistingMetadataService.Handle (NzbDrone.Core.MediaFiles.Events.SeriesScannedEvent message) [0x0004f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Metadata\ExistingMetadataService.cs:42 
  at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent] (NzbDrone.Core.Messaging.Events.TEvent event) [0x000c5] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:56 

I havent looked into these any where yet to see if I could figure something out with it.

Aha, it does look like it isn’t loading up properly.

I’m not very good with reading logs, so not sure if this means anything to anyone?

15-12-22 08:10:41.5|Info|Bootstrap|Starting Sonarr - /opt/homebrew-cask/Caskroom/sonarr/latest/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.3645
15-12-22 08:10:43.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-22 08:10:44.2|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-22 08:10:44.5|Info|MigrationLogger|*** Migrating data source=/Users/tommills/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-22 08:10:44.8|Fatal|ConsoleApp|EPIC FAIL!

System.Data.SQLite.SQLiteException: database disk image is malformed
database disk image is malformed
  at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, UInt32 timeoutMS, System.String& strRemain) <0x4072e38 + 0x00ac3> in <filename unknown>:0 
  at System.Data.SQLite.SQLiteCommand.BuildNextCommand () <0x4072ad8 + 0x001a8> in <filename unknown>:0

nzbdrone.db is corrupt.

Would you be able to send me a copy of it (I’d like to see what steps we can take to prevent this from happening in the future/how we can repair it). If you could PM me a link to download it (dropbox, mega, etc), that would be great. You should be able to use finder to open up the containing directory with Go to Folder the folder is /Users/tommills/.config/NzbDrone/

To resolve the issue there are two things to try:

  • Restore from a backup (if one has been created already, which happens weekly, automatically, or could have been run manually).

  • Delete nzbdrone.db and start from scratch

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