Home / Media Center / CouchPotato / Setup CouchPotato on Ubuntu 12.04 Server

Setup CouchPotato on Ubuntu 12.04 Server

Welcome back to Part 4.5 of the series “How-to setup a fully automated Media Portal“. We just Installed and configured Transmission and now we going to setup CouchPotato. Couchpotato is an automatic NZB and torrent downloader, 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. Once a matching release is found, it will send it to your favorite download app.












Step 1: Install some dependencies

We are going to install CouchPotato latest version directly from the Author’s repository on GitHub. In order to do that we need to install the git-core package. Just execute the below command:



Step 2: Get CouchPotato

Easy done, after we installed the GIT package we will just use the git clone command to copy the entire CouchPotatoServer package to our local Server. Lets change directory to ~/tmp for that so we have only one place for all our downloaded software. Execute the below command:




Step 3: Move the Potato

We are going to move the entire repository we just grabbed from GitHub into our home folder. I am going to rename it also to (.couchpotato). There is no particular reason I am renaming it to a filename with a “dot” prefix but as we are going to install several packages it is easier to see that you have your software binaries installed in that directory. Of course as always feel free to change it to your liking but make sure you remember and change it where required.




Step 4: Configure CouchPotato

to make it bootable we need to put a file from the downloaded package in the init folder under /etc/init.d and make it executable. Execute the following commands in order:



Next up lets edit the file /etc/default/couchpotato. This file is called from the main config in /etc/init.d/ and it looks up the default CP_%% Variables. So we are just going to add them as shown below. If you follow this tutorial without personal changes you can just copy and paste it else change the Username to the one you choose.




Now we have to create the ~/.pid directory. The file couchpotato.pid would normally resign in /var/run/ but as this would require root access and have caused a few issues while testing the software in my lab I decided to move it to the home directory with limited access (700)



Only missing step now is to add couchpotato to defaults so it will start automatic when you boot. just execute the below command:


Step 5: Lets Reboot

time for a quick reboot and check all is working as expected.

Step 6: First Login in the Web-Gui

If all worked out as expected your couchpotato daemon is running and you can login to the Web-Gui via the Hostname/IP-Address:5050 (http://ubuntu1204:5050) You will be greeted by the Welcome page as shown below:



General Page

The basic settings, add an login id/pwd to the couchpotato website. Always a good idea to have a login specially if you are not the only one who can access it. Feel free to  change the default port if you want. I left it at the default of 5050 for this tutorial.



Downloaders Page

On the first part of the downloader page we tick the box Black hole and choose the directory where our .torrent / .nzb will get stored. This is the the watch-folder where transmission will pickup new downloads. Choose the ../tor folder and click Save.


Next tick the box of Transmission and add the Username/Password you set earlier. Leave the directory blank and if you have not changes it leave the Host details the same, else set it to your desired details. You can see other downloaders but we will get to them later, for now we only use transmission.



Provider Page

For now nothing to do here as we are not setting up Usenet before the next Part. But in general here you would add your News Provider. We just leave it as default for now.



The Usenet Providers are the search engines looking for your desired files in Usenet. Below screen shows a default list of NZB providers. If you do already have feel free to add them else we will cover that later when installing SABnzdb.



Renamer Page

One of main reasons for couchpotato is the Renaming function. Here we configure where CP is going to move the downloaded movies too. Choose the movies folder and press SAVE.



Folder Naming I always change to the variable <thename> but you can choose it as you would like your Folders to be named. Same for the File Naming. Just click the Option button on the right and choose from the menu. One tiny thing I have seen with different browsers, you can remove the settings in the box when you hover with your mouse a little over the function name. With some browsers you cannot see the tiny red cross to delete it.



Automation Page

Great feature of couchpotato you can add a plugin to your browser so when you are for example on the IDMB page or any other that displays Movie information the plugin will just grab your chosen movies and add it to your wanted list.














Finish it up

That’s it we have completed the Wizard. Click the big green button to finish up. There is a possibility that you will see a Page 500 Error and I am not quite sure why that happened yet. However if you reboot your PC one more time it will work.








Author’s GitHub


This post is for informational purpose only. The Author in no way supports or encourages illegal download of copyrighted material.

Check Also

Muse 5 and Rio 3 —Delightful Double dose in Wireless Earphone Technology

Muse 5 and Rio 3—Delightful Double dose in Wireless Earphone Technology

The Muse 5 and Rio 3 are advanced wireless earphones with 3D audio processing designed …