Hello, whenever i try to update any plugin that comes as bundled with my theme i cant update. it says
update failed
cant remove previous/old data
or sometime it says cant delete “plugins folder name”. same this happens when i try to update my theme from envato theme update plugin. my theme is purchased from envato.
but when i try to update any plugin which i downloaded separately, ex. yoast seo, it updates without any problem.
does anyone faced similar issue?
What im using is Wordpress 4.2.4 Nginx 1.8 PHP 5.5
thanks in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
A few possible causes of this type of error are 1) incorrect ownership or permissions on the wp-content directory or its contents, and 2) running out of disk space. There certainly could be other causes. So, check permissions and disk space first to see if either of those are the cause of the problem.
Thats about permission.
First define this on your wp-config.php and see if it solves: define(‘FS_METHOD’, ‘direct’);
If not you have to take ownership of the whole site directory. Let’s suppose your install is on /var/www/html and your site user operator is fatorbinario so you can type these:
sudo chown -R fatorbinario:www-data /var/www/html sudo chmod -R g+w /var/www/html sudo find /var/www/html -type d -exec chmod g+s {} +
*Make a backup first.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.