Page 1 of 1

Installing CouchPotato Guide

Posted: Tue Feb 22, 2011 10:53 am
by thegeebs
Since CouchPotato isn't available as an App, here's what I did to get Couch Potato Working. (Took 5 Minutes for a guy who can't get WebVNC). I did this from the Desktop.
CouchPotato is an automatic NZB and torrent downloader. You can keep a "movies I want"-list and it will search for NZBs/torrents of these movies every X hours. Once a movie is found, it will send it to SABnzbd or download the .nzb or .torrent to a specified directory.
1.) First I added my default user to the sudoers file because installing as root isn't safe all of the time. CouchPotato won't install as root. This will make life easier for many things, not sure why amahi doesn't do this.

Code: Select all

echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers #Where 'loginname' is your user account. #Use 'ALL=(ALL) NOPASSWD:ALL' if you don't want to be prompted a password. #If you are prompted for a password with 'sudo' it is the user password, not root.
Source: http://www.mjmwired.net/resources/mjm-f ... .html#sudo

2.) Visit http://couchpotatoapp.com/ and download couchpotato.sh here: http://couchpotatoapp.com/media/couchpotato.sh then follow these instructions

Code: Select all

If you're on linux, you can also install CouchPotato via the following steps: 1. Download couchpotato.sh 2. Make script executable with: "sudo chmod +x couchpotato.sh" 3. Run it with ./couchpotato.sh 4. Follow onscreen instructions
For Newbies you need to change to the download directory to run the above commands

Code: Select all

cd ~/Downloads


I selected YES to install as Daemon and NO to configure and leave at Defaults. This can be configured after install much easier.

When it was done I got an error about not being able to start Daemon and I was unable to manually start. I was able to fix this with help from a ReadMe

Code: Select all

cd ~/.couchpotato sudo python CouchPotato.py -d
Source: https://github.com/RuudBurger/CouchPota ... /README.md

I was then able to login using my HDA ipaddress and port 5000 i.e. "192.168.1.99:5000"

Re: Installing CouchPotato Guide

Posted: Tue Feb 22, 2011 12:12 pm
by stueyboy
Seems to be working OK. Functionality is a bit small at present but shows potential. I'm testing Sickbeard and this is pretty similar but for movies so complimentary. I tried to add this as a custom web-app in the Amahi dashboard then I installed it in to the html directory. This worked but I am unable to get to the app by typing http://Couchpotato. I just get a directory listing. Anyway, it works when you type in the IP address fine.

I'm downloading a film now through sabnzbd and will report back when it's done to see if the transfers and processing works OK.

Re: Installing CouchPotato Guide

Posted: Fri Mar 04, 2011 12:29 am
by johnkilene
Now to add one more level use chmod to grant 755 to the html directories, and then go into webadmin and create a custom startup script under the bootup and shutdown module.

Steps:
click create a new bootup and shutdown action. In the startup portion enter

python /var/hda/web-apps/couchpotato/CouchPotato.sh -d

Leave the shutdown portion blank as webmin fills that in for you.

By making the permission changes and using the webmin I have been able install most if not all programs that I have wanted to.

I used xinetd to do #2 of the tutorial on the wiki to get a working VNC server. That was a bugger to get working multi session.

I need to take a break with messing around with the server or the wife is going to kill me.

Thus far I have the following working to satisfaction
Fedora12
Greyhole
Amahi 6
Sabnzbd
CouchPotato
Sickbeard
VNC
CrashPlan
and a few others

I also run a Win 7 box that houses all of my DVD's, and a playon server. Just started to mess around with Boxee. Trying to find something that will play episode real time or close to real time as possible so I can get rid of cable.

Re: Installing CouchPotato Guide

Posted: Fri Mar 11, 2011 3:23 pm
by bigfoot65
CouchPotato is packaged for Amahi. See below:

http://www.amahi.org/apps/couchpotato

Re: Installing CouchPotato Guide

Posted: Fri Mar 11, 2011 4:01 pm
by thegeebs
Yes, but the packaged one doesn't work properly. At the time of this posting it would constantly give 503 errors

Re: Installing CouchPotato Guide

Posted: Fri Mar 11, 2011 5:48 pm
by bigfoot65
We were not aware of any problems. We would appreciate help in making work right for Amahi and other users to benefit. Can you assist?

Our goal is to make one-click apps for Amahi and remove the need to do manual installs whenever possible. That can only be achieved with help from the community and identification of problems during testing.

Also, would you mind adding the guidance here to the wiki? The forums are not the best place to document how to install an app. If we have it in the wiki, easier for others to find.