SABnzbd on IOmega/Lenovo IX4-300d NAS

SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add a .nzb. SABnzbd takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction. Here is my guide how to install SABnzbd on your NAS!

This guide is outdated, please use my NZBGet guide :
https://stevenbreuls.com/2014/10/nzbget-on-iomegalenovo-ix4-300d-nas/

Requirements

– SSH Access(Guide Here)
– A startup Script(Guide Here)
– A Share called Downloads, or you can use any other share but make sure you change the commands to your sharename.

Installing SABnzbd

Login with SSH and run the next command:

/opt/bin/ipkg update

Then install the required apps :

/opt/bin/ipkg install python26 py26-cheetah py26-openssl par2cmdline git unrar unzip gcc

This may take a few minutes. After completing, check for any errors before continuing. now create a folder where we will download the SABnzbd client.

mkdir /mnt/pools/A/A0/Downloads/.apps/
mkdir /mnt/pools/A/A0/Downloads/SABnzbd
mkdir /mnt/pools/A/A0/Downloads/SABnzbd/incomplete
mkdir /mnt/pools/A/A0/Downloads/SABnzbd/completed
chmod -R 777 /mnt/pools/A/A0/Downloads/SABnzbd/incomplete
chmod -R 777 /mnt/pools/A/A0/Downloads/SABnzbd/completed
cd /mnt/pools/A/A0/Downloads/.apps/

now download the source code from github:

/opt/bin/git clone https://github.com/sabnzbd/sabnzbd.git

sabnzbdgitdownloading

when done, start SABnzb:

/opt/bin/python2.6 /mnt/pools/A/A0/Downloads/.apps/sabnzbd/SABnzbd.py --server 0.0.0.0 --daemon

now open SABnzb in your browser :

http://[NAS IP]:8080

Now Configure your SABnzbd:

In the access settings, you MUST choose the first option, you can set a username and password and enable https, leave the misc check box empty.
sabnzbdserversettings
 sabnzbdgeneralsettings

Now SABnzbd is ready, open the URL again and you’ll see the SABnzbd user webGUI:

http://[NAS IP]:8080

sabnzbdhead

now click “Config” in the left top and go to folder settings, copy the settings below.

SABnzbd Download Settings

If you want SABnzbd to download only at night, go to the tab “schedule” and configure your schedule

SABnzbd Download Schedule

To start the client automaticaly, add the folloing lines to your init-opt.sh script

PATH=$PATH:/opt/bin
export PATH
/opt/bin/python2.6 /mnt/pools/A/A0/Downloads/.apps/sabnzbd/SABnzbd.py --server 0.0.0.0 --daemon
echo "SABnzbd Started" >> /opt/init-opt.log

Now restart your NAS and the SABnzbd webgui should come online within a few minutes.

Extra - Unpacking password protected files

Navigate to your Downloads location(NAS//Downloads/SABnzbd) and create a new .txt file “passwords.txt” . Now open your SABnzbd in your internet browser, click config in the top left corner. Now click “Folders” and scroll down to “Password File” and paste this path :

/mnt/pools/A/A0/Downloads/SABnzbd/passwords.txt

Whenever you want to download a password protected file, add the password to the .txt file.(every passwords should be on a new line)(Long password files will dramatically increase unpack time, keep your password file clean!)

Extra - Auto add .nzb's

Open your SABnzbd download folder and create a new folder called “nzb”. Then open SABnzbd and click “Config” in the top left corner, then click “Folders”. Paste the following link in the ” Watched Folder” textbox :

/mnt/pools/A/A0/Downloads/SABnzbd/nzbs

Then change “Watched Folder scan speed” to whatever you want and click “Save Changes”.

Sabnzbdautoaddnzb

Every .nzb file you copy in this folder will be added automatically and removed from the folder.

32
Leave a Reply

Leave a Reply

  Subscribe  
newest oldest most voted
Notify of
Guy
Guest
Guy

I give as a server “reader.ipv6.xsnews.nl” into sab.
But when testing I get “Invalid server address.”
I think I need to set up IPv6 access somewhere or something.
But I do not see immediately how.

alfred
Member
alfred

I have 3 warnings unzip, unrar, par2 not found, is that a problem

Marius
Guest
Marius

Hi, did You notice very high system/network load?
I’am not able to download with speed more then 4 MB/s, while on windows machine with same configuration it is no problem to download with 12 MB/s (my max speed connection).
Also it happens that playback lags very badly when SABnzb is running on my lenovo (not even downloading just running) when I shutdown SAB lags disappear.
Do You have any solution for that?

Ray
Guest

Getting this message any ideas? I am complete noob to this. root@MilyardMedia:/# root@MilyardMedia:/# /opt/bin/ipkg install python26 py26-cheetah py26-openssl par2cmdline git unrar unzip gcc Nothing to be done An error ocurred, return value: 4. -sh: root@MilyardMedia:/#: No such file or directory Collected errors: Cannot find package python26. Check the spelling or perhaps run ‘ipkg update’ Cannot find package py26-cheetah. Check the spelling or perhaps run ‘ipkg update’ Cannot find package py26-openssl. Check the spelling or perhaps run ‘ipkg update’ Cannot find package par2cmdline. Check the spelling or perhaps run ‘ipkg update’ Cannot find package git. Check the spelling or perhaps run… Read more »

rmilyard
Guest

Steven any chance and an updated guide for installing this all? I have a new IX4-300d getting and would like to get it running.

Nick Wood
Guest

When I start up SAB, it says 2014-04-27 18:31:27,625 WARNING: unzip binary… NOT found! 2014-04-27 18:31:27,622 WARNING: unrar binary… NOT found 2014-04-27 18:31:27,619 ERROR: par2 binary… NOT found! root@NAS:/# /opt/bin/ipkg install python26 py26-cheetah py26-openssl par2cmdline git unrar unzip gcc Package python26 (2.6.8-1) installed in root is up to date. Package py26-cheetah (2.4.2.1-1) installed in root is up to date. Package py26-openssl (0.10-1) installed in root is up to date. Package par2cmdline (0.4-4) installed in root is up to date. Package git (1.8.4.2-1) installed in root is up to date. Package unrar (5.0.12-1) installed in root is up to date. Package… Read more »

Marius
Guest
Marius

Hi Steven, I was searching for the answer for the slow download and I think it is because there is only 512 MB Ram in lenovo. Solution to this could be installing nzbget – it is sabnzb alternative for devices with low memory. On their website there is info that it is possible to install it from optware but I when I try it I get error: Cannot find package nzbget. Check the spelling or perhaps run ‘ipkg update’ Can You please write a tutorial how to install it. And while You are at it maybe nzbdrone? It is so… Read more »

rmilyard
Guest

Steven next errors: Doing /opt/bin/ipkg install python26 py26-cheetah py26-openssl par2cmdline git unrar unzip gcc I get this: root@MilyardMedia2:/# /opt/bin/ipkg install python26 py26-cheetah py26-openssl par2cmdline git unrar unzip gcc Package python26 (2.6.8-1) installed in root is up to date. Package py26-cheetah (2.4.2.1-1) installed in root is up to date. Package py26-openssl (0.10-1) installed in root is up to date. Package par2cmdline (0.4-4) installed in root is up to date. Package git (1.8.4.2-1) installed in root is up to date. Package unrar (5.0.12-1) installed in root is up to date. Package unzip (6.0-2) installed in root is up to date. Installing gcc… Read more »

Marius
Guest
Marius

Hi, I have exactly the same problem. “Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ncursesw_5.7-2_arm.ipk ipkg: write: No space left on device” Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk Configuring bzip2 update-alternatives: Linking //opt/bin/bzip2 to /opt/bin/bzip2-bzip2 Configuring diffutils update-alternatives: Linking //opt/bin/cmp to /opt/bin/diffutils-cmp update-alternatives: Linking //opt/bin/diff to /opt/bin/diffutils-diff update-alternatives: Linking //opt/bin/diff3 to /opt/bin/diffutils-diff3 update-alternatives: Linking //opt/bin/sdiff to /opt/bin/diffutils-sdiff Configuring expat Configuring git Configuring libcurl Configuring libdb Configuring libstdc++ Configuring ncurses update-alternatives: Linking //opt/bin/clear to /opt/bin/ncurses-clear Configuring ncursesw Configuring openssl Configuring par2cmdline Configuring py26-cheetah Configuring py26-openssl Configuring python26 Configuring rcs Configuring readline Configuring sqlite Configuring unrar Configuring unzip update-alternatives: Linking //opt/bin/unzip to /opt/bin/unzip-unzip Configuring zlib An error ocurred, return value: 22. Collected… Read more »

Marius
Guest
Marius

Just to clarify it is a clean NAS installation. I’ve updated firmware, pulled out all the HDD’s, cleaned them under windows machine, put them back again, did full factory reset and then tried to install SABnzbd.

Marius
Guest
Marius

Like I wrote before /opt/bin/ipkg update doesn’t work. I was using it from the beginning.
Any idea why directory /opt/bin/ipkg is deleted after every restart?
Maybe it has something to do with permissions?

Also this is getting me worried:

“Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ncursesw_5.7-2_arm.ipk
ipkg: write: No space left on device”

How can it be out of space? Or maybe it is possible to install it to polls?

Did You get the same error?

Marius
Guest
Marius

HI. Today (after restart when every thing was deleted) I started with gcc and it was successful. After that I downloaded python and it crashed. Here is the log: root@NAS:/# /opt/bin/ipkg install gcc Installing gcc (4.2.3-1) to root… Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk Installing binutils (2.19.1-1) to root… Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/binutils_2.19.1-1_arm.ipk Installing libc-dev (2.5-5) to root… Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libc-dev_2.5-5_arm.ipk Installing libnsl (2.5-4) to root… Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/libnsl_2.5-4_arm.ipk ipkg: write: No space left on device Configuring binutils update-alternatives: Linking //opt/bin/strings to /opt/bin/binutils-strings Configuring gcc Configuring libc-dev Configuring libnsl Successfully terminated. root@NAS:/# /opt/bin/ipkg install python26 Installing python26 (2.6.8-1) to root… Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/python26_2.6.8-1_arm.ipk ^Cxsystem: ERROR: Child process died due… Read more »

mike
Guest
mike

I have the same problem since the latest firmware. No space on device is the error message I receive.

rodrigo
Guest
rodrigo

Did anyone find a solution?
It’s very annoying !!