Renamed User Profile-Sabnzbd Won't Start

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
y0himba
Newbie
Newbie
Posts: 5
Joined: April 14th, 2021, 8:02 am

Renamed User Profile-Sabnzbd Won't Start

Post 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?
(Insert witty signature here)
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Renamed User Profile-Sabnzbd Won't Start

Post by sander »

Yes: sabnzbd.ini
User avatar
y0himba
Newbie
Newbie
Posts: 5
Joined: April 14th, 2021, 8:02 am

Re: Renamed User Profile-Sabnzbd Won't Start

Post 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?
(Insert witty signature here)
User avatar
y0himba
Newbie
Newbie
Posts: 5
Joined: April 14th, 2021, 8:02 am

Re: Renamed User Profile-Sabnzbd Won't Start

Post 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)")
(Insert witty signature here)
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Renamed User Profile-Sabnzbd Won't Start

Post 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.
User avatar
y0himba
Newbie
Newbie
Posts: 5
Joined: April 14th, 2021, 8:02 am

Re: Renamed User Profile-Sabnzbd Won't Start

Post 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.
(Insert witty signature here)
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

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

Post 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.
User avatar
y0himba
Newbie
Newbie
Posts: 5
Joined: April 14th, 2021, 8:02 am

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

Post 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.
(Insert witty signature here)
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Renamed User Profile-Sabnzbd Won't Start

Post 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
Post Reply