SABnzb+ Step by step

Can anyone be so kind to provide a step by step on how to get SABnzb+ installed on the DroboFS?

I’ve upgraded to python 2.7.2 and installed cheetah as required, but the rest seems to get stuck in errors… Not really sure what i’m doing wrong. By reading through other threads on the forum there may be a few issues that people have worked out on the way.

Overall aim is to get SABnzb+ and Sickbeard up and running using SSL and have them start automatically on reboot.

Thanks in advance. This clearly shows my lack of experience.

I managed to get them both up and running on my FS. It is not very hard, but it takes a lot of steps.

Unfortunately, since the whole thing requires a lot of configuration, I’m not sure if it is possible to pack it as a DroboApp. Also keep in mind that although it works (and quite reliably at that), accessing the web interface of either sabnzbd or sickbeard is painfully slow.

Also, I strongly urge you not to automatically start them on reboot. Both apps are very memory hungry and could quite easily make your Drobo unresponsive during boot. You really do not want that. Why are you rebooting your Drobo for anyway? :stuck_out_tongue:

I plan to write down all the steps nicely in a page in DroboPorts, but if you can’t wait for it here is a short version:
[]Install unrar 4.1.4: http://www.droboports.com/app-repository/unrar-4-1-4
]Install par2cmdline 0.4: http://www.droboports.com/app-repository/par2cmdline-0-4
[]Install git 1.7.8: http://www.droboports.com/app-repository/git-1-7-8
]Install wget 1.12: http://www.droboports.com/app-repository/wget-1-12
[]Install python 2.7.2: http://www.droboports.com/app-repository/python-2-7-2
]Install pyOpenSSL:

export TMPDIR=/mnt/DroboFS/Shares/DroboApps/python2/tmp
/mnt/DroboFS/Shares/DroboApps/python2/bin/easy_install http://commondatastorage.googleapis.com/drobofs/pyOpenSSL-0.13-py2.7.egg

[*]Install Cheetah:

export TMPDIR=/mnt/DroboFS/Shares/DroboApps/python2/tmp
/mnt/DroboFS/Shares/DroboApps/python2/bin/easy_install http://commondatastorage.googleapis.com/drobofs/Cheetah-2.4.4-py2.7.egg

[]Install any text editor. I suggest nano 2.2.6: http://www.droboports.com/app-repository/nano-2-2-6
]Make sure you have automatic PATH variable creation as indicated here (see section “Automatically adding DroboApps to the PATH”): http://www.droboports.com/using-command-line-apps. Then logout and log back in to make sure the path is properly set.
[*]Now we retrieve sabnzbd (this will take a while):

cd /mnt/DroboFS/Shares/DroboApps
GIT_SSL_NO_VERIFY=true git clone https://github.com/sabnzbd/sabnzbd.git
cd sabnzbd/
git checkout 0.6.15

[*]Edit/create the configuration file config.ini. I have a default config file that I’ll make available eventually, but the main points are:

port = 8001
enable_https = 1
https_port = 8081
download_dir = /mnt/DroboFS/Shares/Public/Downloads/incomplete
complete_dir = /mnt/DroboFS/Shares/Public/Downloads/complete
auto_browser = 0
priority = -100
pp = ""
name = tv
script = Default  
newzbin = ""     
dir = tv

[*]Start sabnzbd:

cd /mnt/DroboFS/Shares/DroboApps/sabnzbd
python SABnzbd.py -f /mnt/DroboFS/Shares/DroboApps/sabnzbd/config.ini -d

[]Open a browser on your machine and go to: https://your.drobo.ip.address:8081/ - ignore the security warning and follow the configuration wizard.
]Now we retrieve Sickbeard:

cd /mnt/DroboFS/Shares/DroboApps
GIT_SSL_NO_VERIFY=true git clone https://github.com/midgetspy/Sick-Beard.git sickbeard
cd sickbeard/

[*]Once again, edit/create a config.ini file. The main points here are:

tv_download_dir = "/mnt/DroboFS/Shares/Public/Downloads/complete/tv"
web_host =
web_port = 8082
enable_https = 1
launch_browser = 0
nzb_method = sabnzbd
sab_category = tv
sab_host = http://localhost:8001

[*]Start Sickbeard:

cd /mnt/DroboFS/Shares/DroboApps/sickbeard
python SickBeard.py --config config.ini -d

[*]Open a browser on your machine and go to: https://your.drobo.ip.address:8082/ - ignore the security warning and after a while you should see the Sickbeard UI.
From this point on it is basically up to you. One important thing is to have a look at sabnzbd/config.ini and retrieve the API key that needs to be given to Sickbeard. You can find it like this:

grep ^api_key /mnt/DroboFS/Shares/DroboApps/sabnzbd/config.ini

Comments, suggestions and feedback are highly welcome.

Thanks, I created the config.ini file and essentially copy and pasted your values.

I get as far as this:

python SABnzbd.py -f /mnt/DroboFS/Shares/DroboApps/sabnzbd/config.ini -d

Traceback (most recent call last):
File “SABnzbd.py”, line 1741, in
File “SABnzbd.py”, line 1036, in main
res, msg = config.read_config(inifile)
File “/mnt/DroboFS/Shares/DroboApps/sabnzbd/sabnzbd/decorators.py”, line 31, in newFunction
return f(*args, **kw)
File “/mnt/DroboFS/Shares/DroboApps/sabnzbd/sabnzbd/config.py”, line 650, in read_config
CFG = configobj.ConfigObj(path)
File “/mnt/DroboFS/Shares/DroboApps/sabnzbd/sabnzbd/utils/configobj.py”, line 1242, in init
self._load(infile, configspec)
File “/mnt/DroboFS/Shares/DroboApps/sabnzbd/sabnzbd/utils/configobj.py”, line 1318, in _load
File “/mnt/DroboFS/Shares/DroboApps/sabnzbd/sabnzbd/utils/configobj.py”, line 1598, in _parse
if sect_name in parent:
UnboundLocalError: local variable ‘parent’ referenced before assignment

Not really sure what this is about…

The thing is that the config.ini info I posted is not enough. It is just the values that need to be set. You still need a valid config.ini file to put those in.

Try this file instead: http://commondatastorage.googleapis.com/drobofs/sabnzbd.ini.default

And this one for sickbeard: http://commondatastorage.googleapis.com/drobofs/sickbeard.ini.default

Don’t forget to rename to config.ini.

Well, I get no errors now…

python SABnzbd.py -f /mnt/DroboFS/Shares/DroboApps/sabnzbd/config.ini -d

However, when i got to (my DroboFS IP) i get connection refused. Is there a way to check everything is running ok/ a reason the web interface doesn’t come up?


That should also work, but without SSL. Also keep in mind that it will take a good while for it to start, given the FS’s memory limitation.

Update, sickbeard works fine via web interface, Still can’t get SABnzb web interface to come up though…

Additional update, I tried using the source for linux from the SABnzb website… Still no luck… I think I may give up now.

Лечение в Израиле.
Израильская клиника IMA( Israel Medical Association) специализирующаяся на лечении туристов
из России предлагает партнерство как турагентам так и частным лицам.

1.Высокие комиссионные нашим представителям в России или странах бывшего Советского Союза.
2.Лечение у лучших профессоров Израиля.

Обращаться по телефонам:
+972545531832 Инна Абрамович
+972545704011 Светлана Цыбулевская
Е-майл: isramed@ima.li