• Skip to primary navigation
  • Skip to content

GitopsCentral

  • Home
  • Courses
  • Roadmap
  • About
  • Log In
  • Sign Up

How to solve wordpress update failed error

June 24, 2018 by shaik zillani

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.

wordpress update,  wordpress

© Copyright 2016-2025 gitopscentral · All Rights Reserved ·