Page 1 of 1
Trying to set status of non-existing server - Error Message
Posted: March 23rd, 2020, 10:57 am
by yt88d
Hi, I have a constant nag message in SABnzbd about the client not being able to set the status of an old news server that I deleted from the Settings/Server a while back. How I can remove this message from appearing every couple hours?
The warning message says:
Trying to set status of non-existing server
... proceeded by the hostname of the old deleted news server. Here is a screenshot:

Re: Trying to set status of non-existing server - Error Message
Posted: March 23rd, 2020, 11:50 am
by sander
which version of SABnzbd is this?
Re: Trying to set status of non-existing server - Error Message
Posted: March 23rd, 2020, 11:56 am
by yt88d
sander wrote: ↑March 23rd, 2020, 11:50 am
which version of SABnzbd is this?
Thanks for the reply. I keep it updated - SABnzbd version: 2.3.9
Re: Trying to set status of non-existing server - Error Message
Posted: March 23rd, 2020, 2:37 pm
by sander
OK, good. I was triggered by the strange GUI ... that is old, I would say.
Anyway: I had a look at the source code, and that text is from two functions, which seem to be called from the scheduler. So ... check your scheduler (config/scheduling/) if that old server is there somewhere. If so, remove that schedule.
Code: Select all
def enable_server(server):
""" Enable server (scheduler only) """
try:
config.get_config("servers", server).enable.set(1)
except:
logging.warning(T("Trying to set status of non-existing server %s"), server)
return
config.save_config()
Downloader.do.update_server(server, server)
def disable_server(server):
""" Disable server (scheduler only) """
try:
config.get_config("servers", server).enable.set(0)
except:
logging.warning(T("Trying to set status of non-existing server %s"), server)
return
config.save_config()
Downloader.do.update_server(server, server)
Re: Trying to set status of non-existing server - Error Message
Posted: March 23rd, 2020, 2:45 pm
by yt88d
sander wrote: ↑March 23rd, 2020, 2:37 pm
OK, good. I was triggered by the strange GUI ... that is old, I would say.
Anyway: I had a look at the source code, and that text is from two functions, which seem to be called from the scheduler. So ... check your scheduler (config/scheduling/) if that old server is there somewhere. If so, remove that schedule.
I follow and just prefer that Glitter Night tabbed layout. It seems so easy, but I think you nailed. There were two tasks, that I don't remember adding, in the Scheduler, to enable + disable that old server. I deleted those two entries.
I left that warning nagging me for 6+ months and you solved it. Thank you for your help. I appreciate it.