SABnzbd Windows Service Update

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
Gravis856
Newbie
Newbie
Posts: 8
Joined: February 24th, 2008, 1:44 pm

SABnzbd Windows Service Update

Post by Gravis856 »

I'm just curious as to the correct process in which to update SABnzbd as a Windows service. Currently, I have a folders labeled 'Usenet', with a subfolder labeled 'SABnzbd'.

To update I first,
-DL the newest windows binary files and unzip to a temp folder
-stop both services
-copy out my current .ini file, admin and log folders
-replace files in my home SAB folder with the updated binary ones
-move my .ini, admin and log folders back in
-start services

Each time, this works, however its a bit cumbersome. Is there are more fluid way of doing this (such as just writing over the .exe files w/ the new ones) or is the price I pay for not using the installer?

Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd Windows Service Update

Post by shypike »

Don't mix the data and the program files.
Stopping the service is unavoidable.
Gravis856
Newbie
Newbie
Posts: 8
Joined: February 24th, 2008, 1:44 pm

Re: SABnzbd Windows Service Update

Post by Gravis856 »

Okay, understood. What qualifies as the data vs program ones?

Basically seeing what I have to replace with each update and which ones I can leave alone in a separate folder.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd Windows Service Update

Post by shypike »

When installing the service, you set a -f parameter.
SABnzbd will create a number of folders at the location set by that parameter.
So don't set the work folders to be inside SABnzbd's program folder.
BTW you can safely xcopy the new program files over the existing ones,
at least when both services are down.
Post Reply