Page 1 of 1

Access Denied after changing Full Web Access to API Only

Posted: October 16th, 2020, 6:34 am
by glutaman
Stupid me changed Full Web Access to API Only, and now I'm getting Access Denied. Of course I know the reason now, but I wasn't thinking when I clicked save.

Any idea if I can change this back from a settings file??

Re: Access Denied after changing Full Web Access to API Only

Posted: October 16th, 2020, 7:39 am
by sander
Yes, you can: sabnzbd.ini
But I can't find the setting in the WebGUI, so I can't tell you which entry in sabnzbd.ini you need to change

What always works;
stop sabnzbd (from a process manager)
rename sabnzbd.ini to something else
start sabnzbd ... you should get into the wizard. Fill out
done. And/or compare the new sabnzbd.ini with the old one to find out the wrong api/web parameter

Re: Access Denied after changing Full Web Access to API Only

Posted: October 16th, 2020, 9:19 am
by glutaman
Alright, that didn't help but after reverting to the old file, I was able to access it. API key has changed but that was a small hit compared to having to set it up all over again. Happy days!

Re: Access Denied after changing Full Web Access to API Only

Posted: October 19th, 2020, 6:26 am
by MiG
You can always use WinMerge to compare your old and your new ini file, and selectively restore other settings (SAB needs to be shut down of course).