MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Dipak Bhoi on December 15, 2014, 11:41:43 AM

Title: Issue with a software update to Wordpress.
Post by: Dipak Bhoi on December 15, 2014, 11:41:43 AM
Hello Guys,

One of our customers was facing an issue with a software update to Wordpress site install on his server. Here are the error messages he was getting. The error is repeatable.

QuoteUpdate WordPress
Downloading update from https://downloads.wordpress.org/release/wordpress-4.0.1-no-content.zip...

Unpacking the update...

Verifying the unpacked files...

Preparing to install the latest version...

Enabling Maintenance mode...

Copying the required files...

Disabling Maintenance mode...

Could not copy file.: wp-includes/js/utils.min.js

Installation Failed

This is usually due to wrong file permissions set. To fix the issue correct the permission of the WordPress folder.

Here files have a 644 permission and directories should be 755. Change directory to /home/username/public_html directory and hit below to commands to reset permissions.

For Directories:
Quote#find . -type d -print0 | xargs -0 chmod 0755
For Files:
Quote#find . -type f -print0 | xargs -0 chmod 0644

Now you should be able to update the software. That's all.

Enjoy !!