Page 1 of 1
Disabling Servers does not work in 4.0.1
Posted: May 8th, 2023, 12:32 am
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!
Re: Disabling Servers does not work in 4.0.1
Posted: May 8th, 2023, 3:00 am
by safihre
Have you tried a different browser?
Re: Disabling Servers does not work in 4.0.1
Posted: May 8th, 2023, 3:59 am
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...
Re: Disabling Servers does not work in 4.0.1
Posted: May 8th, 2023, 3:30 pm
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.
Re: Disabling Servers does not work in 4.0.1
Posted: May 9th, 2023, 12:43 am
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!
Re: Disabling Servers does not work in 4.0.1
Posted: May 9th, 2023, 3:05 pm
by safihre
You are right. I'll create a bug report and fix it!
Thanks for reporting!
Re: Disabling Servers does not work in 4.0.1
Posted: May 10th, 2023, 3:29 am
by safihre
Fixed it.
If you have a GitHub account you can download a patched version here:
https://github.com/sabnzbd/sabnzbd/acti ... 4934824175
Re: Disabling Servers does not work in 4.0.1
Posted: May 10th, 2023, 4:19 am
by FCrane
Yes, the patched version works perfectly - thanks!!