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 on how to install SABnzbd on your NAS!

Requirements

This guide is outdated, please use my NZBGet guide

– 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 share name.

Installing SABnzbd

Login with SSH and run the following command to update your package manager to the latest version

/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. Then 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

Configuring SABnzbd
In the access settings, you MUST choose the first option, you can set a username and password and enable https, leave the misc checkbox 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 password 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.

Share:

Facebook
Twitter
Pinterest
LinkedIn

32 Responses

  1. 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.

    1. I seem to have the same problem with this server, Python or Sabnzbd should not be the problem here since they are both up to date, I also found that my internet provider and the IX4-300d don’t support ipv6 but i’m not sure if this would affect software aswell.

      1. that was the solution, found it out myself, now i want to set the ix4-300d up as webserver, but the conf files of apache is on read only file system

        1. Hello, did you sort out the read only problem? I would like to change the Apache config, but cannot modify the httpd* conf files, read only filesystem.. where is it mounted as read-only i the startup of the ix4-300d ?

  2. 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?

  3. For some reason the download speed is limited to 4-5 MB/s. I am not having problems with playback however i disabled the build in “Media server” since it does not work very well and causes high system load even without custom servers… Are you connected with 100Mbit or 1Gbit connection? 100Mbit will not be enough for downloading and streaming HQ video’s at the same time.You can always try to bind the 2 network adapters to double your speed.

  4. 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 ‘ipkg update’
    Cannot find package unrar.
    Check the spelling or perhaps run ‘ipkg update’
    Cannot find package unzip.
    Check the spelling or perhaps run ‘ipkg update’
    Cannot find package gcc.
    Check the spelling or perhaps run ‘ipkg update’
    root@MilyardMedia:/#

    1. try running “/opt/bin/ipkg update” first… also make sure your NAS is connected to the internet since ipkg will download these apps.

      1. Getting ready today to setup my second ix4-300d. I have one that will be stock to house all my movies etc. I was thinking about setting this second one up with these programs to pretty much use for TV shows. I am not a Linux guy by any means and don’t want to mess this up.

  5. 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 unzip (6.0-2) installed in root is up to date.
    Package gcc (4.2.3-1) installed in root is up to date.
    Nothing to be done
    Successfully terminated.

  6. 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 painful that sick beard doesn’t handle failed downloads and nzbdrone handles it quite well.

    If You need some one to test it please write to me.

    1. As far as I know it is not possible to bypass this limit, other download servers are also limited however I’m not sure if the build in transmission client is limited as well

  7. 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 (4.2.3-1) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk
    Nothing to be done
    An error ocurred, return value: 22.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 3: `wget –passive-ftp -q -P /opt/ipkg-5yYGjA http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk
    Failed to download gcc. Perhaps you need to run ‘ipkg update’?
    root@MilyardMedia2:/#

    Then if I try this:

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

    In the Downloads/.apps

    I get:

    root@MilyardMedia2:/mnt/pools/A/A0/Downloads/.apps# /opt/bin/git clone https://github.com/sabnzbd/sabnzbd.git
    Cloning into ‘sabnzbd’…
    warning: templates not found /opt/share/git-core/templates
    fatal: Unable to find remote helper for ‘https’
    root@MilyardMedia2:/mnt/pools/A/A0/Downloads/.apps#

  8. 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 errors:
    ipkg_download: ERROR: Command failed with return value 3: `wget –passive-ftp -q -P /opt/ipkg-rXPB0T http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk
    Failed to download gcc. Perhaps you need to run ‘ipkg update’?

    What is strange that there is a problem gcc (the last one), if i try to install again all the packages I get:

    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 (4.2.3-1) to root…
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk
    Nothing to be done
    An error ocurred, return value: 22.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 3: `wget –passive-ftp -q -P /opt/ipkg-aFBC6Y http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/gcc_4.2.3-1_arm.ipk
    Failed to download gcc. Perhaps you need to run ‘ipkg update’?

    But after restart script will install them again. Is it possible that they get deleted every time NAS restarts?

  9. 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.

  10. 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?

  11. 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 to signal 2: `wget –passive-ftp -q -P /opt/ipkg-TtcgZY http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/python26_2.6.8-1_arm.ipk
    Nothing to be done
    An error ocurred, return value: 22.
    Collected errors:
    Failed to download python26. Perhaps you need to run ‘ipkg update’?
    root@NAS:/#

    I think it has something to do with to low memory on the device.

Leave a Reply

Your email address will not be published. Required fields are marked *

On Key

Related Posts