Page 1 of 1

Change Download Directories in Ubuntu

Posted: June 8th, 2009, 4:01 pm
by Stroodle713
I'm currently downloading to /home/user/downloads and its pretty much out of hard drive space.  I want to start downloading to /host/Downloads but every time I change the path it saves it to /home/user/host/downloads.  I even tried file:///host/Downloads but it even creates /home/user/file:/ folder.  I'm using Ubuntu 9.04 - Jaunty
Any ideas?

Re: Change Download Directories in Ubuntu

Posted: June 8th, 2009, 5:33 pm
by DeXeS
Where do you change it? do you change the path in the ini file or in the config. Try them both out..

And does the rest get of the settings reset when you restart the program? if so, maybe sabnzbd.ini got it's permissions changed so that sabnzbd can't change it anymore or is write protected

Re: Change Download Directories in Ubuntu

Posted: June 8th, 2009, 7:22 pm
by Stroodle713
They settings don't reset and I tried changing the path in the config and .ini file but still no luck.  Same problem

Re: Change Download Directories in Ubuntu

Posted: June 8th, 2009, 9:49 pm
by Stroodle713
No luck, it still creates a host folder in home/user

Re: Change Download Directories in Ubuntu

Posted: June 9th, 2009, 1:45 am
by shypike
Stroodle713 wrote: No luck, it still creates a host folder in home/user
Please email your INI file (with passwords removed) to [email protected]
we'll check it.

Re: Change Download Directories in Ubuntu

Posted: June 10th, 2009, 4:03 pm
by Stroodle713
Just sent it, but I do not think it's anything with the ini file.  I think it's because of the way it installed into my home/user folder

Re: Change Download Directories in Ubuntu

Posted: June 10th, 2009, 4:14 pm
by shypike
Nothing odd in the INI file.

How do you start up SABnzbd?
If you start it like this:

Code: Select all

./SABnzbd.py
it will look in ~/.sabnzbd for the INI file and create most folder there,
except for "download".

If you start it like this (typical for servers):

Code: Select all

./SABnzbd -f /home/myname/sabnzbd.ini -d
it will create all folders in the the /home/myname folder (if allowed).

Most practical way to do it this:

Code: Select all

./SABnzbd -f /home/myname/usenet/sabnzbd.ini -d
Then alll folders will be created in ~/usenet.

BTW: in the INI file or using the UI, you can give each folder a full path (starting with '/'),
so it will not be influenced by the location of the INI file.

You must make sure that SABnzbd has the rights to create folders and files where it has to.

Re: Change Download Directories in Ubuntu

Posted: June 10th, 2009, 10:46 pm
by libertao
Sorry this might be really obvious but I'm new to the linux file structure.  I'm trying to do something similar -- make the complete folder on a different drive.  I tried using the file path from the folder's window  "/media/Data/complete" -- should there be something else in front of that path  or something instead of "media" which I take it is a reference to the disk being mounted?  Apologies if this is a question more germane to the ubuntu forums.

Re: Change Download Directories in Ubuntu

Posted: June 11th, 2009, 5:23 am
by shypike
If /media/Data/complete is usable in another piece of software, SABnzbd should acceopt it too.
The best test is a terminal window where do test something like:

Code: Select all

echo Hello > /media/Data/complete/test.txt
If that gives an error message, then there's something wrong.

Re: Change Download Directories in Ubuntu

Posted: June 11th, 2009, 6:26 am
by libertao
shypike wrote: If /media/Data/complete is usable in another piece of software, SABnzbd should acceopt it too.
The best test is a terminal window where do test something like:

Code: Select all

echo Hello > /media/Data/complete/test.txt
If that gives an error message, then there's something wrong.
Yeah, it gives an error message of No such file or directory.  I got the file path from the location bar of the folder window.  Do you know where I'm supposed to get the actual file path from?

Re: Change Download Directories in Ubuntu

Posted: June 11th, 2009, 9:54 am
by shypike
Look at what does exist.
Start with

Code: Select all

ls /
then if you see "media", then:

Code: Select all

ls /media
etc.
Good luck.

Re: Change Download Directories in Ubuntu

Posted: June 11th, 2009, 10:43 am
by libertao
Thanks for the help.  I'm away from my computer but now that it's not late night or early morning, I just realized that it's probably because sabnzbd can't create the complete folder without sudo privileges.  I shall see tonight, though.  Thanks again!