Please help, I noticed that Sonarr stopped opening so I tried to reinstall (since there is a dedicated app now) but now I lost all of my shows etc… Feeling really silly any help would be great. (runing OSX)
You’ll need to find the nzbdrone.db file that was running under the previous account (could be a system account) since settings are stored per user on OS X. Easiest thing would probably be to search for it, or change back to the previous way and check the AppData path that is reported in the UI.
Only trouble is I installed the .app version because the other version wasn’t working, and for the life of me I can’t remember where/how I installed the original(I know it was using terminal). I’m assuming it’s in the default location, because this is a little above my usual computer savey-ness. OS X just hides all the files system files which is aggravating to no end. I tried just using spotlight to search for nzbdrone.db but it doesn’t come up with anything. I have also found one nzbdrone.db file under: MacHD/users/me/.config/NzbDrone/nzbdrone.db but I think its the file from the new version of the app.
Might be able to search through terminal and find it, otherwise hopefully someone else knows as I don’t offhand.
So I just decided to rebuilt my database in the new version of the app because I got tired of looking for the old one. Everything was fine untill I restarted my computer today and now Sonarr won’t start again. Looked online and found that something you can try is to replace the database from a backup. Tried that but its still not showing up under http://localhost:8989/. Don’t know where to go from here.
You’ll need to check your log files to see why its not starting (lots of threads on this issue with solutions as well).
From the logs everything seems to be working till this line. then it starts repeating the same thing over and over again.
15-12-22 00:16:51.0|Info|MigrationLogger|*** Migrating data source=/Users/jozwiakk/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True;version=3;Full FSync=True ***
15-12-22 00:16:51.1|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 <filename unknown>:0
at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x00000] in <filename unknown>:0
15-12-22 00:17:01.8|Info|Bootstrap|Starting NzbDrone - /Applications/Nzbdrone/Nzbdrone.exe - Version 2.0.0.2663
15-12-22 00:17:03.3|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone.Console
15-12-22 00:17:04.1|Debug|ProcessProvider|Found 0 processes with the name: NzbDrone
15-12-22 00:17:04.3|Info|MigrationLogger|*** Migrating data source=/Users/jozwiakk/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True ***
15-12-22 00:17:04.7|Debug|MigrationLogger|Took: 00:00:00.4387314
15-12-22 00:17:04.7|Info|MigrationLogger|*** Migrating data source=/Users/jozwiakk/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Truncate;pooling=True ***
15-12-22 00:17:04.8|Fatal|ConsoleApp|EPIC FAIL!
logs.db is corrupt.
Thanks, worked! Just need to backup more often I guess.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.