Install CouchPotato on Ubuntu 18.04

CouchPotato lets you download movies automatically, easily and in the best quality as soon as they are available.

Awesome PVR for usenet and torrents. Just fill in what you want to see and CouchPotato will add it to your “want to watch”-list. Every day it will search through multiple NZBs & Torrents sites, looking for the best possible match. If available, it will download it using your favorite download software.

Most of the following instructions come from: .
However, I have added some changes to make the couchpotato service start.

First, lets install all the prerequisites. Type the command below to install git and python

sudo apt-get install git-core python

Next, move to your home directory (or any other directory) and clone a copy of CouchPotato from the git repository:

cd ~ 
git clone git:// .couchpotato

This will download the contents to the folder .couchpotato. The “.” in the front keeps the .couchpotato folder hidden. That is all there is to setup CouchPotato on Ubuntu.

After you install CouchPotato on Ubuntu Server, use the following command to run it:

python ~/.couchpotato/ 

CouchPotatoServer should now be running on your system. CouchPotato default port is 5050. So you can access the CouchPotato web interface by going to:


Make all the configuration settings you want and then shut down CouchPotato.

Manually starting CouchPotato everytime can be cumbersome. If you are interested in automatically starting CouchPotato during boot, then do the following.

If you installed CouchPotato following this guide exactly then it should be installed in /home/user/.couchpotato/, where user is your username. cd into the init folder with /home/user/.couchpotato:

cd ~/.couchpotato/init 

For Ubuntu, there are 2 files of importance here: ubuntu (needs no editing) and ubuntu.default (needs editing). First copy the file ubuntu to /etc/init.d/couchpotato (note the new file name is couchpotato) and give the file execute permissions (use the following commands one by one):

sudo cp ~/.couchpotato/init/ubuntu /etc/init.d/couchpotato 
sudo chmod +x /etc/init.d/couchpotato

Next, edit the ubuntu.default in the init file using this command:

sudo nano ~/.couchpotato/init/ubuntu.default 

CP_HOME and CP_DATA are important because they are the folder in which CouchPotato is installed and database is stored, respectively. Typically, they refer to the same folder. CP_USER should be your username.



Save and exit. (Ctrl+X, y, enter)
After that, we need to copy the file to /etc/default/ folder and give it execute permissions (use the following commands one by one):

sudo cp ~/.couchpotato/init/ubuntu.default /etc/default/couchpotato 
sudo chmod +x /etc/default/couchpotato

We now need to modify the/etc/systemd/system/couchpotato.service . Type the following:

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

The line we need to modify is ExecStart= . We need to change it as below ( where user is your username ) :


After saving the service file we need to update boot sequence:

sudo update-rc.d couchpotato defaults 

From now on, you can manually start and stop CouchPotato using the following commands:

sudo /etc/init.d/couchpotato start 
sudo /etc/init.d/couchpotato stop

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.