SABnzbd and Python on the ReadyNAS

Since many ReadyNAS users seemed to have problems getting SABnzbd to run on their ReadyNAS, I decided to give it a try. The result:

To make those work, Python must be installed on the ReadyNAS as well. As usual, there’s Python for ReadyNAS (Intel) and Python for ReadyNAS (Sparc). Setup instructions:

  1. After installation of the add-on, SABnzbd’s web interface can be accessed by typing http://<ip of your NAS>:2708/ in your browser’s address field. You will be presented with the setup wizard:
    SABnzbd Setup Wizard

    SABnzbd setup wizard

  2. After choosing your language and clicking on “Start Wizard” you’ll be taken to the theme selection. I prefer the “Plush” theme but the choice is yours:
    SABnzbd Theme Selection

    SABnzbd theme selection

  3. If you want to protect access to the SABnzbd web interface, enter the credentials on the next screen. Important: If you opt to use HTTPS here, the port on which the interface is accessible will change to :9090 once the wizard is finished!
    Securing SABnzbd's Web Interface

    Securing access to SABnzbd

  4. The next step is important. Enter the credentials to access your usenet providers news service. If you fail to enter proper credentials, the wizard will continue but you’ll be redirected to the wizard setup on each access to the web interface until the credentials work! (so: don’t use the ones from the screenshot, please. They won’t work.)
    Usenet News Provider Credentials

    SABnzbd usenet account credentials

  5. If you have an account with one of the two listed nzb search engines, you can enter that on the next screen:
    News Search Engine Accounts

    News Search Engine definitions

  6. Once the wizard is finished SABnzbd will restart itself. It will also present you with a screen where it tells you on what URL to find the web interface in case any of the port settings have changed.
  7. Once you made it to SABnzbd’s real web interface, you may wish to change the location of downloaded files.
    SABnzbd Config Menu

    SABnzbd Config Menu

  8. As you can see, SABnzbd will place files into the “download/complete” directory. Since this is already symlinked to your “Media” share, you may leave that as is. If, however, you want to change the location, make sure to use the “/c///..” syntax. Also check that the destination directory is accessible for the “admin” user because that’s the account SABnzbd is running under ony our ReadyNAS.
    Storage Folders Definitions

    SABnzbd Storage Folder Definitions

  9. Have Fun!

13 thoughts on “SABnzbd and Python on the ReadyNAS

  1. Wes

    Hey, thanks a heap for this. I have a bit of a problem though – when files are unpacked, they’re owned by “admin”, even though I have the share permissions set to give non-owners rename and delete access. I have to go through the Frontview interface to reset the permissions to allow me to access the files after each download – when I try and browse to the folder (via Windows 7) I just get “Access Denied” until this is done.

    Is there any way to make SABNZBD extract the files as “nobody:nogroup”, or to have the NAS automatically apply these permissions to the files?

    Again, thanks for your efforts!

  2. Stefan Rubner Post author


    The easiest way to achieve what you want is to set the “Permissions after completed downloads” to 777. You can find this switch under “Config -> Folders”. With this in effect any user with access to the share should be able to move/rename/delete whatever files/folders are created there by SABnzbd.

  3. Wes

    That worked perfectly! Thanks so much.

    Don’t suppose you have any plans to create a Sickbeard package do you? It’d be very handy to be able to run it as well on the Readynas.

    Thanks again!

  4. Stefan Rubner Post author

    I get the very same request every other day ;) The problem is that SickBeard requires Python 2.6 which isn’t easy to get to work on the ReadyNAS. I’m working on that but I currently can’t even give so much as an estimate as to when that is ready. Once it is, I may look into SickBeard and possibly CouchPotato. However, since I don’t use either, I don’t know whether there’ll be an add-on or not.

  5. Wes

    I have no doubt that you know more about this than I do, so I’m sure you’re right, but according to the Sickbeard Google page, it only needs Python 2.5. Is there much of a difference between the two versions?

  6. Stefan Rubner Post author

    Well, the real problem is that one software requires Python 2.5, the other 2.6 the next one is content with 2.4. My preferred solution would be to use just 2.6 instead of installing 2.4, 2.5 and 2.6 on the ReadyNAS. Python 2.5 I’ve already got working, btw. We’ll see how I can split my time.

  7. LL

    Very nice! Great work. Looking forward to Sick Beard integration, would make the ReadyNAS and even more impressive little device.

  8. shaunj66

    Is it possible to setup remote access to SAB on the Readynas? So I can queue up downloads and everything from a remote location? I’ve been trying to set it up with no success.

  9. Koen

    In step three of the sabnzbd quickstartwizard: when I test the server I always get:
    “unsubscriptable object”. I have no knowledge of python. I installed the right packages, i’m sure of it. I did a restart. Any ideas?

  10. Stefan Rubner Post author

    This very much looks like an error in your input. The problem is that to really diagnose this, I’d need the credentials ;) As a hint: You may not enter stuff like ‘a = 2’ or ‘b[:11]’ – these will trigger the error. You can try to set your input in quotation marks (‘, ‘, “) like I did above and see whether that resolves the problem.
    Update: As it seems this problem can also be triggered in SABnzbd when IP address resolution is not working. Try to enter the IP address of the host you’re trying to connect to instead of the host’s name and see whether that solves the problem.

  11. Vinnie

    Hello Stefan,

    I bought your Sabnzbd and Pyton for my ultra2, when i go to page http://ipadres:2708, i dont get the webinterface but instead of that a blank screen.
    The green light is on in my addons page : sabnzbd and pyton, both x86
    Please tell me what iam doing wrong, now 3 days busy with it, and read everything, and no way further.

  12. Des Douris

    Hi Stefan

    I have been a big fan of your products over the past few years, Python, SickBeard, CouchPotato and SABnzbd have been fantastic. However, recently I have hit a roadblock with SABnzbd.

    Unfortunately, I had a bit of a brainfart and thought there was a new update for SABnzbd for ReadyNasDuo R4 (sparc) when I actually already had the latest version installed.

    I did a silly thing and removed the service from the ReadyNas and then uploaded the new image file,which was exactly the same as the old one, (SABnzbd_0.7.18-r4sparc-1.bin). After doing this, I haven’t been able to get SABnzbd to start. There is a grey light next to the service instead of the green one and whenever I try to start it, I get a message saying that the SABnzbd service has failed to start. I get a connection error when I try to access port 2708. All other services are still installed and seem to be working normally, i.e. CouchPotato (v2.0.git120915-rnsparc-0.4.0), Python 2.7 (v2.7.3-rnsparc-0.5.2) and SickBeard (v0.88437-rnsparc-0.9.5).

    I have tried reinstalling over the top and rebooting the system, but to no avail. I have also tried reinstalling the latest Raidiator (4.1.13) and rebooting.

    Do you have any advice for getting the SABnzbd service up and running again?



  13. Martin


    After getting python, sabnzbd and sickbed working on my Pro Business Edition (RAIDiator 4.2.27)…..I had to do a factory reset a few hours later due to a combination of disk failure and user error.

    Anyway, I’m in the processes of trying to get things back to the way they were and am having an issue with getting SAB and sickbed to actually start. I keep getting a service failed to start message and the indicator stays grey. Logs show its successfully installed but failed to start.

    Python 2.7 appears to be running fine.

    I’ve tried reinstalling all 3 add ons and still no change.

    Any ideas?

Comments are closed.