How to Install & Configure CouchPotato
This tutorial shows step-by-step how to install and configure CouchPotato Movie Downloader on an Ubuntu / Debian based system, and link it to SABnzbd+ in order to download the latest movies from Usenet.
Use this tutorial in conjunction with my Youtube video: How to Install & Configure CouchPotato
Download Python Source from GitHub: https://github.com/RuudBurger/CouchPotatoServer/archive/master.zip
Unzip the Source Code and copy into your home folder, e.g: /home/user/CouchPotato
If you are installing CouchPotato into a remote system then SSH in via the File Manager or WinSCP
Create CouchPotato Init Script
cd ~ wget quidsup.net/sh/init-couchpotato.sh nano init-couchpotato.sh #Make the changes detailed in CouchPotato Init Script or alternatively use "sed" command sed -i "s/you/$(whoami)/" init-couchpotato.sh sudo cp ~/init-couchpotato.sh /etc/init.d/ cd /etc/init.d sudo mv init-couchpotato.sh couchpotato sudo chmod 755 couchpotato sudo update-rc.d couchpotato defaults sudo service couchpotato start
The Init script opens CouchPotato on system bootup, its written for Ubuntu / Debian based systems.
You will need to change the three Username variables to match your system. For simplicity you can use the sed command as shown below to automatically set the username to the current user.
Note: Don't run CouchPotato as the Root user, as it will cause a severe security risk to your system.
CouchPotato Setup Wizard
Set a Downloader
For this tutorial I am showing how to configure CouchPotato with SABnzbd+, go ahead and Select SABnzbd from the list
1. Host: Enter the IP address and Port number of the System where SABnzbd+ is running, e.g. localhost:8080
2. SABnzbd API Key
Copy and Paste API key from SABnzbd > Config > General > API Key
Type in "movies", we will add the Movie category to SABnzbd later in the tutorial.
You can now take CouchPotato for a test run...
There is one last Optional job to do with creating a Cronjob, which will have CouchPotato search automatically for new movies every x number of hours. This is certainly a feature worth using if your system is powered on continuously 24/7.
However if you only leave your system on for short periods then its not necessary because CouchPotato will automatically check for new releases when it starts up.
Creating a Cronjob
Go into CouchPotato > Config > Searcher, and tick the Show advanced settings box.
I have my system searching every day once every six hours, in order to try grab a movie before DMCA takedowns are actioned.
Enter the following figures
- Day: *
- Hour: */6
- Minute: Any random minute between 1-59
The Cronjob will action every 6 hours on minute 12 of every day of the week.