Installation SickBeard on Synology (Source http://www.8h.nl/f/index.php?topic=15.120)
Synology Installation of Sick Beard, auto start on boot, and process of upgrading in future
Assumes you have installed SABnzbd with the Merty package: http://www.mertymade.com/syno/#sabnzbd (which includes Python).
First SSH into the NAS as root.
Install Bootstrap as described here, so that you get ipkg on there:
http://forum.synology.com/wiki/index.php/Installing_bootstrap_for_the_armmarvell_models
- Code: Select all
# IPKG op de DS109 / DS210j (and other mv6281 kirkwood Synology's)
mkdir -p /volume1/@tmp
cd /volume1/@tmp/
wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/syno-mvkw-bootstrap_1.2-7_arm.xsh
sh syno-mvkw-bootstrap_1.2-7_arm.xsh &
sleep 5
ipkg update
install git so you can pull latest SB updates
- Code: Select all
ipkg install git
(you could skip the previous step if you want, it makes it way easier to update in the future though)
Next go to the directory to where you want to install sickbeard. I put it on one of my hard drive volumes.
- Code: Select all
cd /volume1/opt/share/sickbeard
Next you are going to pull the latest source revision of sickbeard
- Code: Select all
git clone git://github.com/midgetspy/Sick-Beard.git sickbeard
To update it in the future (NOT NOW!), first shutdown sickbeard through its web interface, and then something like
- Code: Select all
cd /volume1/opt/share/sickbeard/
git pull
To get sickbeard to start at system startup:
- Code: Select all
vi /var/packages/sab2/target/scripts/sabstart.sh
then I added this line at end of file:
(note that my personal install path is /volume1/opt/share/sickbeard/)
- Code: Select all
$DIR/utils/bin/python /volume1/opt/share/sickbeard/SickBeard.py --quiet &
In order to use sickbeard's post-processing scripts for sabnzbd, you should run this line in SSH terminal:
- Code: Select all
ln -s /var/packages/sab2/target/utils/bin/python /usr/bin/python
Restart the device and sickbeard's web interface should be accessible at
http://synology-ip:8081
Note:
For DSM 3.0 beta users SABnzbd does not start anymore. There is a fix to get SABnzbd up and runnign again (thanks to Nightspirit):
Temporary quick fix using ipkg
- Code: Select all
ipkg install python25 py25-cheetah py25-cherrypy
After that, edit the last line in /var/packages/sab2/target/scripts/sabstart.sh to
- Code: Select all
/opt/bin/python2.5 $DIR/sab/SABnzbd.py -s ${IPaddr}:${port} -f $DIR/sab/sab.ini -d
For Sick Beard the following line should be added to the sabstart.sh script:
- Code: Select all
/opt/bin/python2.5 /volume1/opt/share/sickbeard/SickBeard.py --quiet &
To add SSL options again use:
- Code: Select all
ipkg install py25-openssl
Now restart and everything should be working again.




