GitopsCentral

How to solve wordpress update failed error

Filed under: Misc — Tags: , — shaik zillani @ 12:49 pm

wordpress wide

WordPress update failed

Update failure in wordpress happens due to permission issues. If wordpress gives you the error, “Update failed due to permissions” while updating, it means that the user, “www-data“, (which the wordpress GUI uses) don’t have enough permissions to the installed directory. So, let’s assign permissions for this user to the /var/www directory.


sudo chown -R www-data:www-data /var/www

sudo chmod -R 774 /var/www

directory permissions

 

Now, verify the permissions,


ls -lah /var

Hopefully, this will solve the update failed problem. Please let me know in the comments section below.

© 2016–2025 GitOpsCentral | All Rights Reserved.