VestaCP: Fixed WordPress Inconsistent File Permissions Error

VestaCP: Fixed WordPress Inconsistent File Permissions Error

Last updated: April 15, 2022

Recently I ran into an issue when I try to update my WordPress blog.

The blog is hosted on Vultr Cloud Hosting. And I use VestaCP to manage server.

When I try to update I will get the following error.

Downloading update from

Unpacking the update...

The update cannot be installed because we will be unable to copy some files. This is usually due to [inconsistent file permissions]().: wp-admin/includes/update-core.php

Installation Failed

I had experience managing WordPress blog on Shared Hosting before.

This is the first time I try to use a VPS.

When I first ran into this problem, it takes me quite some time to resolve this error. After some time, I finally manage to resolve this issue.

Fixed WordPress Permissions Update Error On VestaCP

To resolve this issue, we need to reset the file permissions on the WordPress core files.

All files permission need to be reset to 664 and all directories permission need to reset to 775. And then we need to reset the group to admin.

First we will need access to server via SSH Access.

Change file permission to 664:

find /home/admin/web/ -type f -exec chmod 664 {} \;

Change directory permission to 775:

find /home/admin/web/ -type d -exec chmod 775 {} \;

Change file & folder group ownership to admin:

chgrp -R admin /home/admin/web/

After running all command above, I was able to successfully update my WordPress blog without any issues.


I hope this note will he helpful those who have inconsistent file Permission issues when update WordPress in VestaCP.