Incorrect parameter
Configuration is locked
I'll have to find out how to solve that. A reboot does NOT solve it.
Incorrect parameter
Configuration is locked
Could have been, but it's not:jcfp wrote:"Configuration is locked " kinda suggests you set option config_lock in the ini? (to something other than the standard value of zero, that is)
Code: Select all
$ grep -i lock sabnzbd.ini
config_lock = 0

Running the Wizard again won't help.spence1534 wrote:Has anyone else had this problem or found a solution ? I have re-run the wizard several times to no avail. Running development branch.
Code: Select all
2015-01-16 02:47:43,669::DEBUG::[interface:94] Refused connection to 62.a.b.cCode: Select all
def Protected():
return badParameterResponse("Configuration is locked")Code: Select all
def check_access():
""" Check if external address is allowed """
referrer = cherrypy.request.remote.ip
return referrer in ('127.0.0.1', '::1') or referrer.startswith(cfg.local_range())Code: Select all
def check_access(access_type=4):
""" Check if external address is allowed given `access_type`
`access_type`: 1=nzb, 2=api, 3=full_api, 4=webui
"""
referrer = cherrypy.request.remote.ip
range_ok = bool([1 for r in cfg.local_range() if referrer.startswith(r)])
allowed = referrer in ('127.0.0.1', '127.0.1.1', '::1') or range_ok or access_type <= cfg.inet_exposure()
if not allowed:
logging.debug('Refused connection to %s', referrer)
return allowedAFAIK:Sullyvan wrote:Guys, what is the proper syntax for local_ranges to define two subnets like for instance 192.168.1.0 and 192.168.2.0? Thanks much in advance!
Code: Select all
192.168.1., 192.168.2.