Sabnzbd stopped auto starting after updating to windows 10 1809

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
ckp33
Newbie
Newbie
Posts: 26
Joined: April 22nd, 2017, 9:38 pm

Sabnzbd stopped auto starting after updating to windows 10 1809

Post by ckp33 »

been running sabnzbd on my win 10 x64 desktop for a long time. it has always automatically started up after booting up. it does indeed still show in the task manager Startup tab. but i have to launch it manually now after a reboot.
I still see it listed here in my user profile: C:\Users\<my username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
my user login is still the same.
this only stopped working after i just updated to the brand new win 10 1809 update

running sabnzbd 2.3.5 [76c7a6c]
ckp33
Newbie
Newbie
Posts: 26
Joined: April 22nd, 2017, 9:38 pm

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by ckp33 »

hmm, i added a registry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and create one to launch sabnzbd.exe
i rebooted and logged in.
after logging in i saw the sab system tray icon come up, but then it disappeared after a second or two, so i think it crashes. but manually starting it up works fine. hope you fix this.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by safihre »

This is not us, this is Windows.

It's probably best to remove sabnzbd (without removing settings) and then just to reinstall it.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
ckp33
Newbie
Newbie
Posts: 26
Joined: April 22nd, 2017, 9:38 pm

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by ckp33 »

SABnzbd process starting and exiting is indeed something to handle in the sabnzbd software. Uninstalling and reinstalling won't make any difference. This is just the program starting up after login and exiting. So for whatever reason, the software isn't handling something different about the win 10 1809 OS. I did see already that one other software program I have had to make a code change for 1809 because of some new windows 1809 explorer.exe bug. Aside from this new behavior it's working perfectly. I love this software, thank you for all your work.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by safihre »

I also have the new windows version and have no problems. It's not the program.
Set logging to Debug in the Status window and then after restarting again, see what's in the log.
Probably it's not allowed to bind to the port or something like that, too soon after startup.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
ckp33
Newbie
Newbie
Posts: 26
Joined: April 22nd, 2017, 9:38 pm

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by ckp33 »

is this it?
2018-10-06 15:59:04,997::INFO::[SABnzbd:1391] Starting web-interface on 192.168.254.14:8080
2018-10-06 15:59:04,997::INFO::[_cplogging:219] [06/Oct/2018:15:59:04] ENGINE Bus STARTING
2018-10-06 15:59:05,059::ERROR::[_cplogging:219] [06/Oct/2018:15:59:05] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "cherrypy\process\servers.pyo", line 207, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 2012, in start
error: No socket could be created -- (('192.168.254.14', 8080): [Errno 10049] The requested address is not valid in its context)

but it takes a bit for networking to come up on win 10, maybe longer now. shouldn't sabnzbd keep running with retry intervals rather than just exiting?
Last edited by ckp33 on October 6th, 2018, 7:03 pm, edited 1 time in total.
ckp33
Newbie
Newbie
Posts: 26
Joined: April 22nd, 2017, 9:38 pm

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by ckp33 »

for anyone having this issue, i solved it by starting sabnzbd with this batch file in my startup folder:

timeout 20
start G:\SABnzbd\SABnzbd.exe

this gives my wired networking enough time to come up so sabnzbd doesn't die.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by safihre »

It already checks if the requested port is available before attempting to mount it, usually this is enough.
Probably if you use 0.0.0.0 instead of the actual IP, it will work also since it binds more freely.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
ckp33
Newbie
Newbie
Posts: 26
Joined: April 22nd, 2017, 9:38 pm

Re: Sabnzbd stopped auto starting after updating to windows 10 1809

Post by ckp33 »

If you meant changing to 0.0.0.0 on settings Genereal tab for field SABnzbd Host, that did not help.
Post Reply