hello, and thanks for taking the time to try and help me first things first my setup:
Version: 0.5.0Beta4
OS: Ubuntu Karmic
Install-type: Linux repository
every time i restart my pc the download folders change back to defaults ('/username/.sabnzbd/downloads')
i wish for them to be ('/media/sdc1/')
if i change them in config then restart the server they stay as i have set them, but only revert to defaults if i restart which leads me to believe sabnzbd loads before the drives are mounted correctly.
if anyone knows of a way to rectify this i would be greatful to hear it.
thanks in advance.
[Linux] download directories dont save
Forum rules
Help us help you:
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.
-
- Newbie
- Posts: 8
- Joined: November 26th, 2009, 7:12 pm
Re: [Linux] download directories dont save
How do you start SABnzbd?
If you run it in user mode, the administrative files are all in $HOME/.sabnzbd and
the downloaded files in $HOME/downloads/incomplete (temporary)
and $HOME/downloads/complete (final).
The configuration file sabnzbd.ini is in the $HOME/.sabnzbd folder.
Make sure it's writable.
When you start it as a daemon, look at the package instructions to configure it properly.
We do not create the packages. However the maintainer of the package
has a thread in the General section, top item.
If you run it in user mode, the administrative files are all in $HOME/.sabnzbd and
the downloaded files in $HOME/downloads/incomplete (temporary)
and $HOME/downloads/complete (final).
The configuration file sabnzbd.ini is in the $HOME/.sabnzbd folder.
Make sure it's writable.
When you start it as a daemon, look at the package instructions to configure it properly.
We do not create the packages. However the maintainer of the package
has a thread in the General section, top item.
Re: [Linux] download directories dont save
Logic dictates two possible fixes: mount the partitions timely (by adding them to /etc/fstab - google knows how), or delay the startup of sab until a certain condition is met (like a specific directory being available). The latter can be done as follows:benharvey1985 wrote:if i change them in config then restart the server they stay as i have set them, but only revert to defaults if i restart which leads me to believe sabnzbd loads before the drives are mounted correctly.
1. Disable the normal auto-startup:
Code: Select all
sudo update-rc.d sabnzbdplus stop 0 1 2 3 4 5 6 .
Code: Select all
while [ ! -d /YOUR/DIR/HERE ]; do sleep 10; done
/etc/init.d/sabnzbdplus start
Code: Select all
/bin/sh /FULL/PATH/TO/YOUR/SCRIPT &
-
- Newbie
- Posts: 8
- Joined: November 26th, 2009, 7:12 pm
Re: [Linux] download directories dont save
thanks for the quick replies, i shall try these suggestions and report back.
-
- Newbie
- Posts: 8
- Joined: November 26th, 2009, 7:12 pm
Re: [Linux] download directories dont save
i had to do a fresh install of 0.4.12 and managed to use a handy tool to mount them using fstab (took about 5 minutes) using "storage device manager" which i added using the command:
and then running it from System > Admin > Storage Device Manager
thank you shypike and jcfp for giving me some more ideas and helping me solve this.
Code: Select all
sudo apt-get install pysdm
thank you shypike and jcfp for giving me some more ideas and helping me solve this.