Installing SABnzbd 0.5 beta RC3 on your eTRAYz

Update: changed version beta 5 to RC3

A little how-to for installing SABnzbd 0.5 on your Xtreamer eTRAYZ. I’m not explaining how to SSH to your box ecc, you should all know that before doing this. Newzbin is working well in version 0.5 on my eTRAYz.

Follow the guide on mavvy.net to install version 0.4.x on your box, to get the base system running. Try this before using this guide to update SABnzbd to version 0.5 RC3.

1. SSH to your box and goto the /opt/share folder.
2. Get the source from the SABnzbd site:

wget http://downloads.sourceforge.net/project/sabnzbdplus/sabnzbdplus-beta/0.5.0RC3/SABnzbd-0.5.0RC3-src.tar.gz?use_mirror=mesh

3. Expand the folder

tar zxvf SABnzbd-0.5.0RC3-src.tar.gz

4. Stop SABnzbd, rename the existing SABnzbd folder to oldSABnzbd and the 0.5 version to SABnzbd

/etc/init.d/sabnzbd stop
mv SABnzbd oldSABnzbd
mv SABnzbd-0.5.0Beta5-src.tar.gz SABnzbd

5. Reset owner

chown -R sysadmin:etrayz SABnzbd

6. Install support system

ipkg update
ipkg install py25-cheetah

7. Copy the SABnzbd.sh file from the old folder to the new one and edit it with VI

cp /opt/share/oldSABnzbd/SABnzbd.sh /opt/share/SABnzbd/
vi /opt/share/SABnzbd/SABnzbd.sh

8. This is the main trick to get 0.5 working! Edit the start commando as follows:

nice -n 20 python2.5 /opt/share/SABnzbd/SABnzbd.py -s $IP:8888 &

I’ve added the nice -n option to give more importance to other processes on the box and, more importantly, forced SABnzbd to use python 2.5, otherwise the Cheetah module won’t work. Test this by starting python and python2.5 for the command line and by typing:

import Cheetah

Version 2.4 or 2.6 will return this error:

[1:~]$ python
Python 2.6.4 (r264:75706, Nov 11 2009, 00:14:30)
>>> import Cheetah
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named Cheetah

While version 2.5 returns:

[2:~]$ python2.5
Python 2.5.4 (r254:67916, Jun 1 2009, 22:35:31)
[GCC 3.4.3 (release) (CodeSourcery ARM Q1B 2005)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Cheetah
>>>

… nothing! Therefor it works and so will SABnzbd 0.5!

If you use the iphone interface in 0.4, please rename this to Mobile in your sabnzbd.ini.

One thought on “Installing SABnzbd 0.5 beta RC3 on your eTRAYz

Leave a Reply

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