sabnzbd ix4-300d
CategoriesIX4-300D

SABnzbd on IX4-300d

SABnzbd is designed to make using Usenet as simple and efficient as possible by automating nearly every step of the process. Once you provide it with a .nzb file, SABnzbd handles the rest seamlessly—no further user action is required. The program takes care of downloading the content, verifying its integrity, repairing any errors, extracting the files, and neatly organizing everything for you. This level of automation removes the usual complexity associated with Usenet, making it a user-friendly solution for both beginners and seasoned users alike.

If you’re looking to harness the power of SABnzbd on your own server, you’re in the right place. In this guide, I’ll walk you through the full process of installing SABnzbd on your NAS. Whether you’re running a home media setup or simply want an efficient way to manage your downloads, this setup will help you get started with minimal effort while maximizing performance and convenience.

Requirements

Note: This guide is outdated. For a more up-to-date solution, please refer to my [NZBGet installation guide].

Before starting, ensure you meet the following prerequisites:

  • SSH Access to your NAS:
    You must be able to connect to your NAS via SSH. If you’re unsure how to do this, refer to my dedicated SSH guide.

  • Startup Script Ready:
    You’ll need a custom startup script (init-opt.sh) to run SABnzbd automatically when your NAS boots. You can find a complete setup guide for that in my startup script tutorial.

  • Downloads Share Available:
    The default setup in this guide assumes you have a share named Downloads. If you use a different share, make sure to replace all paths accordingly throughout the guide.

 

 Installing SABnzbd

Update the Package Manager
First, log in to your NAS using SSH and run the following command to make sure your package list is up-to-date:

/opt/bin/ipkg update

Install Required Dependencies
Now install all required tools and libraries needed for SABnzbd:

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

This process may take a few minutes. Wait until all installations are completed successfully and check for errors before proceeding.

Prepare Directory Structure
Create the necessary folders to install and run SABnzbd, as well as to store incomplete and completed downloads:

mkdir -p /mnt/pools/A/A0/Downloads/.apps/
mkdir -p /mnt/pools/A/A0/Downloads/SABnzbd/incomplete
mkdir -p /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/

Download SABnzbd Source Code
Clone the latest SABnzbd source from GitHub:

/opt/bin/git clone https://github.com/sabnzbd/sabnzbd.git
ix4-300d git clone sabnzbd

Start SABnzbd for the First Time
Launch the server in the background as a daemon:

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

Access SABnzbd Web Interface
Open your browser and navigate to:

http://[YOUR_NAS_IP]:8080

 

Configuring SABnzbd

Once the web interface is accessible, it’s time to complete the initial configuration:

sabnzbdserversettings

sabnzbdgeneralsettings

Set Access Preferences
During the first launch wizard:

    • Select the first access option.

    • (Optional) Set a username and password.

    • (Optional) Enable HTTPS if desired.

    • Leave any miscellaneous options unchecked.

  • Configure Folders

    Go to ConfigFolders and set the appropriate paths:

      • Temporary Download Folder:
        /mnt/pools/A/A0/Downloads/SABnzbd/incomplete

      • Completed Download Folder:
        /mnt/pools/A/A0/Downloads/SABnzbd/completed

SABnzbd Download Settings

Set Download Schedule (Optional)
Navigate to the Scheduling tab if you want SABnzbd to run only at specific times (e.g., night-time downloads).

SABnzbd Download Schedule

Enable Autostart on Boot
Add the following lines to your init-opt.sh startup 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

After restarting your NAS, SABnzbd should automatically launch within a few minutes.

sabnzbdhead

 

Extra – Automatically Add .NZB Files

To enable automatic importing of NZB files:

  1. Create a new folder inside your SABnzbd directory:

    mkdir /mnt/pools/A/A0/Downloads/SABnzbd/nzbs
  2. Open SABnzbd, go to ConfigFolders, and set:

    • Watched Folder:
      /mnt/pools/A/A0/Downloads/SABnzbd/nzbs

    • Scan Interval:
      Set it to your preference (e.g., every 1–5 minutes)

Now, any .nzb file placed into the nzbs folder will automatically be added to SABnzbd and removed after processing.

Sabnzbdautoaddnzb

32 comments on “SABnzbd on IX4-300d”

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.

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.

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

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 ?

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?

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.

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:/#

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

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.

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.

seems that your PATH variable is not set correctly, paste following line on top of your startup script:
PATH=$PATH:/opt/bin

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.

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

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#

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?

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.

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?

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 *