unable to redirect download directory

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.
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

unable to redirect download directory

Post by howardsternisbatman »

Hello,

I installed successfully on to a Raspberry Pi (Debian Wheezy), everything is working great. However, I have tried to redirect the Temporary and Completed download paths to my My Book Live and I keep receiving the error

ERROR: download_dir directory: /media/NAS/_Usenet error accessing

I have the NAS mounted and can SSH to the Pi and read/write with no problem to the path above, it just seems as tho Sabnzbd does not like it. I'm baffled at this point and I have spent many hours already experimenting. <scratches back of head>

Any ideas folks?

Babbabooey to'yall
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

Can you login into the Raspi, and do this :

Code: Select all

touch /media/NAS/_Usenet/blabla.txt
and put the output here?
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

Re: unable to redirect download directory

Post by howardsternisbatman »

thanks for your reply sander.

Code: Select all

pi@raspberrypi ~ $ touch /media/NAS/_Usenet/blabla.txt
pi@raspberrypi ~ $
the file was created.
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

Under which account is SABnzbd running on the Raspi? Is it "pi", or another account?

What is the output of

Code: Select all

ls -al /media/NAS/_Usenet
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

Re: unable to redirect download directory

Post by howardsternisbatman »

pi@raspberrypi /media/NAS/_Usenet $ ls -al /media/NAS/_Usenet
total 0
drwxr-xr-x 1 pi users 0 Oct 28 18:23 .
drwxr-xr-x 1 pi users 0 Oct 28 19:12 ..
-rwxr-xr-x 0 pi users 0 Oct 28 03:10 blabla.txt
drwxr-xr-x 0 pi users 0 Oct 22 16:14 HowardStern
drwxr-xr-x 0 pi users 0 Oct 26 20:21 Movies
drwxr-xr-x 0 pi users 0 Oct 15 16:43 Music
drwxr-xr-x 0 pi users 0 Oct 28 17:51 TV
drwxr-xr-x 0 pi users 0 Oct 27 04:11 xpi
drwxr-xr-x 0 pi users 0 Oct 27 00:40 xtemp

I followed these instructions for setup
http://www.cylindric.net/blog/raspberry ... uchpotato/


thanks
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

You did not answer my first question ...

... but I read the setup instruciton you used, and my question was right on: you're running sabnzbd as another user 'nzb' or 'sabnzbd' which does not have writing rights.

Here's how to solve that:

Code: Select all

cd /media/NAS/_Usenet
sudo chmod a+w *
Then try SAB again.

EDIT:

BTW: IMHO that instruction is overcomplicated for SABnzbd.
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

Re: unable to redirect download directory

Post by howardsternisbatman »

same error

complete_dir directory: /media/NAS/_Usenet error accessing

perhaps best to uninstall and start again?
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

howardsternisbatman wrote: perhaps best to uninstall and start again?
Yes, indeed. And really remove all SABnzbd files you created. I find the instruction you used overcomplicated.

It's best to do a fresh install of the OS on your Raspi SD-card.

A plain "sudo apt-get install sabnzbdplus" should be enough

With SABnzbd not yet (and never) installed, this is the instruction:

First find out the IP address of the raspi with:

Code: Select all

ifconfig
Then

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install sabnzbdplus
sabnzbdplus -s 0.0.0.0:8080 -b 0
Then start a browser on your own machine or on the Raspi and point to the the IP address of the Raspi : 8080 (so something like: http://192.168.1.54:8080/ ) , and follow the wizard.

After that, you can make your life easier with:

Code: Select all

sudo apt-get install libnss-mdns miredo
That should give you bonjour and IPv6.
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

Re: unable to redirect download directory

Post by howardsternisbatman »

you the man! thanks, that worked. Lastly, if I may, where has this installed sabnzbplus to? I'd like to upgrade to the latest version as this has given me 0.6.15

Awesome, thanks for helping me out.
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

howardsternisbatman wrote:you the man! thanks, that worked. Lastly, if I may, where has this installed sabnzbplus to? I'd like to upgrade to the latest version as this has given me 0.6.15

Awesome, thanks for helping me out.
How do you want to run SABnzbd: from the command line, or as a service? If you want to run from the command line, I have an easy solution for you...
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

Re: unable to redirect download directory

Post by howardsternisbatman »

Running it as a service would be best as SABnzbd isn't DL 24/7
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

howardsternisbatman wrote:Running it as a service would be best as SABnzbd isn't DL 24/7
First: is everything (and I mean: everything) running perfectly from the command line? Everything works?
howardsternisbatman
Newbie
Newbie
Posts: 10
Joined: October 27th, 2012, 2:43 pm

Re: unable to redirect download directory

Post by howardsternisbatman »

yup, all good. I did the redirect of the folders, downloads working and can access from a browser on the network all while running it from the command line.
User avatar
sander
Release Testers
Release Testers
Posts: 9261
Joined: January 22nd, 2008, 2:22 pm

Re: unable to redirect download directory

Post by sander »

OK. Probably best that you create a new thread in this same Debian/Ubuntu Package forum with subject "uptodate SAB on Raspbian: PPA?"
User avatar
jcfp
Release Testers
Release Testers
Posts: 1022
Joined: February 7th, 2008, 12:45 pm

Re: unable to redirect download directory

Post by jcfp »

As far as I can tell Raspbian is very close to plain Debian, certainly for high-level architecture independent software such as sab. After all, they describe themselves as "an unofficial port of Debian Wheezy armhf with compilation settings adjusted to produce optimized "hard float" code that will run on the Raspberry Pi". The instructions for updating in Debian (wheezy!) will probably just work, ppa included.
Post Reply