CP not updating

Status
Not open for further replies.

unca_NAS

Explorer
Joined
Mar 25, 2012
Messages
87
When attempting to use cp's updating feature, update fails with error File "/usr/pbi/couchpotato-amd64/lib/python2.7/zipfile.py", line 1079, in _extract_member os.mkdir(targetpath) OSError: [Errno 13] Permission denied: '/var/db/couchpotato/cache/temp_updater/CouchPotatoServer-master'

permissions for the temp_updater folder are media:media drw-rw-rw. Afaik the couchpotato os runned by user media

What am I missing here?

FreeNAS-9.3-STABLE-201504152200
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
When attempting to use cp's updating feature, update fails with error File "/usr/pbi/couchpotato-amd64/lib/python2.7/zipfile.py", line 1079, in _extract_member os.mkdir(targetpath) OSError: [Errno 13] Permission denied: '/var/db/couchpotato/cache/temp_updater/CouchPotatoServer-master'

permissions for the temp_updater folder are media:media drw-rw-rw. Afaik the couchpotato os runned by user media

What am I missing here?

FreeNAS-9.3-STABLE-201504152200
not sure why this would fail, because like you said CP's user owns that directory.
I would check the CP forums/github, might be a known issue, or you could post a new issue.
 

Osiris

Contributor
Joined
Aug 15, 2013
Messages
148
Did you solve this?
I'm having the same issue.
During the update, the 777 permissions on temp_updater get changed to this:

root@couchpotato:~ # ls -hal /var/db/couchpotato/cache/ | grep temp_updater
d---rwxrwx 2 media media 2B May 26 10:44 temp_updater
 

unca_NAS

Explorer
Joined
Mar 25, 2012
Messages
87
Nay. Tried another update just now via CP-GUI, update starts but stops after few seconds, but "no updates available". Which is nice.

Version still:
Code:
Versionabfd9d080cfa3a2eb7f6f543f6dc42547f41c605 (3/23/2015, 3:23:09 PM)
 
Last edited:
Status
Not open for further replies.
Top