Completed Download folder keeps resetting

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
Taomyn
Full Member
Full Member
Posts: 129
Joined: August 25th, 2008, 3:29 am

Completed Download folder keeps resetting

Post by Taomyn »

Hi,

I'm running 0.5.0.RC6 as a service under Windows 2008 server, everything is fine except that I have an issue that when the server reboots, SABnzbd resets the folder for completed downloads back to default. It only happens on a reboot and never if I simply restart the application itself.

I can see the change being made by the configuration in the INI file:

Code: Select all

complete_dir = \\qnap\Qmultimedia\Downloaded
It's my QNAP NAS that I am setting the folder to - tried both NAS name and also it's FQDN.

It works fine all the time once I set it, but then I reboot at which point when I next look it has changed back.

Are values stored anywhere else?

Does SABnzbd do a check to see if the folder exists and then reset it if it doesn't? If so it would be nice if it told me or if this could be disabled. I can only think that during the server start up, SABnzbd cannot for some reason access the NAS and fails the folder. I tried delaying the service start, there's a new service option with Win2k8 to delay services, but it hasn't made any difference.

This never happened with 0.4 so not sure what I could have done to make this start happening now.

Any ideas?

Version: 0.5.0 RC 6
OS: Windows Server 2008 R2
Install-type: Windows Installer, running as service
Skin (if applicable): n/a
Firewall Software: n/a
Are you using IPV6? no
Is the issue reproducible? yes
Last edited by Taomyn on February 18th, 2010, 11:12 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Completed Download folder keeps resetting

Post by shypike »

If the path on the QNAP is not available when SABnzbd is restarted,
a default path will be substituted.
User avatar
Taomyn
Full Member
Full Member
Posts: 129
Joined: August 25th, 2008, 3:29 am

Re: Completed Download folder keeps resetting

Post by Taomyn »

shypike wrote: If the path on the QNAP is not available when SABnzbd is restarted,
a default path will be substituted.
Any chance that maybe it doesn't change the stored value, but simply uses the default when the folder is not available and reverts back once it does? It can then issue a warning. It's really annoying since v0.4 never did this.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Completed Download folder keeps resetting

Post by shypike »

Taomyn wrote: Any chance that maybe it doesn't change the stored value, but simply uses the default when the folder is not available and reverts back once it does?
That's what it does.
We cannot just change folders at any time.
SABnzbd might be in the middle of something.
The best way is to launch SABnzbd with a small batch script that loops until the folder is present.
Post Reply