Jump to content

Influencers Plug-ins-[UNPLUGGED] Support & Download-Sab, CP, Sickbeard, + more!!


Recommended Posts

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:

Link to comment
  • Replies 2.6k
  • Created
  • Last Reply

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()

Link to comment

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.  :'(

Link to comment

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/

Link to comment

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/

Link to comment

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.

Link to comment

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! 8)

Link to comment

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.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...