Open christopherwdavies opened 4 years ago
I suspect that this probably has little to do with the update checker as such and is actually a more general problem with the site or server configuration. Here's a quick way to test that: can you update plugins that are hosted on WordPress.org? Try installing an older version of Jetpack or another popular plugin and see if you can update it successfully. If you can, does that still work if you upload that plugin the same way that you uploaded yours (probably using FTP or the ZIP uploader under "Plugins -> Add New")?
Hi,
This API works perfectly fine with my plugin, the issue is after you pull one update (which happens smoothly), it then changes owners/permissions.
This means that when you go to pull an update for the second time it fails because it's not happy with the file permissions.
For example. my owner/group is bitnami:daemon
After updating it becomes daemon:daemon
In this structure, it cannot be automatically updated in the future and throws the permission error message.
Thanks, Chris