Page 1 of 2

Option to Restart

Posted: October 31st, 2008, 1:32 am
by clobber
Inevitably I need to restart Sabnzbd from a remote machine via the web gui. Currently, you can only shut it down remotely and then I have to go to the remote machine for the restart. How about an option to restart next to the "pause" and "shutdown" options? It would be really useful.

Thanks for all the good work!

Re: Option to Restart

Posted: October 31st, 2008, 5:50 am
by shypike
clobber wrote: Inevitably I need to restart Sabnzbd from a remote machine via the web gui.
Why is this?
There's usually just two reasons to restart SABnzbd, that is change of the skin and the web-ui username/password.
Unless you have stability problems.
Upgrades too of course.

Are you using Linux or Windows?
Scripting may solve your problem.
(For my own Linux server, I just use a Putty shell session from my Windows desktop box).

Re: Option to Restart

Posted: October 31st, 2008, 9:02 am
by rascalli
well I guess he is just a bit "lazy" and does not want to go into putty ;-)

Re: Option to Restart

Posted: October 31st, 2008, 12:00 pm
by clobber
Geez, a simple suggestion deserves such a flame?

Sometimes the connections to my usenet provider go down."  I'm not exactly sure what the problem is, but my DSL connection is just fine - do it is probably the provider. To resolve the problem, I try to pause the connections and "force disconnect" after which I attempt to resume the downloads. For what ever reason, it does not work. Shutting down Sabnzbd and restarting seems to correct things.

Sometimes Sabnzbd downloads at a slow(ish) rate compared to normal. Shutting down and restarting seems to cure the problem.

FYI - I'm running Sabnzbd on Windows XP and administering from a Vista machine. It seems a bit over kill to use Putty and set up a SSH server - and then what? How to I kill and restart Sabnzbd from a windows command prompt? Sure I can do it in *nix. I don't want to set up VNC etc since the fewer things on my HTPC the better.

Re: Option to Restart

Posted: October 31st, 2008, 12:46 pm
by rAf
clobber wrote:
FYI - I'm running Sabnzbd on Windows XP and administering from a Vista machine. It seems a bit over kill to use Putty and set up a SSH server - and then what?
You could use Remote Desktop (in your using XP pro)...
or Remote Command (freeware) http://grubletrang.com/Software.aspx?app=RmtCmdGUI

Re: Option to Restart

Posted: October 31st, 2008, 1:27 pm
by shypike
clobber wrote: Geez, a simple suggestion deserves such a flame?

Sometimes Sabnzbd downloads at a slow(ish) rate compared to normal. Shutting down and restarting seems to cure the problem.
What flame? I did not know what your system is, you did not say that.

Some people still report SABnzbd problems with unstable providers, we don't know what the causes it.
All our testing has revealed nothing in that area.

One alternative is to go to the Config->General page and click on Save.
That could very well solve the speed problem too (due to an internal restart).
If that doesn't help either, we're interested in some more information from your side.

BTW: If a full restart is required to solve problem, it cannot be solved by a programmed restart,
because it can never be a 100% restart (i.e. some of the code needs to survive the restart).

Re: Option to Restart

Posted: October 31st, 2008, 1:43 pm
by clobber
The flame was in ref to the "lazy" comment. But, I'm over it!  ;D

So, thanks for the tip on just clicking "Save" - that may well do the trick.

RAF - I don't like the VNC/Remote desktop solutions for this application. Normally they work fine, but with my HTPC it is not so good. Bringing up the remote display just gives me the HTPC gui (in this case Mediaportal). I often want access to sabnzbd on my HTPC while it is playing (and to possibly restart/shutdown). Really, its not that big of a deal I guess.......

Re: Option to Restart

Posted: November 8th, 2008, 2:01 am
by clobber
For example, last night I added 3 NZBs to the queue, but the download rate remained at zero. The connection status showed everything was normal with the right number of connections to my provider. I tried just clicking the save changes button under general config, but that did not start things. I had to go to the other computer and shutdown/restart sabnzbd to get things going again. This is not a big deal as it is infrequent.

Re: Option to Restart

Posted: November 8th, 2008, 4:41 am
by doubledrat
you could use the sysinternals' psexec command to execute a batch file containing sab stop/start command lines

Re: Option to Restart

Posted: November 8th, 2008, 8:27 am
by shypike
doubledrat: that's Windows only, we support more platforms.

clobber: Try clicking Save in Config->Folders, this will cause a warm restart.

Re: Option to Restart

Posted: February 20th, 2009, 4:12 pm
by Eejit
Has there been any update to this?
The reason I ask is that I work away from home for 2 weeks at a time and access SAB via a completely locked down PC. Can't install anything.
At present, Sab has frozen unpacking the latest episode of Lost. It's been like this for 2 days.
I can manually add new downloads via "upload file" but while this freeze is continuing, no downloads are happening, even though I do not have "Pause downloading during post processing" ticked.
It appears that it has stuck also at "fetching msgid xxxxxxxx from www.newzbin.com"

I have tried the Save in the Config>folders but it just timed out. In fact any attempt at saving anything in configure seems to work, but the web page times out.. This is unusual behaviour. My system is usually rock solid, but I think an option to restart would be invaluble. BTW, SAB is running on Vista x64.

Re: Option to Restart

Posted: February 21st, 2009, 7:17 am
by switch
A restart feature will be in 0.5

Re: Option to Restart

Posted: February 21st, 2009, 8:34 am
by Eejit
Brilliant!!!
Hope I don't need it though  ;D

Re: Option to Restart

Posted: February 21st, 2009, 9:45 am
by shypike
There will even be a scheduled restart.
This may be useful for people who experience stability problems when SABnzbd runs very long.

Re: Option to Restart

Posted: February 21st, 2009, 10:49 am
by Eejit
SAB just gets better and better. Can't wait for 0.5  ;D

Thanks to the development team for all the hard work.