Install CouchPotato Ubuntu 14.x and Later

couchpotato

CouchPotato for Ubuntu 14.04 will get you all of the feature length media files you desire from a watchlist you have created. It can grab the media files from either usenet or torrents in your automated system. I recommend usenet because you won’t use any of your own precious upstream bandwidth. You need to have a usenet provider like UsenetServer and a downloader like Sabnzbd or NZBGet. If all these requirements are checked, let’s get started.

Usenet Provider
Backbone
Retention
Speed
Connections
VPN
Monthly
Annual
UsenetServer
UsenetServer
2265
Unlimited
20
Yes
$10
$95.40
Usenetlink
Cloudgate
2000
100 Mbit
30
No
$15
$140
Astraweb
Astraweb
2264
Unlimited
20
No
$7.50
$96.00
UsenetBucket
XS News
1100
40 Mbit
25
No
€4.95
€60.00
Frugal
Blocknews
600
Unlimited
60
No
$4.99
$50.00

Install CouchPotato Ubuntu

sudo apt-get update
sudo apt-get install git-core libffi-dev libssl-dev zlib1g-dev libxslt1-dev libxml2-dev python python-pip python-dev build-essential -y

Install lxml and pyopenssl, lxml takes some time as it needs to be compiled.

sudo pip install lxml cryptography pyopenssl

Copy the CouchPotato git directory

sudo git clone https://github.com/RuudBurger/CouchPotatoServer /opt/couchpotato

Change the ownership of the CouchPotato directory to your user

sudo chown -R user:user /opt/couchpotato

Test if CouchPotato works

python /opt/couchpotato/CouchPotato.py --daemon

You should be able to see the CouchPotato web interface on http://ip.address:5050

You can leave this open but I recommend finishing this guide before you configure anything further.

Autostart CouchPotato

Copy the default CouchPotato init

sudo cp /opt/couchpotato/init/ubuntu.default /etc/default/couchpotato

Open the configuration file

sudo nano /etc/default/couchpotato

Add or change the following lines, yourusername is your log on user.

# COPY THIS FILE TO /etc/default/couchpotato 
# OPTIONS: CP_HOME, CP_USER, CP_DATA, CP_PIDFILE, PYTHON_BIN, CP_OPTS, SSD_OPTS

CP_HOME=/opt/couchpotato
CP_DATA=/opt/couchpotato
CP_USER=yourusername
CP_PIDFILE=/home/yourusername/.couchpotato.pid
CP_OPTS=--daemon

Press Ctrl+X, press Y and then Enter to save and leave nano.

Copy the default CouchPotato init.d file

sudo cp /opt/couchpotato/init/ubuntu /etc/init.d/couchpotato

Make the file executable

sudo chmod +x /etc/init.d/couchpotato

Update so CouchPotato autostarts on boot

sudo update-rc.d couchpotato defaults

If CouchPotato autostart on boot fails, read on

You can solve the failing init.d script which will fix the /usr/bin/python: Permission denied error you may have gotten from following other guides. This rc.local method will solve the couchpotato fails to start problem.

Open up /etc/rc.local

sudo nano /etc/rc.local

Add the following lines to the bottom before exit 0.

Do not add the extra exit 0

/etc/init.d/couchpotato start

exit 0

Ctrl+X, Y and Enter to save and exit

Update CouchPotato

cd /opt/couchpotato

Pull new updates

git pull

Now you can configure CouchPotato.

Treat yo' self to a new gadget!

Amazon Item
Kodi
Plex
Price
Amazon Fire TV
Yes
Yes
$99
Amazon Fire TV Stick
Yes
Yes
$39
Chromecast
No
Yes
$30
Roku 3
No
Yes
$89
Raspberry Pi 3
Yes
Yes
$35

If these guides have saved you time or frustration and you'd like to say thank you while supporting the creation of new posts become a patron of HTPC Guides.

become-htpcguides-patron-patreonBanana Pi Pro NAS Media Server Kit Giveaway
Get More HTPC Goodness! No Spam just Torrent, Usenet, Pi and Media Server Automation