Page 1 of 1

HISTORY not logging

Posted: January 18th, 2015, 11:16 pm
by phpjunkie
Hello all,

Been using SABnzbd for a couple of years on a Windows machine. Today out of nowhere, it seems that the HISTORY area on the main web interface is no longer being updated -- although the program is successfully downloading TV shows pushed over from Sonarr.

I use Pushover to send Mobile notifications upon successful download. These notifications are going through just fine, and the files are being fully downloaded and moved to the correct post-processing location -- but I have confirmed on multiple instances now that the HISTORY of all recent downloads is no longer showing up in the main interface. I also just purged the full history, but this does not seem to make a difference.

Any suggestions?

Re: HISTORY not logging

Posted: January 19th, 2015, 6:36 am
by shypike
Not sure what the cause is.
One bold remedy is to stop SABnzbd and delete the actual database.
Location:
c:\Users\username\AppData\Local\sabnzbd\admin\history1.db

Re: HISTORY not logging

Posted: January 19th, 2015, 4:22 pm
by phpjunkie
shypike wrote:Not sure what the cause is.
One bold remedy is to stop SABnzbd and delete the actual database.
Location:
c:\Users\username\AppData\Local\sabnzbd\admin\history1.db
It seems something even more odd is happening here, and may somehow be related to Sonarr.

I just deleted the history1.db as suggested, and forced a new download to start. I watched the download go to completionin SABnzbd - and sure enough it did drop down to the HISTORY area of the interface. But then it seems that when Sonarr did its post-processing scan and moved the file it's final folder destination, the History then gets wiped out of SABnzbd. So very strange, as I've been using this same setup for a couple of years and have never had this issue.

Any other possible suggestions?

Re: HISTORY not logging

Posted: January 19th, 2015, 6:25 pm
by sander
Suggestion:

Set SABnzbd's Logging to Debug.

Rerun. As soon as something disappears check your sabnzbd.log for a line like:

Code: Select all

2015-01-20 00:22:55,940::DEBUG::[interface:421] API-call from 127.0.0.1 [curl/7.35.0] {'mode': 'history', 'value': 'all', 'name': 'delete'}
So: "API-call" plus "delete" in one line.

Re: HISTORY not logging

Posted: February 12th, 2015, 8:38 am
by bortius
Sonarr is doing it.

Check Settings, Download Client. Click the Advanced Settings slider to Shown.

There are "Remove" options for Completed Download Handling and Failed Download Handling. Those should be set to No, and it will leave the logs in SABnzbd.