Couch Potato - Stopped Working

wyldeone
Posts: 45
Joined: Sun Dec 11, 2011 6:17 am

Couch Potato - Stopped Working

Postby wyldeone » Fri Feb 28, 2014 4:02 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Couch Potato - Stopped Working

Postby bigfoot65 » Fri Feb 28, 2014 8:24 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jpod1977
Posts: 4
Joined: Sun Jul 11, 2010 10:05 am

Re: Couch Potato - Stopped Working

Postby jpod1977 » Mon Mar 10, 2014 8:58 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Couch Potato - Stopped Working

Postby bigfoot65 » Mon Mar 10, 2014 1:53 pm

Added to the bottom of the wiki page.
https://wiki.amahi.org/index.php/CouchPotato
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wyldeone
Posts: 45
Joined: Sun Dec 11, 2011 6:17 am

Re: Couch Potato - Stopped Working

Postby wyldeone » Fri Mar 21, 2014 7:44 pm

Just to let you know CouchPotato has updated again and had same problem as above.

Can this be solved permanently?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Couch Potato - Stopped Working

Postby bigfoot65 » Fri Mar 21, 2014 7:50 pm

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
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 61 guests