Change Download Directories in Ubuntu

Get help with all aspects of SABnzbd
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
Stroodle713
Newbie
Newbie
Posts: 4
Joined: June 8th, 2009, 3:42 pm

Change Download Directories in Ubuntu

Post 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?
DeXeS
Release Testers
Release Testers
Posts: 206
Joined: January 28th, 2008, 1:04 pm
Location: The Netherlands

Re: Change Download Directories in Ubuntu

Post 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
Stroodle713
Newbie
Newbie
Posts: 4
Joined: June 8th, 2009, 3:42 pm

Re: Change Download Directories in Ubuntu

Post 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
Stroodle713
Newbie
Newbie
Posts: 4
Joined: June 8th, 2009, 3:42 pm

Re: Change Download Directories in Ubuntu

Post by Stroodle713 »

No luck, it still creates a host folder in home/user
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Change Download Directories in Ubuntu

Post 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.
Stroodle713
Newbie
Newbie
Posts: 4
Joined: June 8th, 2009, 3:42 pm

Re: Change Download Directories in Ubuntu

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Change Download Directories in Ubuntu

Post 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.
libertao
Newbie
Newbie
Posts: 9
Joined: September 6th, 2008, 1:52 pm

Re: Change Download Directories in Ubuntu

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Change Download Directories in Ubuntu

Post 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.
libertao
Newbie
Newbie
Posts: 9
Joined: September 6th, 2008, 1:52 pm

Re: Change Download Directories in Ubuntu

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Change Download Directories in Ubuntu

Post 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.
libertao
Newbie
Newbie
Posts: 9
Joined: September 6th, 2008, 1:52 pm

Re: Change Download Directories in Ubuntu

Post 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!
Post Reply