I am Dale Hayter, a Microsoft and VMware certified Technical Consultant.

My blog has been built up over the years from my experience of working on an IT helpdesk and also from being out on-site.

How to Install CouchPotato v2 in XBMCbuntu and Ubuntu

To install Couchpotato v2 in XBMCbuntu or Ubuntu follow the guide below :-

In this guide I have assumed the following :-

Media Server IP : 192.168.1.75
Username : xbmc
Password : xbmc

First of all SSH to your media server. Login as xbmc

Then we need to install the git client so we can install and update couchpotato from git.

sudo apt-get install git-core

Input the password for xbmc

Press Y to continue

Once Git is installed we can then download couchpotato. In this guide I will be installing it into my users home directory

Change to the home directory

cd ~

Pull down CouchPotato from github.

git clone https://github.com/RuudBurger/CouchPotatoServer.git

Rename the folder to something more meaningful. The dot before hides the folder.

mv CouchPotatoServer .couchpotato

Now we need to make CouchPotato startup when your server boots up.

To make bootable we need to put a file in the init folder.

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

Before we edit the file we just copied we need to find out the full path of where CouchPotato is installed.

To find out what folder we are in type

pwd

This returns the value /home/xbmc/

We now need to Add on .couchpotato/ to the end of it.

So for my home the full path would be /home/xbmc/.couchpotato/

Now were ready to edit the startup file.

sudo nano /etc/init.d/couchpotato

Change RUNS_AS to your username. For me this is xbmc

RUNS_AS=xbmc

Change the app_path value to the path we determined above. Mine would be.

APP_PATH=/home/xbmc/.couchpotato/

Once happy press CTRL+X.

Y to confirm and then Enter to Overwrite

We now need to make it launchable

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

Then update the startup

sudo update-rc.d couchpotato defaults

Reboot your media server

sudo reboot

You should now be able to access CouchPotato at the address http://yourIP:5050.

In my example mine would be.

http://192.168.1.75:5050