solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

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
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

Post by sander »

FYI:

Windows 7, an old SAB version (060 beta 2) running as service. I tried to install the 065 version (as admin, with elevated rights), but I got:


Code: Select all

Output folder: C:\Program Files (x86)\SABnzbd
Extract: CHANGELOG.txt... 100%
Extract: COPYRIGHT.txt... 100%
Extract: GPL2.txt... 100%
Extract: GPL3.txt... 100%
Extract: INSTALL.txt... 100%
Extract: ISSUES.txt... 100%
Extract: README.txt... 100%
Extract: SABnzbd-console.exe... 100%
Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe

Solved by first stopping both SABnzbd services, then installing the new version, and then starting both SABnzbd services again.

So, @shypike: is this designed behaviour, or should the Windows SABnzbd install procedure first stop the services?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

Post by shypike »

It won't stop the service.
This feature is for people who know what they're doing.
This aspect is also described in our run-as-service page on the Wiki.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: solved: "Can't write: C:\Program Files (x86)\SABnzbd\SABnzbd-service.exe"

Post by sander »

OK, I found it: "You can upgrade SABnzbd without changing the service registrations, but you do need to stop both services first"

Thanks!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply