Can't open application on Mac, was working yesterday

So installed this yesterday and was extremely happy with the results only to find today that when i tried to open sonarr in chrome the webpage is not available error showed up. I’ve tried it Firefox as well and the issues persists, Chrome keeps saying the connection was refused. I’m running the latest version.

My logs from today say this:

"15-3-2 10:01:56.9|Info|Bootstrap|Starting NzbDrone - /Applications/Sonarr.app/Contents/MacOS/NzbDrone.exe - Version 2.0.0.2850
15-3-2 10:01:57.7|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-3-2 10:01:57.9|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-3-2 10:01:58.1|Info|MigrationLogger|*** Migrating data source=/Users/MarkBarry/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-3-2 10:01:58.4|Debug|MigrationLogger|Took: 00:00:00.2470359
15-3-2 10:01:58.4|Info|MigrationLogger|*** Migrating data source=/Users/MarkBarry/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3 ***
15-3-2 10:01:58.4|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"

It just repeats that over and over every time i run the app.

I’ve look all over the forums and honesty i’ve become really confused and frustrated. I’ve tried reinstalling the app over and over but it doesn’t work. I can’t even tell if that is running due to the fact that it doesn’t appear in activity monitor. Sorry for being such a noob but this is all very overwhelming for me. I’ve also tried following benzer’s instructions but i got lost when he started talking about backing up and the like. Also it was only through his instructions that i found my logs, which wouldn’t of happened if i just followed the wiki.

Thanks for any attempts to help me, i love the program so it would be nice to get it working again

The logs database is corrupt and will need to be deleted. The path for it is above, .config is a hidden folder in finder, so you’ll either need to show them or use terminal.

You’re a bloody genius! Just so i know in the future, what causes it to be corrupt and do i just delete the file again if happens again?

Thats something we’ve been trying to determine, it seems to affect OS X much more than any other system, it seems to come from Sonarr suddenly being shutdown (system is shut down).

Its also possible the main DB (the one with all your settings and series) could be corrupt and you’d need to restore a backup.

Deleting the logs.db file isn’t going to cause you any issues though, it will be recreated automatically, so if you run into this issue again you can start there.

Thanks goodness! I could not figure out what was going on for the life of me, and somehow found this thread. Working like a charm now.