Page 1 of 1

Renamed User Profile-Sabnzbd Won't Start

Posted: April 14th, 2021, 8:14 am
by y0himba
Hello.

I'm on Windows 10, and I recently renamed my user profile and profile folder.
Sab is still trying to use the old user folder.
Sab won't start.

I reinstalled sab, still won't start.

Is there a config file I can edit to point it to my renamed user folder? If so, where is it located?

Re: Renamed User Profile-Sabnzbd Won't Start

Posted: April 14th, 2021, 9:48 am
by sander
Yes: sabnzbd.ini

Re: Renamed User Profile-Sabnzbd Won't Start

Posted: April 14th, 2021, 3:41 pm
by y0himba
Thank you for the reply. I have to manually run Sab in order to get it to start with a command line switch ""C:\Program Files\SABnzbd\SABnzbd.exe" --server 127.0.0.1:8081" which I edit to add my LAN IP and port.

Sab is looking for the old user directory and creating a new default .ini when I try to start it. How can I point it to my new user directoy?

Re: Renamed User Profile-Sabnzbd Won't Start

Posted: April 14th, 2021, 4:48 pm
by y0himba
So if I follow the fresh start on the wiki, the Sab wizard will start. As soon as I try to change the port for http and https, Sab will not start. I am looking at the log and I get the error below. I have tried running as administrator:

Edit: I guess I cannot copy/paste the part of the log with the error, I'm new and it thinks I am posting links.

Code: Select all

cherrypy.process.wspbus.ChannelFailures: OSError("No socket could be created -- (( default address port 8081): [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions)")

Re: Renamed User Profile-Sabnzbd Won't Start

Posted: April 15th, 2021, 1:23 am
by sander
I would do this:

Make sure SABnzbd is not running
move sabnzbd.ini and sabnzbd.ini.bak to other names / location
start SABnzbd like this:

"C:\Program Files\SABnzbd\SABnzbd.exe" --server 0.0.0.0:8080"

That should give you the SAB wizard.

Re: Renamed User Profile-Sabnzbd Won't Start

Posted: April 15th, 2021, 6:50 am
by y0himba
I'm having no problem getting the wizard, the problem arises when I try to change the ports. Whenever I change them to what I need then Sab won't start.

Re: problem arises when I try to change the ports.

Posted: April 15th, 2021, 7:12 am
by sander
y0himba wrote: April 15th, 2021, 6:50 am I'm having no problem getting the wizard, the problem arises when I try to change the ports. Whenever I change them to what I need then Sab won't start.
Probably a Windows firewall problem. Or port is already in use by another process.

Re: problem arises when I try to change the ports.

Posted: April 15th, 2021, 10:36 am
by y0himba
I used Sysinternals TCPview and the 2 ports are open, nothing using them. Sab is allowed through the firewall, but I turned it off just in case. Still no joy.

Re: Renamed User Profile-Sabnzbd Won't Start

Posted: April 15th, 2021, 11:10 am
by sander
With

Code: Select all

netstat -aon | find /i "listening" 
you can also see ports that are in use.

Anyway, then I have a few suggestions left:

- run SABnzbd as administrator
- don't change the port
- contact the vendor of the firewall on your Windows
- contact the administrator of your system
- or do a fresh install of windows, without firewall etc