RE: HOWTO: Install CouchPotatoServer (v2) on Windows
Posted: 19 Jan 2013 06:20
Any recommendations? Or a brief tutorial on how to manually configure CP2 without using the "Settings" or "Advanced Wizard" buttons?
Automatic Movie Downloading via NZBs & Torrents!
clinton.hall wrote:I still think you will have problems as you need to add things into the database etc...
We are trying to look into this issue to see how to get it working.
clinton.hall wrote:Ok... I have replicated the issue on a VM and have resolved 2 errors... but still not getting it working...
jkaberg wrote:This guide is for installing CouchPotatoServer (v2). Do not attempt to use this guide with CouchPotato (v1) linked from the main web page. To install CouchPotato (v1) simply download the windows installer package. For more information about the different CouchPotato versions, see here.
A short and universal guide for all of us running Windows. This guide is based on WHS2011 but should work on Windows XP+
1. First of, grab and install Python. You can get it here, http://www.python.org/download/releases/2.7.3/
NOTE: You can use python 2.7 - 2.7.3. Do not use python 3+ for CouchPotatoServer. You can use either 64-bit or 32-bit, but see the note for PyWin below.
2. Next, get Pywin at http://sourceforge.net/projects/pywin32 ... ild%20217/ and install
NOTE: Be sure to install the version of PyWin that matches your python architecture. You should use pywin32-217.win32-py2.7.exe if you installed 32-bit python and pywin32-217.win-amd64-py2.7.exe if you installed 64-bit python.
3. Going quite well, and not so many steps either. Onwards! Download and install Git, http://git-scm.com/download/win
NOTE: See bengalih's tip below on GIT install. You may also want to REBOOT your machine at this point to ensure that the various environmental variables set by the above installs are properly updated.
4. Now for the fun part, get the latest source of CPS at https://github.com/RuudBurger/CouchPota ... all/master and extract that to an easy-to-remember-location, eg C:\Couchpotato
5. Now, assuming that you used the default install location for Python and the location I specified for you one step back you should be able to run this command from your command prompt "C:\Python27\python.exe C:\Couchpotato\Couchpotato.py" (without citation marks!!)
Everything works? zomg! Nothing works? leeeeerooyy...
Ok, well, your probably thinking. This sucks, I dont want any command window open. Right, so a few more steps..
Create a shortcut anywhere you'd like and when it asks for a file to link to, enter this "C:\Python27\pythonw.exe C:\Couchpotato\Couchpotato.py" (without citation marks!!)
NOTE: You can also rename the Couchpotato.py to Couchpotato.pyw, but this method is not recommended as it may interfere with future updates.
Now your thinking.. mhmm okay, but I want CPS to run when I start my computer.. Now you have a choice, either go all the way or the easy way
Easy way - Create the shotcut explained above in the start-menu, Windows button(start menu)->All Programs->Autostart. Now this will start CPS when you logon your user, but not if anyone else with an different account logs on, in that case, the hard way
Hard way - Follow this guide, im to tired to write it all, http://techbungalow.com/2012/run-any-pr ... n-windows/. You can get the two files, srvany.exe and inetsrv.exe here http://speedy.sh/pukJc/instsrv.zip
Alternate Way - Install as a psuedo-service with TaskScheduler. Built into Windows and relatively simple. See here.