Page 1 of 1
Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 8:19 am
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.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 8:34 am
by shypike
Make sure the external drive is mounted before SABnzbd is started.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 10:38 am
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.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 11:52 am
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.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 1:08 pm
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.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 3:47 pm
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.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:10 pm
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?
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:21 pm
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 .
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:26 pm
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
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:28 pm
by jcfp
All Kxx links, that means it's disable in all runlevels which is what you want.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:30 pm
by djgray88
Ah ok great.
What format/extension do I need to save the script as?
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:38 pm
by jcfp
djgray88 wrote:
What format/extension do I need to save the script as?
Just a simple text file, extension doesn't matter.
Re: Download Folder Location Keeps Reseting
Posted: April 12th, 2010, 4:57 pm
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.