Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Couchpotato quit running and wont start - SOLVED

Featured Replies

I have looked all over and see others have this issue but I cant find anywhere were it was fixed.  I have tried rebooting my unraid, re-installed the latest _unplugged.plg, changed listening port, dowbgrading plg but it just doesnt start.  I tried stsrting it form the command line and it appears to take the command but nothing.

 

This is what shows in the log window on unraid after I try starting it from the GUI:  Tower sudo: root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/usr/bin/python /mnt/cache/couchpotato_v2/CouchPotato.py --daemon --config_file /boot/config/plugins/couchpotato_v2/settings.conf --pid_file /var/run/couchpotato_v2/couchpotato_v2.pid

 

 

The FIX: ;D

If you look in the log folder for couchpotato I think you'll find an error.log complaining of an

[Errno 97] Address family not supported by protocol

 

Either wait for Ruud to fix this, or manually edit runner.py in the couchpotato folder and change the line that reads

 

            server.listen(config['port'])

to

            server.listen(config['port'], config['host'])

 

(don't forget to delete runner.pyc) - should then start - although some other areas seem broken too..

I'm having problems with couchpotato too. Thanks for posting this solution, but I can't find the errors, or fix you're talking about.

 

Where is the couchpotato log file?

 

/var/log/syslog only has start up stuff like:

Feb  3 11:27:05 Dumbo sudo:     root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/usr/bin/python /mnt/cache/.couchpotato/CouchPotato.py --daemon --config_file /boot/config/plugins/couchpotato_v2/settings.conf --pid_file /var/run/couchpotato_v2/couchpotato_v2.pid

 

/var/log/plugins/couchpotato_v2 is empty.

 

Ah, here are some errors in /var/log/lighttpd/php.errors.log

[03-Feb-2013 19:27:09 UTC] PHP Notice:  Use of undefined constant BRANCH - assumed 'BRANCH' in /usr/local/emhttp/plugins/couchpotato_v2/couchpotato_v2.php on line 89
[03-Feb-2013 19:27:09 UTC] PHP Notice:  Use of undefined constant INSTALLURL - assumed 'INSTALLURL' in /usr/local/emhttp/plugins/couchpotato_v2/couchpotato_v2.php on line 89
[03-Feb-2013 19:27:09 UTC] PHP Notice:  Use of undefined constant PLG_STORAGESIZE - assumed 'PLG_STORAGESIZE' in /usr/local/emhttp/plugins/couchpotato_v2/couchpotato_v2.php on line 90
[03-Feb-2013 19:27:09 UTC] PHP Notice:  Use of undefined constant PLG_DATACHECK - assumed 'PLG_DATACHECK' in /usr/local/emhttp/plugins/couchpotato_v2/couchpotato_v2.php on line 93

 

I checked out /mnt/cache/.couchpotato/couchpotato/runner.py, but found that it had the correct information

server.listen(config['port'], config['host'])

 

My data dir is set to /mnt/cache/.couchpotato_data. I'm on simple features 1.0.5, unRaid 5.0-rc11, and the latest couchpotato v2 "https://github.com/RuudBurger/CouchPotatoServer" as of today 2/3/2013

 

Any other ideas of where to start sniffing around?

 

thanks!

dkerlee - I found there was another line I had to add. Check out the CP code on github. You can find the post with details about modifying the line you say is done and it shows the other one you have to add.

  • 2 weeks later...

I know there are heaps of threads about this issue hopefully this is the one to post in.

 

I have the same issue but the runner.py file is already as per the above suggestion. It starts, appears as ok in gui but a refresh shows it hasn't started.

 

Hopefully we can see a resolution here.

cp_logs.zip

I know there are heaps of threads about this issue hopefully this is the one to post in.

 

I have the same issue but the runner.py file is already as per the above suggestion. It starts, appears as ok in gui but a refresh shows it hasn't started.

 

Hopefully we can see a resolution here.

 

you need to edit your runner.py file and add "0.0.0.0" as default host as defined in this post

 

https://github.com/RuudBurger/CouchPotatoServer/issues/1274#issuecomment-12199752

Thanks for the link I will try this and report back...

 

I know there are heaps of threads about this issue hopefully this is the one to post in.

 

I have the same issue but the runner.py file is already as per the above suggestion. It starts, appears as ok in gui but a refresh shows it hasn't started.

 

Hopefully we can see a resolution here.

 

you need to edit your runner.py file and add "0.0.0.0" as default host as defined in this post

 

https://github.com/RuudBurger/CouchPotatoServer/issues/1274#issuecomment-12199752

Great, that worked!

 

mcedit /mnt/cache/.couchpotato/couchpotato/runner.py

 

up at the top, you'll see something like this:

62 L:[200+17 217/284]

 

That 217 is the line number. Your cursor is currently on line 217 of 284 total lines.

 

The setting I modified was on line 217.

 

This was already there:

'host': Env.setting('host', default = ""),

 

I added the 0.0.0.0 to the end like this

'host': Env.setting('host', default = "0.0.0.0"),

 

And couchpotato came right up and started running. Go figure.

 

Thanks!

Archived

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.