CP won't start

CouchPotato is an automatic NZB and torrent downloader.
You can keep a "want to watch"-list and it will search for NZBs/torrents of these items every X hours. Once a correct release is found, matching the correct quality, it will send it to SABnzbd or download the .nzb or .torrent to a specified directory.

Moderator: Lillian.W@AST

User avatar
clinton.hall
Posts: 845
youtube meble na wymiar Warszawa
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: CP won't start

Post by clinton.hall »

I have an updated apkg that can be downloaded from here https://www.dropbox.com/s/zu12in2bprfhy ... 08_any.apk and installed manually via AppCentral

please confirm if this eliminates all issues. if so, I'll submit to the store.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
ho66es
Posts: 476
Joined: Wed Mar 13, 2013 5:38 am

Re: CP won't start

Post by ho66es »

installed fine, seems good so far
608t
koymoy
Posts: 77
Joined: Tue Sep 10, 2013 5:51 am

Re: CP won't start

Post by koymoy »

clinton.hall wrote:I have an updated apkg that can be downloaded from here https://www.dropbox.com/s/zu12in2bprfhy ... 08_any.apk and installed manually via AppCentral

please confirm if this eliminates all issues. if so, I'll submit to the store.
Just updated manually - everything seems to be back at normal - thx, Clinton :-)

br.
CHristian
Nebbu
Posts: 5
Joined: Sat Nov 30, 2013 9:32 pm

Re: CP won't start

Post by Nebbu »

clinton.hall wrote:I have an updated apkg that can be downloaded from here https://www.dropbox.com/s/zu12in2bprfhy ... 08_any.apk and installed manually via AppCentral

please confirm if this eliminates all issues. if so, I'll submit to the store.
This did not solve the problem for me. I still had the same issue as before.

CouchPotato log said:

Code: Select all

12-11 15:25:31 ERROR [hpotato.core.plugins.base] Unable writing to file "/usr/local/AppCentral/couchpotato/config/cache/minified/front.css": [Errno 13] Permission denied: '/usr/local/AppCentral/couchpotato/config/cache/minified/front.css'
12-11 15:25:31 ERROR [hpotato.core.plugins.base] Unable writing to file "/usr/local/AppCentral/couchpotato/config/custom_plugins/__init__.py": [Errno 13] Permission denied: '/usr/local/AppCentral/couchpotato/config/custom_plugins/__init__.py'
So I went ahead and issued this as you postet before.

Code: Select all

chmod -R 766 /usr/local/AppCentral/couchpotato/config
After restarting CouchPotato in my AppCenter everything is working again!
Sinistrate
Posts: 3
Joined: Mon Jun 02, 2014 1:01 am

Re: CP won't start

Post by Sinistrate »

I'm having problems starting Couchpotato(blank page) as of now even though I updated, reinstalled both python and CP. I previously have not had CP installed as it is a fairly new device.

Code: Select all

/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh restart
issues the following:

Code: Select all

Restarting CouchPotato
Shutting down CouchPotato at Sun Jun  1 18:59:06 EET 2014... 
CouchPotato is not running? (Sun Jun  1 18:59:06 EET 2014)
CouchPotato prestartup checks... (Sun Jun  1 18:59:06 EET 2014)
 Cheetah found...
Starting CouchPotatostart-stop-daemon: can't execute '/usr/local/bin/python2.7': Permission denied
 Done (Sun Jun  1 18:59:06 EET 2014)
Also, for some reason i seem to have two separate python folders("python" and "python2.7") in my app central directory:

Code: Select all

easy_install@       git-receive-pack@   git-upload-pack@    keytool@            python@
git@                git-shell@          gitk@               pip@                python2.7@
git-cvsserver@      git-upload-archive@ java@               pip-2.7@            virtualenv@
EDIT: Oh, and my device is a AS-202T. Any help would be much appreciated.
koymoy
Posts: 77
Joined: Tue Sep 10, 2013 5:51 am

Re: CP won't start

Post by koymoy »

hi,

Have no idea, as if this is related but out of the blue, i'm receiving this error: {"success": false, "error": "Failed returning results"}

restart of nas - no luck (as302)
close/start app - no luck

Have not explored any other possible reasons for malfunction, but it worked yesterday, and have not made any changes or upgrades

br.
CHristian
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: CP won't start

Post by clinton.hall »

Hi CHristian,

this is due to the latest update of CouchPotato... the leftover .pyc files prevent the correct git process...

Code: Select all

cd /usr/local/AppCentral/couchpotato/CouchPotato
/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh stop
find . -type f -name "*.pyc" -exec rm -f {} \;
git reset --hard
git pull
/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh start
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: CP won't start

Post by clinton.hall »

Hi Sinistrate,

Can you log in to ssh as root and

Code: Select all

chmod 777 /usr/local/bin/python2.7
chmod 777 /usr/local/AppCentral
/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh restart
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
Sinistrate
Posts: 3
Joined: Mon Jun 02, 2014 1:01 am

Re: CP won't start

Post by Sinistrate »

Thank you Clinton, that solved my problem. CP is now running. Great support from you!
koymoy
Posts: 77
Joined: Tue Sep 10, 2013 5:51 am

Re: CP won't start

Post by koymoy »

clinton.hall wrote:Hi CHristian,

this is due to the latest update of CouchPotato... the leftover .pyc files prevent the correct git process...

Code: Select all

cd /usr/local/AppCentral/couchpotato/CouchPotato
/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh stop
find . -type f -name "*.pyc" -exec rm -f {} \;
git reset --hard
git pull
/usr/local/AppCentral/couchpotato/CONTROL/start-stop.sh start

Nice! thanks alot! works again ;-)

Br.
Christian
Post Reply

Return to “CouchPotato”