Page 1 of 1
Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 5th, 2018, 8:57 pm
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]
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 5th, 2018, 9:12 pm
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.
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 6th, 2018, 9:10 am
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.
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 6th, 2018, 10:58 am
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.
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 6th, 2018, 12:45 pm
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.
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 6th, 2018, 6:56 pm
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?
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 6th, 2018, 7:03 pm
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.
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 7th, 2018, 2:54 am
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.
Re: Sabnzbd stopped auto starting after updating to windows 10 1809
Posted: October 7th, 2018, 6:49 pm
by ckp33
If you meant changing to 0.0.0.0 on settings Genereal tab for field SABnzbd Host, that did not help.