Home » Home Server » Automatic 1-step AtoMiC CouchPotato installer script for Ubuntu
Home Server

Automatic 1-step AtoMiC CouchPotato installer script for Ubuntu

As you may know by now CouchPotato is a great little app that automates your media center. In this post, I will present an automatic 1-step CouchPotato installer script for Ubuntu. For simplicity, I am going to call this script AtoMiC CouchPotato Installer (Automated Media Center).

Update (April 2015): AtoMiC Script has evolved into AtoMiC ToolKit with lot more features. AtoMiC Script is no longer maintained. Please use AtoMiC ToolKit instead.

Installation on Windows can be very simple but installing CouchPotato on Ubuntu requires several steps. Essentially, this script will automatically run through various steps described in my Ubuntu CouchPotato installation guide with little or no effort from the user. It will automatically install and start CouchPotato for you but if you prefer to do this yourself you are welcome to follow my full guide. In fact, I strongly urge that you read the full guide first and then come back here if you still prefer to use the 1-step CouchPotato installer script. This way you will know what the script does. So here we go.

Before You Begin

For apps like SickBeard, SickRage, Sonarr, and CouchPotato, Usenet is better than Torrents. Unlimited plans from Newshosting (US Servers), Eweka (EU Servers), or NewsDemon, which offer >3000 days retention, SSL for privacy, and VPN for anonymity, are better for HD content. Sometimes US and EU servers carry different content.

ProviderRatingFeaturesMonthlyYearly
Newshosting
>3000 days, unlimited, SSL, VPN$9.99 $99.99 ($8.33 / month)
editors pick
Eweka
>3000 days, unlimited, SSL, EU Servers€7,50 (Special!!!) 
NewsDemon
>3000 days, unlimited, SSL, VPN$7.50 
Astraweb
>2800 days, unlimited, SSL$8.00 $96.00 ($8.00 / month)
For more plans that may fit your needs please read our Usenet plan selection guide.

What does the AtoMiC CouchPotato Installer script do?

When you run the CouchPotato installer script, it first gives your basic instructions and warnings, then updates packages, installs essential packages, checks and backups previous CouchPotato installations, downloads the latest CouchPotato from github, creates and installs an autostart script for you, and starts CouchPotato in the browser for initial setup. Below is a summary of what you will see in your commandline when the script runs:

[email protected]:~$ ./cp-installer.sh
--->CouchPotato installation will start soon. Please read the following carefully.
1. The script has been confirmed to work on Ubuntu and other Ubuntu based distros, including Mint, Kubuntu, Lubuntu, and Xubuntu.
2. While several testing runs identified no known issues, htpcbeginner.com or the author cannot be held accountable for any problems that might occur due to the script.
3. If you did not run this script with sudo, you maybe asked for your root password during installation.
4. If git and python are not installed they will be installed during the process. These packages are required for CouchPotato to run.

Press y/Y and enter to AGREE and continue with the installation or any other key to exit: y
--->Updating Packages...
...
--->Installing git and python...
...
--->Checking for previous versions of CouchPotato...
--->Any running CouchPotato processes killed
--->Existing CouchPotato init scripts removed
...
--->Downloading latest CouchPotato...
...
--->Creating new default and init scripts...
...
--->Copying init script...
--->Updating rc.d to start CouchPotato at boot time...
...
--->All done. CouchPotato should start within 10 seconds and your browser should open. If not you can start it using "sudo /etc/init.d/couchpotato" start command. Then open http://localhost:5050 in your browser.

***If this script worked for you, please visit https://www.htpcbeginner.com and like/follow us. Thank you for using the CouchPotato installer script from htpcbeginner.com.***

Starting CouchPotato
[email protected]:~$

Downloading and Running AtoMiC CouchPotato Installer Script

Download the script using the download button below:

Version: 1.0 (March 29, 2013) – Initial release
Version: 1.1 (October 03, 2013) – Bugfixes
Version: 2.0 (April 13, 2014) – Updated script to work with Trusty Tahr

Update (April 2015): AtoMiC Script has evolved into AtoMiC ToolKit with lot more features. AtoMiC Script is no longer maintained. Please use AtoMiC ToolKit instead.

For some reason if you would like to open/edit the script in Windows, use Notepad++ (Windows Notepad may not open the script correctly). After downloading, ensure that the script has execute privileges:

sudo chmod +x cp-installer.sh

Then, run the CouchPotato installer script using the following command:

sudo ./cp-installer.sh

Unless you encounter any errors during installation, CouchPotato V2 should open up in a browser in about 10-20 seconds after the 1-step CouchPotato installer script finishes. You may watch the whole process in action in the video guide below.

Automatic 1-step AtoMiC CouchPotato installer

Accessing CouchPotato Web Interface

Unlike CouchPotato V1 (uses port 5000), V2 runs on port 5050 by default. So you can access the CouchPotato web interface by going to:

http://localhost:5050

If your CouchPotato server is on your internal network and doesn’t block port 5050 you can also access it through its network IP address (see example below):

http://192.168.0.20:5050

If you have port forwarding enabled on your router and you have a domain name referring your server running CouchPotato, you may also view your CouchPotato App through the internet using your domain name:

http://domain.com:5050

For now, http://localhost:5050 should be enough.

Configure CouchPotato V2

After you install CouchPotato, you can configure it as described in the following post: How to Configure CouchPotato V2?. It explains all the settings in detail with screenshots. After configuring your CouchPotato, you may return to this post and continue. In order to make CouchPotato function properly, you will have to install and configure SABnzbd to listen to download requests from CouchPotato. Please refer to my SABnzbd installation guide and configuration guide to properly automate downloading movies. As mentioned earlier, you also require a reliable Usenet account. You may get a free Usenet account as described in this post, or go with a reliable Usenet service from Newshosting or Astraweb.

3 Best Standalone Bittorrent Downloaders:

Don't want to mess with servers? Check these out:

  1. WD My Cloud 4TB Personal Cloud Storage - NAS
  2. Buffalo LinkStation 210 2 TB NAS Personal Cloud Storage and Media Server
  3. Synology America DiskStation 2-Bay Diskless Network Attached Storage

Starting and Stopping CouchPotato

This script automatically enables autostarting CouchPotato during boot. You can manually start and stop CouchPotato using the webui menu or using the following commands:

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

Alternatively, you can create bash_aliases to simplify starting, stopping, and restarting CouchPotato using shortcut commands

Optional Improvements

That’s it. If the AtoMiC CouchPotato installer script worked for you, please like us or the post, or share your experiences in the comments. Enjoy.

About the author

Anand

Anand is a self-learned computer enthusiast, a part-time blogger, and a Food Scientist by career. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, XBMC, and related HOW-TOs (read more).

Archives

Join the other 110,000 followers