Page 1 of 1

Couch Potato - Stopped Working

Posted: Fri Feb 28, 2014 4:02 am
by wyldeone
Hi Guys

I've had Couch Potato installed for last 2-3 months and had no issues. I came to my computer yesterday to find Couch Potato had stopped working, i attempted to restart the app from dashboard but no luck.

I un-installed the app and re-installed but had the same issue, i suspected the app has been updated automatically as i have this option enabled in the settings.

After some fault finding i have traced the fault to the CouchPotato.py file is not enabled as an excutable file.

If you have this issue you need to do to the following directory /var/hda/web-apps/couchpotato/html and change the properties for the file CouchPotato.py to allow it to execute as a program.

I don't know how to do this via terminal but via desktop you simply right click on the file, then click properties, goto Permissions Tab and tick Execute box.

Couch Potato working fine again now, it actually reported for me that it had updated so i guess this is the issue.

Re: Couch Potato - Stopped Working

Posted: Fri Feb 28, 2014 8:24 am
by bigfoot65
Glad you got it sorted out. Sounds like the automatic update changed the permissions. Would you mind adding this guidacne ot the wiki? We would greatly appreciate it.

There is no current page set up, so you could create one called CouchPotato. We could then use it for all thing related to the app.

Re: Couch Potato - Stopped Working

Posted: Mon Mar 10, 2014 8:58 am
by jpod1977
Had the same problem
thank for the solve

to help other noobz like me running the express install (no GUI) the CLI command to fix is

chmod a+x /var/hda/web-apps/couchpotato/html/CouchPotato.py

Re: Couch Potato - Stopped Working

Posted: Mon Mar 10, 2014 1:53 pm
by bigfoot65
Added to the bottom of the wiki page.
https://wiki.amahi.org/index.php/CouchPotato

Re: Couch Potato - Stopped Working

Posted: Fri Mar 21, 2014 7:44 pm
by wyldeone
Just to let you know CouchPotato has updated again and had same problem as above.

Can this be solved permanently?

Re: Couch Potato - Stopped Working

Posted: Fri Mar 21, 2014 7:50 pm
by bigfoot65
Sounds like a it's a Couch Potato issue to me. When it updates, it should not change file permissions. Recommend you file a bug report with them.

UPDATE: I added a potential fix to couchpotato.service that may prevent this issue from happening again. You can add it yourself manually by editing /lib/systemd/system/couchpotato.service file. Add this line before the ExecStart:
ExecStartPre=/usr/bin/chmod 755 /var/hda/web-apps/couchpotato/html/CouchPotato.py