Download Folder Location Keeps Reseting

Support for the Debian/Ubuntu package, created by JCFP.
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
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Download Folder Location Keeps Reseting

Post by djgray88 »

Hey Guys,

I keep changing the download folder location to an external drive. In my case "/media/My Book/Downloads/complete".

However when I restart it always resets to the default location. I've tried changing it through the GUI and by editing the sabnzbd.ini file.

I'm running Jolicloud which is an modified Ubuntu distro.

All help is greatly appreciated.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Download Folder Location Keeps Reseting

Post by shypike »

Make sure the external drive is mounted before SABnzbd is started.
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Re: Download Folder Location Keeps Reseting

Post by djgray88 »

I think the problem is that sabnzbd is starting on start up before the the drive is mounting.

How do you stop it launching at start up?

Thanks again for your help.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Download Folder Location Keeps Reseting

Post by shypike »

Depends on how you installed it.
Don't know much about autostart in Linux, so I'm moving this subject to the Ubuntu/Debian board.
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Re: Download Folder Location Keeps Reseting

Post by djgray88 »

Cheers shypike.

For the linux guys out there; I installed it with the method on the sabnzbd homepage.

That installed version 0.4.9 I think it was. Then my distro automatically updated it to 0.5.1RC2.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Download Folder Location Keeps Reseting

Post by jcfp »

djgray88 wrote: I think the problem is that sabnzbd is starting on start up before the the drive is mounting.

How do you stop it launching at start up?

Thanks again for your help.
See here. Just step 1 in that post is enough to disable auto-startup on boot; the rest discusses possible solutions to your problem.
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Re: Download Folder Location Keeps Reseting

Post by djgray88 »

Thanks jcfp. Not sure how I missed that thread.

I'm a linux n00b. What format should I save the script as?

Also the terminal returned

Code: Select all

 System startup links for /etc/init.d/sabnzbdplus already exist.
When I entered

Code: Select all

sudo update-rc.d sabnzbdplus stop 0 1 2 3 4 5 6 .
Is that a problem?
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Download Folder Location Keeps Reseting

Post by jcfp »

Try:

Code: Select all

sudo update-rc.d -f sabnzbdplus remove; sudo update-rc.d sabnzbdplus stop 02 0 1 2 3 4 5 6 .
Last edited by jcfp on April 12th, 2010, 4:23 pm, edited 1 time in total.
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Re: Download Folder Location Keeps Reseting

Post by djgray88 »

Returns

Code: Select all

 Removing any system startup links for /etc/init.d/sabnzbdplus ...
   /etc/rc0.d/K02sabnzbdplus
   /etc/rc1.d/K02sabnzbdplus
   /etc/rc2.d/K02sabnzbdplus
   /etc/rc3.d/K02sabnzbdplus
   /etc/rc4.d/K02sabnzbdplus
   /etc/rc5.d/K02sabnzbdplus
   /etc/rc6.d/K02sabnzbdplus
 Adding system startup for /etc/init.d/sabnzbdplus ...
   /etc/rc0.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
   /etc/rc1.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
   /etc/rc2.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
   /etc/rc3.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
   /etc/rc4.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
   /etc/rc5.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
   /etc/rc6.d/K02sabnzbdplus -> ../init.d/sabnzbdplus
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Download Folder Location Keeps Reseting

Post by jcfp »

All Kxx links, that means it's disable in all runlevels which is what you want.
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Re: Download Folder Location Keeps Reseting

Post by djgray88 »

Ah ok great.

What format/extension do I need to save the script as?
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Download Folder Location Keeps Reseting

Post by jcfp »

djgray88 wrote: What format/extension do I need to save the script as?
Just a simple text file, extension doesn't matter.
djgray88
Newbie
Newbie
Posts: 13
Joined: April 9th, 2010, 1:42 pm

Re: Download Folder Location Keeps Reseting

Post by djgray88 »

Doesn't seem to be working. Doesn't launch by itself. When I launch via terminal it still has default locations.

Now that it's not launching on startup I guess it will save the changes though. Which should be good enough.

Will try again tomorrow. Is time to hit the hay.

Thanks again for all your help.
Post Reply