Page 1 of 1

Completed Download folder keeps resetting

Posted: February 18th, 2010, 11:10 am
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

Re: Completed Download folder keeps resetting

Posted: February 18th, 2010, 11:56 am
by shypike
If the path on the QNAP is not available when SABnzbd is restarted,
a default path will be substituted.

Re: Completed Download folder keeps resetting

Posted: February 18th, 2010, 1:43 pm
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.

Re: Completed Download folder keeps resetting

Posted: February 18th, 2010, 2:34 pm
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.