HOWTO: Install CouchPotatoServer (v2) on Windows

Most commonly asked questions will have thire awnsers here, please search before asking!
User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 09 Jan 2013 04:10

What do the logs show?
C:\Users\yourname\AppData\Roaming\CouchPotato\logs
or
C:\Documents and Settings\yourname\Application Data\CouchPotato\logs

Symbiotk
Member
Posts: 179
Joined: 09 Dec 2012 09:56
Has thanked: 5 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby Symbiotk » 09 Jan 2013 07:58

I've had this issue.. when I was messing with the location of the configuration files..
Have you done any modification of the CP installation?

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 09 Jan 2013 08:24

clinton.hall wrote:What do the logs show?
C:\Users\yourname\AppData\Roaming\CouchPotato\logs
or
C:\Documents and Settings\yourname\Application Data\CouchPotato\logs


Code: Select all

01-08 20:50:09 INFO [  couchpotato.core.loader] Loading core: _core
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading core: clientscript
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading core: desktop
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading core: scheduler
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading core: updater
01-08 20:50:09 INFO [tato.core._base.scheduler] Scheduling updater.check, interval: hours = 6, minutes = 0, seconds = 0
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: bluray
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: cp
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: imdb
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: itunes
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: kinepolis
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: moviemeter
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: movies_io
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading automation_provider: trakt
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading metadata_provider: xbmc
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading movie_provider: _modifier
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading movie_provider: couchpotatoapi
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading movie_provider: omdbapi
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading movie_provider: themoviedb
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: binsearch
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: ftdworld
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: newznab
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: nzbclub
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: nzbindex
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: nzbsrus
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: nzbx
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading nzb_provider: omgwtfnzbs
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: kickasstorrents
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: passthepopcorn
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: publichd
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: sceneaccess
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: scenehd
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: thepiratebay
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: torrentday
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading torrent_provider: torrentleech
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading trailer_provider: hdtrailers
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: allocine
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: appletrailers
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: filmweb
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: imdb
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: letterboxd
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: moviemeter
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: moviesio
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: rottentomatoes
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: sharethe
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: tmdb
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: trakt
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: whiwa
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading userscript_provider: youteather
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: blackhole
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: nzbget
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: nzbvortex
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: pneumatic
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: sabnzbd
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: synology
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: transmission
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading downloaders: utorrent
01-08 20:50:09 INFO [  couchpotato.core.loader] Loading notifications: boxcar
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: core
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: growl
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: nmj
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: notifo
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: notifymyandroid
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: notifymywp
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: plex
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: prowl
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: pushover
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: synoindex
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: toasty
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: twitter
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading notifications: xbmc
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: automation
01-08 20:50:10 INFO [tato.core._base.scheduler] Scheduling automation.add_movies, interval: hours = 12, minutes = 0, seconds = 0
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: browser
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: file
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: library
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: log
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: manage
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: movie
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: profile
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: quality
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: release
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: renamer
01-08 20:50:10 INFO [tato.core._base.scheduler] Scheduling renamer.check_snatched, interval: hours = 0, minutes = 1, seconds = 0
01-08 20:50:10 INFO [tato.core._base.scheduler] Scheduling renamer.check_snatched_forced, interval: hours = 2, minutes = 0, seconds = 0
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: scanner
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: score
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: searcher
01-08 20:50:10 INFO [tato.core._base.scheduler] Scheduling "searcher.all", cron: day = *, hour = 19, minute = 22
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: status
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: subtitle
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: suggestion
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: trailer
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: userscript
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: v1importer
01-08 20:50:10 INFO [  couchpotato.core.loader] Loading plugin: wizard


Thank you...

By the way I did not messing with my config file

Hopefully this will helps

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 09 Jan 2013 10:02

Nothing appears wrong in the logs.

Can you remove all files from the data directory and then try starting again?

Does your windows username contain any "&" or non-ASCII characters? This appears to be a problem that has recently been reported.

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 09 Jan 2013 10:10

clinton.hall wrote:Nothing appears wrong in the logs.

Can you remove all files from the data directory and then try starting again?

Does your windows username contain any "&" or non-ASCII characters? This appears to be a problem that has recently been reported.


Removing files and start again I already did, without result.

But my username contains a 'ö' but this is part of ASCII or not?

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 11 Jan 2013 03:49

I suspect your username containing 'ö' is the issue.

You can try running from source, and use the --data_dir parameter to set your datadirectory someplace not in your user folder (i.e. C:/CouchPotato)

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 12 Jan 2013 17:15

clinton.hall wrote:I suspect your username containing 'ö' is the issue.

You can try running from source, and use the --data_dir parameter to set your datadirectory someplace not in your user folder (i.e. C:/CouchPotato)


Thank you for your reply.

I am little bit further. CP opens in FF and Chrome, but in both browsers the wizards screens opens with only: 'Show advanced settings checkbox

Regards,

Harm

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 12 Jan 2013 20:00

clinton.hall wrote:I suspect your username containing 'ö' is the issue.

You can try running from source, and use the --data_dir parameter to set your datadirectory someplace not in your user folder (i.e. C:/CouchPotato)


I am moving ahead.

Not working of CP is caused by The 'ö'

Is there a way to solve and please if there is, can someone explain in detail how te handle, because changing data_dir i am really not aware how

Off course many thanks

Regards,

Harm

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 13 Jan 2013 02:00

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 --data_dir=C:\couchdata\" (without citation marks!!)
Create a folder C:\couchdata and then run/execute the shortcut created above.

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 13 Jan 2013 15:04

clinton.hall wrote: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 --data_dir=C:\couchdata\" (without citation marks!!)
Create a folder C:\couchdata and then run/execute the shortcut created above.


Thank you. But the same result. With a change in the config file: Wizard = 0 I can open CP but not totally correct. But I can show you the log:
[php]01-13 14:53:47 ERROR Exception on /api/7a7903c724ec4b10b1e7f4f89074b27d/settings/ [GET]Traceback (most recent call last): File "C:\Couchpotato\libs\flask\app.py", line 1687, in wsgi_app response = self.full_dispatch_request() File "C:\Couchpotato\libs\flask\app.py", line 1360, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Couchpotato\libs\flask\app.py", line 1358, in full_dispatch_request rv = self.dispatch_request() File "C:\Couchpotato\libs\flask\app.py", line 1344, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "C:\Couchpotato\couchpotato\core\settings\__init__.py", line 175, in view 'values': self.getValues() File "C:\Couchpotato\couchpotato\core\helpers\request.py", line 77, in jsonified content = jsonify('application/json', *args, **kwargs) File "C:\Couchpotato\couchpotato\core\helpers\request.py", line 69, in jsonify content = json.dumps(dict(*args, **kwargs)) File "C:\Python27\lib\json\__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Python27\lib\json\encoder.py", line 201, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Python27\lib\json\encoder.py", line 264, in iterencode return _iterencode(o, 0) UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 21: invalid start byte 01-13 14:53:48 ERROR [/php]

[php][chpotato.core.plugins.log] API log: {'page': u'http://HOST/settings/', 't': u'1DNaZ74I', 'file': u'http://HOST/api/API_KEY/static/scripts/page/settings.js', 'line': u'152', 'type': u'error', 'message': u"chrome 24: \nUncaught TypeError: Cannot read property 'options' of undefined"}[/php]


Maybe this is helping you

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 14 Jan 2013 04:28

ah.. sorry... "C:\Python27\pythonw.exe C:\Couchpotato\Couchpotato.py --data_dir C:\couchdata\" (without citation marks!!)
No "=" between the --data_dir and the path...

does that get a different result?

I would try and test, but just don't have the system set up that way :(

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 14 Jan 2013 08:03

clinton.hall wrote:ah.. sorry... "C:\Python27\pythonw.exe C:\Couchpotato\Couchpotato.py --data_dir C:\couchdata\" (without citation marks!!)
No "=" between the --data_dir and the path...

does that get a different result?

I would try and test, but just don't have the system set up that way :(


Unfortunately the same result....:@

Regards,

Harm

mbyte
Junior Member
Posts: 14
Joined: 11 Jan 2013 05:00
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby mbyte » 17 Jan 2013 01:57

Exact same issues as RingerH due to non-ASCII username. Followed steps, while it loaded CP2, it goes to "Wizard". The window is gray with the only word "Advance Options". I'm unable to proceed.

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 17 Jan 2013 02:38

can you send a screen dump of this screen?

I have just done this setup and It works fine for me... and since it is not using anything within your user directory this should be fine...
[hr]
Has it created a c:\Couchdata folder? if so, edit the settings.conf and make sure their are no paths that include the user-name or any non-asci characters.. you can try setting wizard = 0 (in the [core] section at top) to turn off the wizard and see if you can set up manually...

mbyte
Junior Member
Posts: 14
Joined: 11 Jan 2013 05:00
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby mbyte » 17 Jan 2013 03:25

Here is what I'm seeing: http://picpaste.com/Screenshot-BgZcxRnz.png
Yes c:\couchdata folder has been created.


The only place I see my username is "False [blackhole] directory = C:\Users\username\Downloadsmanual" Can I change the directory to C:\couchdata\downloadsmanual ? Will permissions prevent the file from saving to the proposed folder?

Per your suggestion, I changed wizard = 0 from 1. Currently, I've let my username - will this create an issue?
[hr]
quick update to above -

I'm unable to edit my message above. As stated above, I changed wizard to 0, but left username. CP2 loaded up and I'm able to to add movies. So I click on "settings" with the intent to configure my settings (API, providers, etc), but the same gray screen with only the words "advance options" appears. This looks as posted above (Regardless if firefox or internet explorer).

mbyte
Junior Member
Posts: 14
Joined: 11 Jan 2013 05:00
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby mbyte » 17 Jan 2013 05:16

Could it be because I recently uninstalled JAVA? But sickbeard, sab, and CP1 worked without error upon removing. Just speculating.

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 17 Jan 2013 07:21

You can try installing java again... not sure if this will make a difference.

So, the good news is you can run CPS... you just need to make all changes to the config file manually...

You won't see descriptions of what each parameter does.. so feel free to ask away ;)

ringerh
Junior Member
Posts: 12
Joined: 05 Jan 2013 15:39
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby ringerh » 17 Jan 2013 09:47

clinton.hall wrote:You can try installing java again... not sure if this will make a difference.

So, the good news is you can run CPS... you just need to make all changes to the config file manually...

You won't see descriptions of what each parameter does.. so feel free to ask away ;)


Exact the same problem as mbyte. CP is partly running but not able to start wizard or change the setting. Also no complete screens (e.g adding movies). If i installed with a new user same machine (without 'strange' characters) CP is working fine. What means JAVA is not the troublemaker

Is there a way now (or in the future) that people with strange names ;-) can use CP

However SABnzbd en Sickbeard works fine

Regards,

Harm

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby clinton.hall » 17 Jan 2013 21:50

Obviously we want to have this usable to people with non-ASCII character names... I'll report this on GitHub and see where we go from there...

mbyte
Junior Member
Posts: 14
Joined: 11 Jan 2013 05:00
Contact:
Status: Offline

RE: HOWTO: Install CouchPotatoServer (v2) on Windows

Postby mbyte » 18 Jan 2013 00:53

I tried changing the file directory in .settings
"The only place I see my username is "False [blackhole] directory = C:\Users\username\Downloadsmanual" Can I change the directory to C:\couchdata\download". It launched CP2 perfect, but i get the gray screen and im unable to config my settings in "Settings" or "Install Wizard". http://picpaste.com/Screenshot-7JeMFGkD.png


Return to “FAQ”