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!

Incoming search terms:

11 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

    Wes,

    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.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>