It is currently Tue Oct 23, 2018 2:17 pm
All times are UTC + 8 hours

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.

Moderators: JohnnyFive, clinton.hall

Re: CP won't start

Postby clinton.hall » Sun Dec 08, 2013 9:36 am

I have an updated apkg that can be downloaded from here https://www.dropbox.com/s/zu12in2bprfhyrm/couchpotato_20131208_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
User avatar
clinton.hall
 
Posts: 831
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: CP won't start

Postby ho66es » Sun Dec 08, 2013 7:20 pm

installed fine, seems good so far
608t
ho66es
 
Posts: 475
Joined: Wed Mar 13, 2013 5:38 am

Re: CP won't start

Postby koymoy » Mon Dec 09, 2013 12:57 am

clinton.hall wrote:I have an updated apkg that can be downloaded from here https://www.dropbox.com/s/zu12in2bprfhyrm/couchpotato_20131208_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
koymoy
 
Posts: 77
Joined: Tue Sep 10, 2013 5:51 am

Re: CP won't start

Postby Nebbu » Wed Dec 11, 2013 10:48 pm

clinton.hall wrote:I have an updated apkg that can be downloaded from here https://www.dropbox.com/s/zu12in2bprfhyrm/couchpotato_20131208_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!
Nebbu
 
Posts: 5
Joined: Sat Nov 30, 2013 9:32 pm

Re: CP won't start

Postby Sinistrate » Mon Jun 02, 2014 1:07 am

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.
Sinistrate
 
Posts: 3
Joined: Mon Jun 02, 2014 1:01 am

Re: CP won't start

Postby koymoy » Mon Jun 02, 2014 4:03 am

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
koymoy
 
Posts: 77
Joined: Tue Sep 10, 2013 5:51 am

Re: CP won't start

Postby clinton.hall » Mon Jun 02, 2014 6:40 am

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: 831
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: CP won't start

Postby clinton.hall » Mon Jun 02, 2014 6:44 am

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
User avatar
clinton.hall
 
Posts: 831
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: CP won't start

Postby Sinistrate » Mon Jun 02, 2014 9:25 pm

Thank you Clinton, that solved my problem. CP is now running. Great support from you!
Sinistrate
 
Posts: 3
Joined: Mon Jun 02, 2014 1:01 am

Re: CP won't start

Postby koymoy » Tue Jun 03, 2014 1:42 am

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
koymoy
 
Posts: 77
Joined: Tue Sep 10, 2013 5:51 am

PreviousNext

Return to CouchPotato

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest