January 24, 201313 yr Do this it fixed mine. --- couchpotato/runner.py.broken 2013-01-13 20:34:58.252578108 +0000 +++ couchpotato/runner.py.fixed 2013-01-13 20:33:57.869622110 +0000 @@ -214,6 +214,7 @@ 'port': tryInt(Env.setting('port', default = 5000)), 'ssl_cert': Env.setting('ssl_cert', default = None), 'ssl_key': Env.setting('ssl_key', default = None), + 'host': Env.setting('host', default = "0.0.0.0"), } # Static path @@ -258,7 +259,7 @@ while try_restart: try: - server.listen(config['port']) + server.listen(config['port'], config['host']) loop.start() except Exception, e: try:
January 24, 201313 yr Do this it fixed mine. This probably doesn't mean anything to some people.. lol SO here is the broken down version: Open up runner.py located in CP_INSTALLATION_DIR/couchpotato/runner.py Find this line config = { 'use_reloader': reloader, 'port': tryInt(Env.setting('port', default = 5000)), 'host': Env.setting('host', default = ''), 'ssl_cert': Env.setting('ssl_cert', default = None), 'ssl_key': Env.setting('ssl_key', default = None), } Change it to look like this: config = { 'use_reloader': reloader, 'port': tryInt(Env.setting('port', default = 5000)), 'host': Env.setting('host', default = ''), 'ssl_cert': Env.setting('ssl_cert', default = None), 'ssl_key': Env.setting('ssl_key', default = None), 'host': Env.setting('host', default = "0.0.0.0"), } Then... Find this lines: try: server.listen(config['port']) loop.start() change that to try: server.listen(config['port'], config['host']) loop.start()
January 24, 201313 yr And then turn off the auto updates in CP until this issue is fixed so the file doesn't get overridden.
January 24, 201313 yr Author Also be sure to remove the runner.pyc to ensure the changes get picked up.
January 24, 201313 yr I did not remove the runner.pyc since I did not see that on certain instructions and it is booting up correctly, is this something I need to do anyways or just wait for the fixes to be pushed?
January 24, 201313 yr Author No, you don't have to if it worked. The runner.pyc is a "compiled" version of runner.py. Deleting it is just added security, python *should* detect changes and recompile automatically, but thought I'd add it just in case.
January 24, 201313 yr Couch Potato Server 2 doesn't see my movie library. I have it installed correctly as according to the unplugged setup guide. My app is installed on usr/local/cp2 & my cp2 data directory is in a hidden folder on my cache drive... call it /.appdata/cp2. I have the manage library pointing to /mnt/user/Movies as that is where my user share is located. It says "selected folder is empty". I let it save anyway and go to the main page>manage and it says "Seems like you don't have anything in your library yet. Add your existing movie folders in Settings > Manage". Has anyone else had this issue? Any fix? Btw: Sickbeard and sab work fine. running all apps as "nobody" and nobody:users owns my files. I have also did a fix permisions in simple features. Have also tried running cp2 as root or other users, no luck so far. :'(
January 25, 201313 yr drwxrwxrwx 1 rick users 128 2013-01-20 09:18 Applications/ drwxrwxrwx 1 nobody users 152 2013-01-17 23:57 Books/ drwxrwxrwx 1 nobody users 184 2013-01-05 10:49 Documents/ drwxrwxrwx 1 nobody users 192 2013-01-21 03:40 Downloads/ drwxrwxrwx 1 nobody users 1880 2013-01-22 04:00 Movies/ drwxrwxrwx 1 nobody users 184 2013-01-22 04:27 Pr0n/ drwxrwxrwx 1 nobody users 432 2013-01-24 20:15 TV\ Shows/ drwxr-xr-x 1 root root 240 2013-01-24 18:38 couchpotato_v2/
January 25, 201313 yr Author It should definitely find it then... Whats the couchpotato_v2 directory owned by root there?
January 25, 201313 yr not sure, it must have been created when I was trying out different directories. i have since deleted it and chown all the directories again. new results below. i'm confused as it def should see it (as sickbeard does) drwxrwxrwx 1 nobody users 128 2013-01-20 09:18 Applications/ drwxrwxrwx 1 nobody users 152 2013-01-17 23:57 Books/ drwxrwxrwx 1 nobody users 184 2013-01-05 10:49 Documents/ drwxrwxrwx 1 nobody users 192 2013-01-21 03:40 Downloads/ drwxrwxrwx 1 nobody users 1880 2013-01-22 04:00 Movies/ drwxrwxrwx 1 nobody users 184 2013-01-22 04:27 Pr0n/ drwxrwxrwx 1 nobody users 432 2013-01-24 20:15 TV\ Shows/
January 25, 201313 yr Author Try this, for shits and giggles... Make a new share through the unraid webgui, set it to cache only. Call it...apps Then point CP's data directory to the new share, /mnt/cache/apps/cp/ You can copy all of your settings from your existing directory over to the new one if you'd like. Or just run CP at the new data directory and see if it'll see the movies from there. I've had strange issues with CP and hidden directories, but can't say thats your issue.
January 25, 201313 yr tried that with no success. So I created a new user share "videos" and put a movie in there. CP saw that this video directory had data and allowed to populate in the manage library database. So it appears that something is funky with that share. But before I go move 2TB's of video files to a new user share I tried one more time... Still it will not see the data in Movies directory when entering it in the library section. But after I entered the path for Movies, instead of hitting the "green button", I just refreshed the web page, and then hit the green button. It worked. It slowly is populating into the database. I don't trust this too much, but I really only use the manage library database get better quality versions of old rips/screeners , also to not download the same file twice. Although it seems like something is awry with my Movie share, I have no clue what that could be. This share is roughly 2TB, and spans across 4 drives. If i discover any other oddities I'll post it here.thanks for help though influencer!
January 25, 201313 yr Author Its not your share, its a bug in CP as far as I can tell, my cache drive failed today and setting CP back up I have the exact same problem. Interesting to note, it found one directory perfectly fine, but can't see another.
January 25, 201313 yr Starting about two days ago after my last reboot I notice that my Sickbeard and sabnzbd interface is missing a number of images and is not being displayed correctly. It is still functionally there. I did a search on the file system and the images are present but they are not being displayed. I did a fresh reboot this morning and the problem persists. Is anyone else seeing this? Thank you.
January 25, 201313 yr I updated my Couch Potato v2 today and it is working - if that's worth anything.
January 25, 201313 yr I like others notice my CP stopped working couple days ago... was just now able to take a look at everything. Its doing the same thing for me, stops as soon as it starts. Ive gone as far as to delete all CP Related files on /boot and /cache and reinstalled CP with no change. heres the Syslog via Pastebin
January 25, 201313 yr Same going on for me as well. So far I've not had any luck getting it back up and running.
January 25, 201313 yr same here getting weird error and starts stops, I also have simplefeatures error: [Errno 97] Address family not supported by protocol I get these errors in the couch potato log
January 25, 201313 yr ahh, I went back and looked, but did not scroll up far enough. I was in the middle of working/childcare and juggling many other things. I gotta learn to multi-task better.
Archived
This topic is now archived and is closed to further replies.