How to install CouchPotato in Ubuntu 16.04 error

I have tried to install Couchpotato on two different Ubuntu 16.04 servers andd it seems the couch potato code will not run giveing the followin error.

any ideas

 

Job for couchpotato.service failed because the control process exited with error code. See "systemctl status couchpotato.service" and "journalctl -xe" for details.

 

the error code was 203

 

● couchpotato.service - CouchPotato application instance Loaded: loaded (/etc/systemd/system/couchpotato.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2018-05-15 13:17:21 AEST; 21min ago Process: 25940 ExecStart=/var/www/CouchPotatoServer/CouchPotato.py (code=exited, status=203/EXEC) Main PID: 25940 (code=exited, status=203/EXEC)

Tags: Command Line Tools
user image Author :   Keith
0

you can see the exact outcome for the error you are getting in journalctl -xe command, just tell us what you are getting in that error and also show your configuration file /etc/default/couchpotato what values you have entered in it, i think you have some misconfiguration in that file.

user image
parthiban May 16, 2018
Add comment
0

Thanks here is the configuration in /etc/default/couchpotato

COPY THIS FILE TO /etc/default/couchpotato

Accepted variables with default values -if any- in parentheses:

username to run couchpotato under (couchpotato)

CP_USER=couchpotato

directory of CouchPotato.py (/opt/couchpotato)

CP_HOME=/opt/couchpotato

directory of couchpotato's db, cache and logs (/var/opt/couchpotato)

CP_DATA=/var/opt/couchpotato

full path of couchpotato.pid (/var/run/couchpotato/couchpotato.pid)

CP_PIDFILE=/var/run/couchpotato/couchpotato.pid

full path of the python binary (/usr/bin/python)

PYTHON_BIN=/usr/bin/python

extra cli options for couchpotato, see 'CouchPotato.py --help'

CP_OPTS=

extra options for start-stop-daemon, see 'man start-stop-daemon'

SSD_OPTS=

journalctl -xe does not work on my system I am using webmin which log file should i be looking at ? thanks for you help

PS i can start CP manually with /opt/couchpotato$ python CouchPotatoServer/CouchPotato.py

user image
Keith May 16, 2018
Add comment