Disabling Servers does not work in 4.0.1

Report & discuss bugs found in 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
FCrane
Jr. Member
Jr. Member
Posts: 56
Joined: November 7th, 2010, 5:04 am

Disabling Servers does not work in 4.0.1

Post by FCrane »

Hi!

In the latest version, enabling / disabling servers has no effect anymore. All servers are always active (which can be seen in the "Connections" status). Please fix...

I'm on Windows 11.

Thanks!
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disabling Servers does not work in 4.0.1

Post by safihre »

Have you tried a different browser?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
FCrane
Jr. Member
Jr. Member
Posts: 56
Joined: November 7th, 2010, 5:04 am

Re: Disabling Servers does not work in 4.0.1

Post by FCrane »

I'm using FireFox (as I always did and it worked in the past) and I also enable/disable servers with API commands - they work, because in the configuration of SABNZBD, the "Enabled" box changes when I send the API commands. However, as I mentioned, all servers are always downloading, no matter if they are enabled or disabled in the config...
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disabling Servers does not work in 4.0.1

Post by safihre »

The change doesn't take effect right away, can take up to a minute. But after a restart the disabled ones should not download of course.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
FCrane
Jr. Member
Jr. Member
Posts: 56
Joined: November 7th, 2010, 5:04 am

Re: Disabling Servers does not work in 4.0.1

Post by FCrane »

This is what I now tested:

1) Restarted Sabnzbd
2) Disabled 1 of my 2 servers.
3) Started a download -> only the enabled server downloaded (correct!)
4) Enabled server 2 -> server 2 also started downloading (correct!)
5) Disabled server 2 -> server 2 continues downloading (forever, not just for a minute or so) (INCORRECT!)
6) Tried re-enabling and disabling server 2 again -> no difference. Server 2 simply keeps connecting when it is disabled! (INCORRECT!)
7) Querying the disabled server with an API call correctly returns "enable" = 0, the "Enable" box is unchecked, so it should definitely not download...

So there's definitly something wrong with disabling / enabling servers. It seems to work once after start, but never again until Sab is restarted. I think this started with v4.0.0, because it used to work fine for years. The servers are configured normally, no special settings (just host, user, pass, port, ssl , server one has 2 connections,server 2 has 14, both are priority 0).

Regards!
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disabling Servers does not work in 4.0.1

Post by safihre »

You are right. I'll create a bug report and fix it!
Thanks for reporting!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
safihre
Administrator
Administrator
Posts: 5521
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Disabling Servers does not work in 4.0.1

Post by safihre »

Fixed it.
If you have a GitHub account you can download a patched version here:
https://github.com/sabnzbd/sabnzbd/acti ... 4934824175
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
FCrane
Jr. Member
Jr. Member
Posts: 56
Joined: November 7th, 2010, 5:04 am

Re: Disabling Servers does not work in 4.0.1

Post by FCrane »

Yes, the patched version works perfectly - thanks!!
Post Reply