Hi, on wordpress, I get this error when updating plugins, it seems to be related to Server hosting permissions
Update failed: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. /home/admin/web/activelifeapp.com/public_html/wp-content/languages/fr_FR.po, /home/admin/web/activelifeapp.com/public_html/wp-content/languages/fr_FR.mo, /home/admin/web/activelifeapp.com/public_html/wp-content/languages/admin-fr_FR.po, /home/admin/web/activelifeapp.com/public_html/wp-content/languages/admin-fr_FR.mo
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!
Hi there,
You could try setting the permissions of the languages directory to 755 as follows:
chmod 755 /home/admin/web/activelifeapp.com/public_html/wp-content/languages/
If this is still not working check the ownership of that directory with :
ls -lah /home/admin/web/activelifeapp.com/public_html/wp-content/
Feel free to share the output here.
Best,
Bobby
Hello there,
Usually, you’ll have 750 permissions for your directories and 640 for the files. However, in some cases, this won’t be sufficient.
Running 755 for directories and 644 for files is also an option, as per Bobby’s suggestions.
- sudo find /var/www/wordpress/ -type d -exec chmod 750 {} \;
- sudo find /var/www/wordpress/ -type f -exec chmod 640 {} \;
These permissions should get you working effectively with WordPress, but note that some plugins and procedures may require additional tweaks.
Regards
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.