Sonarr.app won't start

was using the older version of nzbdrone with terminal commands to start it. received Epic Fail error… deleted nzbdrone folder

so then i tried to install the new sonarr.app. Installed upgrade to mono when prompted. when i click on the sonarr app nothing happens. when I go to localhost:8989 nothing appears (no gui)

went through a new installation of the sonarr app on another mac and it works fine. I suspect something from the old nzbdrone is conflicting but cannot figure it out. mono --version reports 3.12.

any ideas?

Would need to see log files of it starting up to say.

If you start it with terminal you will see where the logs are and any error messages.

how to start it with terminal?

mono /path/to/NzbDrone.exe - not sure what the path is on OS X though, where ever the .app was extracted to.

15-2-9 15:39:40.3|Info|Bootstrap|Starting NzbDrone - /Applications/Sonarr.app/Contents/MacOS/nzbdrone.exe - Version 2.0.0.2850
15-2-9 15:39:41.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-2-9 15:39:42.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-2-9 15:39:42.5|Info|MigrationLogger|*** Migrating data source=/Users/username/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-2-9 15:39:42.6|Debug|MigrationLogger|Took: 00:00:00.1240382
15-2-9 15:39:42.6|Info|MigrationLogger|*** Migrating data source=/Users/username/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-2-9 15:39:42.6|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

I found the backup directory and copied the config.xml and other .db file to overwrite the existing files. same result

Decided to replace Sickbeard and install Sonarr today and am unable to get it to run.

I added it to the applications directory and when i click it nothing happens.

Can anyone please help?

Would need to see log files to see what is going on. They should be in your home directory under .config/NzbDrone (.config is a hidden directory though).

Was mono also installed?

Thanks for responding. Mono installed fine and I even rebooted afterwards. When I go to open Sonarr from the applications directory nothing happens at all. I looked and could not find the .config file you were asking for also. I searched though the hidden library directory and couldn’t find a thing.

Any ideas?

i am on yosemite and exactly same thing
sonarr will not start

Its not a file, its a directory, the path on Linux systems is /home/<user>/.config/NzbDrone, but I don’t know what the absolute path is on OS X.

15-2-9 15:39:40.3|Info|Bootstrap|Starting NzbDrone - /Applications/Sonarr.app/Contents/MacOS/nzbdrone.exe - Version 2.0.0.2850
15-2-9 15:39:41.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-2-9 15:39:42.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-2-9 15:39:42.5|Info|MigrationLogger|*** Migrating data source=/Users/username/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-2-9 15:39:42.6|Debug|MigrationLogger|Took: 00:00:00.1240382
15-2-9 15:39:42.6|Info|MigrationLogger|*** Migrating data source=/Users/username/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-2-9 15:39:42.6|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

i also copied over the backup files. same result

1 Like

I’m not sure if anyone has written about this problem. I installed sonarr on my machine and configured it with no issues. I restarted my computer and sonarr will not open anymore. It tells me that local host unavailable even after I launch the app.

Is Sonarr actually running? It doesn’t start automatically on OS X unless you add it to startup items.

It won’t run when I manually start it. I’ve also tried to set it to run at login and still nothing. I’ve gotten an error message when I try to open it by clicking in vigorously. It stated that the application is unable to open.

What do the log files show? They should be in your home directory under .config/NzbDrone (.config is a hidden directory).

i have the exact same problem!
15-2-9 15:39:40.3|Info|Bootstrap|Starting NzbDrone - /Applications/Sonarr.app/Contents/MacOS/nzbdrone.exe - Version 2.0.0.2850
15-2-9 15:39:41.5|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-2-9 15:39:42.4|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-2-9 15:39:42.5|Info|MigrationLogger|*** Migrating data source=/Users/username/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-2-9 15:39:42.6|Debug|MigrationLogger|Took: 00:00:00.1240382
15-2-9 15:39:42.6|Info|MigrationLogger|*** Migrating data source=/Users/myname/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-2-9 15:39:42.6|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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

Your DB is corrupt, you can restore a backup of it from: /Users/username/.config/NzbDrone/Backups.

when trying to use terminal:

[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) [0x00000] in :0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in :0

Press any key to exit…

i tried the backup. same result. can i just delete the .config directory and start over?

I was able to get it to work. Not sure what happened, but I deleted the stand alone application and installed it through terminal. When I opened it all I had to do was type in local host and it popped up. Any ideas on what went wrong?