How to Install Sabnzbd, Sickbeard, CoachPotato and Samba on Pi2

I recently did something similar on a RPi2 with a fresh install of OSMC. However my NAS is a WD MyCloud attached my router using cifs. Additionally, I opted for SickRage over SickBeard since it also handles torrents.

Because the init.d doesn’t work for me with SickRage or CouchPotato, I thought I would provide my notes; although they are pretty much the same otherwise.
#Update OSMC

sudo apt-get update
sudo apt-get upgrade
#Mount cifs drive to “WDmyCloud”
sudo nano /etc/fstab

add: “//WDMyCloud/Public/ /mnt/WDmyCloud cifs nobrl,user=guest,pass=,uid=1000,x-systemd.automount 0 0”
Exit and save

sudo mkdir /mnt/WDmyCloud
sudo mount -a
#SabNzdb, UnRAR & par2
sudo apt-get install python-openssl unrar par2
sudo apt-get install sabnzbdplus
sabnzbdplus --server 0.0.0.0 -d

go to http://osmc:8080/wizard/ and configure

sudo nano /etc/default/sabnzbdplus

Change “USER=” to “USER=osmc”
Exit and Save
#SickRage

sudo apt-get install git-core python python-cheetah
git clone GitHub - SiCKRAGE/SiCKRAGE: Mirror of OFFICIAL SiCKRAGE /opt/sickrage
sudo chown -R osmc:osmc /opt/sickrage
python /opt/sickrage/SickBeard.py -d

go to http://osmc:8081 and configure

sudo cp /opt/sickrage/runscripts/init.systemd /etc/systemd/system/sickrage.service
sudo nano /etc/systemd/system/sickrage.service

Remove “/usr/bin/python2.7” from ExecStart and add the following below:

TimeoutStopSec=5s

Change user & group to osmc
Exit and save

sudo systemctl enable sickrage.service
#CouchPotato
git clone GitHub - CouchPotato/CouchPotatoServer: Automatic Movie Downloading via NZBs & Torrents /opt/CouchPotatoServer
sudo chown -R osmc:osmc /opt/CouchPotatoServer
python /opt/CouchPotatoServer/CouchPotato.py --daemon

go to http://osmc:5050 and configure

sudo cp /opt/CouchPotatoServer/init/couchpotato.fedora.service /etc/systemd/system/couchpotato.service

sudo nano /etc/systemd/system/couchpotato.service

Replace “var/lib” with “opt” from ExecStart
Change user & group to osmc
Exit and Save

sudo systemctl enable couchpotato.service