HISTORY not logging

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
phpjunkie
Newbie
Newbie
Posts: 2
Joined: January 18th, 2015, 11:08 pm

HISTORY not logging

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: HISTORY not logging

Post 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
phpjunkie
Newbie
Newbie
Posts: 2
Joined: January 18th, 2015, 11:08 pm

Re: HISTORY not logging

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: HISTORY not logging

Post 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.
bortius
Newbie
Newbie
Posts: 1
Joined: December 7th, 2011, 11:54 pm

Re: HISTORY not logging

Post 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.
Post Reply