Updated to 2.21, quota no longer resets

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
mchalesnavy
Newbie
Newbie
Posts: 10
Joined: September 25th, 2017, 2:36 am

Updated to 2.21, quota no longer resets

Post by mchalesnavy »

Hi guys,

Updated my install to the latest and since then my daily quota will not reset by itself. I have it set to download 30G a day, auto resume when reset. Previously downloads would commence at midnight, pause once 30Gb had been downloaded, then rinse/repeat at midnight the next day. Now I have to manually reset the quota for downloading to commence.

I've gone back through and changed settings to something else, saved, then put them back to what I want, but the same behaviour continues.

I'm receiving the same warnings I always used to; 'Warning quota spent, pausing downloading'. Nothing else out of the ordinary that I can see.


Any ideas?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Updated to 2.21, quota no longer resets

Post by safihre »

Will have to test this, not a user of quota myself so could easily be that something broke.

In the meantime, could you enable Debug logging in the Status Window?
Then at midnight, we should check the logs and see if it registered something at all (it should) and if it tried to unblock.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
mchalesnavy
Newbie
Newbie
Posts: 10
Joined: September 25th, 2017, 2:36 am

Re: Updated to 2.21, quota no longer resets

Post by mchalesnavy »

Will do, shall post back at midnight, ~5.5hrs from now.

Cheers.
mchalesnavy
Newbie
Newbie
Posts: 10
Joined: September 25th, 2017, 2:36 am

Re: Updated to 2.21, quota no longer resets

Post by mchalesnavy »

Ok, changed log level to debug earlier and left it sit. Checked at about 00:10 and nothing had happened, tried restarting sabz, after startup downloading sat at idle and then paused itself. Log is here:

dropbox dot com/s/6z804ftkubqqbf1/sabnzbd.log?dl=0
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Updated to 2.21, quota no longer resets

Post by safihre »

Here is something strange, it says:
2017-09-26 00:14:47,811::DEBUG::[bpsmeter:399] Will reset quota at (2017, 9, 27, 0, 0, 0, 0, 0, 0)
But it should say of course on the 27th, since you are on the 26th.

Could you pause downloading, then set "Reset day" to 0:01.
Then click Show Logging and see if you can find at the end of the log the "Will reset quota at" line and see if it is now correct for the next midnight?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
mchalesnavy
Newbie
Newbie
Posts: 10
Joined: September 25th, 2017, 2:36 am

Re: Updated to 2.21, quota no longer resets

Post by mchalesnavy »

Not sure I quite follow you there. Seeing as it is the 26th, assuming quota for the 26th is spent the 27th is when it should reset?

Also I cannot pause downloading without manually resetting the quota. Is that what you want me to do?

As it stands I've left things as they are, but made the change to the reset day, 0:01 and clicked show logging, which said this:


2017-09-26 00:14:47,811::DEBUG::[bpsmeter:399] Will reset quota at (2017, 9, 27, 0, 0, 0, 0, 0, 0)
2017-09-26 00:14:47,811::INFO::[scheduler:192] Setting schedule for quota check daily at 0:0
2017-09-26 00:14:47,811::INFO::[scheduler:201] Setting schedule for midnight BPS reset
2017-09-26 00:14:47,811::DEBUG::[__init__:579] PAUSED_ALL inactive


I then restarted sabz, new log shows this:

2017-09-26 01:29:02,711::DEBUG::[bpsmeter:399] Will reset quota at (2017, 9, 27, 0, 1, 0, 0, 0, 0)
2017-09-26 01:29:02,711::INFO::[scheduler:192] Setting schedule for quota check daily at 0:1
2017-09-26 01:29:02,711::INFO::[scheduler:201] Setting schedule for midnight BPS reset
2017-09-26 01:29:02,711::DEBUG::[__init__:579] PAUSED_ALL inactive


dropbox dot com/s/xug5n0yro0q4tbh/sabnzbd%20%282%29.log?dl=0


To me it appears that sabz isn't recognising that the current spent quota status is for a previous day.

Also it's quite late now, I need to get to sleep, followed by work tomorrow etc. Thankyou very much for your time so far. I can continue to troubleshoot tomorrow afternoon.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Updated to 2.21, quota no longer resets

Post by safihre »

Could you update SABnzbd to 2.3.0?
I just tried it on my local setup and it pauses and unpauses correctly.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
mchalesnavy
Newbie
Newbie
Posts: 10
Joined: September 25th, 2017, 2:36 am

Re: Updated to 2.21, quota no longer resets

Post by mchalesnavy »

The jump up to 2.3.0 worked as advertised :) Quota reset and downloaded normally last night.

Cheers.
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Updated to 2.21, quota no longer resets

Post by safihre »

Fingers crossed it keep working :D
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply