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

I am not a total nub, had this all working before but then my pi2 started having a hissy fit at me. It would need to be rebooted daily, which isnt what I really wanted. So I decided to do a fresh install of everything.
I have tried to follow multiple online step by step guides, but none have been succesful.
Does anyone know of a guide that works for the RPi2; OSMC, Sabnzbd, Sickbeard, CoachPotato and Samba. Want to be able to access the external harddrive that is connected to the Pi2 from any machine on the network. Use it as my NAS.
Any help would be most appreciated.
Thanks in advance.

You can use my notes, I didn’t pay attention to missing spaces or “sudo”

Mount HDD
How To Mount A USB Flash Disk On The Raspberry Pi - Raspberry Pi Spy
Putty SSH
type: mount
look for te HDD mounted in \media
/dev/sdb5 on /media/Pi2 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
ls -l /dev/disk/by-uuid/
lrwxrwxrwx 1 root root 10 Aug 1 22:51 7ef3cbba-7ecb-d001-70f1-cbba7ecbd001 → …/…/sdb5
sudo mkdir /mnt/HDD2

sudo umount /media/Pi2sudo nano /etc/fstab
UUID=7ef3cbba-7ecb-d001-70f1-cbba7ecbd001 /mnt/HDD2 ext4 defaults,noatime 0 0osmc@osmc:~$ sudo mkdir /mnt/HDD2/Movies
Set owner recursive
sudo chown -R osmc:osmc /mnt/HDD2Set read/write rights
sudo chmod a+rwx /mnt/HDD2

path = /mnt/HDD2
available = yes
valid users = osmc
read only = no
browseable = yes
public = yes
writable = yes

sudo service samba restart
EditConfigFiles – Transmission
pkill -HUP transmission-da


source: Install CouchPotato Raspberry Pi with Raspbian •
Do NOT use upstart!!
How To Use Systemctl to Manage Systemd Services and Units | DigitalOcean

dependencies: nothing what ain’t there yet
install by git

install git
sudo apt-get install git-core python -y
copy from git
sudo git clone GitHub - CouchPotato/CouchPotatoServer: Automatic Movie Downloading via NZBs & Torrents /opt/CouchPotato*make osmc the owner
sudo chown -R osmc:osmc /opt/CouchPotato
python /opt/CouchPotato/
Access at http://ip:5050
Exit couchpotato in terminal Ctrl+C or Ctrl+Z

Let’s make a startup script

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


This will load nzbget only after setting up the network




systemctl enable couchpotato.service

sudo systemctl enable couchpotato
sudo systemctl restart couchpotato
sudo apt-get install python-openssl
sudo apt-get install unrar
sudo apt-get install par2
sudo apt-get install python-yenc

http://[Your Pi’s IP]:8085/wizard/sudo nano /etc/default/sabnzbdplus The only variable you need to edit is USER=; insert the username of the
account you wish to run the daemon under. We used the default user
account (and the one we installed SABnzbd under) “pi”. Press CTRL+X to
exit and save your edit. You can test whether or not the changes took
effect by either reboot your Pi unit or simply checking to see if you
can start SABnzbd as a service with the following command:

sudo git clone GitHub - SiCKRAGE/SiCKRAGE: Mirror of OFFICIAL SiCKRAGE /opt/sickrage
sudo chown -R osmc:osmc /opt/sickrage

sudo nano /etc/default/sickrage

sudo cp /opt/sickrage/runscripts/init.ubuntu /etc/init.d/sickrage
sudo chmod +x /etc/init.d/sickrage
sudo update-rc.d sickrage defaults
sudo service sickrage start

Install Headphones Raspberry Pi for Usenet Torrent Music •

sudo git clone GitHub - rembo10/headphones: Automatic music downloader for SABnzbd /opt/headphones

sudo chown -R osmc:osmc /opt/headphones
python /opt/headphones/

‘HTTP_HOST’: (str, ‘General’, ‘localhost’),
‘HTTP_HOST’: (str, ‘General’, ‘’),

sudo nano /etc/default/headphones

sudo cp /opt/headphones/init-scripts/init.ubuntu /etc/init.d/headphones
sudo chmod +x /etc/init.d/headphones
sudo update-rc.d headphones defaults
sudo service headphones start

cd /opt
sudo git clone GitHub - clinton-hall/nzbToMedia: Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez

Thanks Morte. Most appreciated

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 -d

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

sudo nano /etc/default/sabnzbdplus

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

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/ -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:


Change user & group to osmc
Exit and save

sudo systemctl enable sickrage.service
git clone GitHub - CouchPotato/CouchPotatoServer: Automatic Movie Downloading via NZBs & Torrents /opt/CouchPotatoServer
sudo chown -R osmc:osmc /opt/CouchPotatoServer
python /opt/CouchPotatoServer/ --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

Hi @nread2
Could you please explain why you removed the reference to Python 2.7 for SickRage

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



Replace “var/lib” with “opt” from ExecStart

for Couchpotato

I have both installed and running without the above modifications and wanted to know if these are optimisations that I could use?

Thanks in advance

I don’t know why you can remove the reference to Python2.7 when calling SR in this version of Debian but that is what works for me.
The change in path for the CP auto-start script is so that it points to the place where CP is installed, i.e. /opt.
The timeout is to resolve the infinite stop-task bug you sometime get when rebooting the PI.
So as long as your setup is working, only adding the “TimeoutStopSec=5s” below the ExecStart line in the SR. startup script would be considered an optimisation.