Page 1 of 2
unable to redirect download directory
Posted: October 27th, 2012, 2:51 pm
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
Re: unable to redirect download directory
Posted: October 27th, 2012, 4:58 pm
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?
Re: unable to redirect download directory
Posted: October 27th, 2012, 10:12 pm
by howardsternisbatman
thanks for your reply sander.
Code: Select all
pi@raspberrypi ~ $ touch /media/NAS/_Usenet/blabla.txt
pi@raspberrypi ~ $
the file was created.
Re: unable to redirect download directory
Posted: October 28th, 2012, 1:36 am
by sander
Under which account is SABnzbd running on the Raspi? Is it "pi", or another account?
What is the output of
Re: unable to redirect download directory
Posted: October 28th, 2012, 2:50 pm
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
Re: unable to redirect download directory
Posted: October 28th, 2012, 3:02 pm
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.
Re: unable to redirect download directory
Posted: October 28th, 2012, 5:06 pm
by howardsternisbatman
same error
complete_dir directory: /media/NAS/_Usenet error accessing
perhaps best to uninstall and start again?
Re: unable to redirect download directory
Posted: October 28th, 2012, 5:12 pm
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:
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.
Re: unable to redirect download directory
Posted: October 28th, 2012, 10:18 pm
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.
Re: unable to redirect download directory
Posted: October 29th, 2012, 12:07 am
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...
Re: unable to redirect download directory
Posted: October 29th, 2012, 8:01 am
by howardsternisbatman
Running it as a service would be best as SABnzbd isn't DL 24/7
Re: unable to redirect download directory
Posted: October 29th, 2012, 8:45 am
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?
Re: unable to redirect download directory
Posted: October 29th, 2012, 11:19 am
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.
Re: unable to redirect download directory
Posted: October 29th, 2012, 3:03 pm
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?"
Re: unable to redirect download directory
Posted: October 29th, 2012, 5:13 pm
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.