+7 votes
5.0k views
in Programming by (11.7k points)

I am getting 

The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-includes/js/mediaelement/bigplay.png, wp-includes/js/mediaelement/background.png, wp-includes/js/mediaelement/controls.png, wp-includes/images/admin-bar-sprite-2x.png, wp-includes/images/admin-bar-sprite.png, wp-includes/images/wpicons-2x.png

Installation Failed


error while upgrading Wordpress Version. How can I fix this?=

3 Answers

+8 votes
by (10.4k points)
First open putty with root user and run this
 
cd /home/WORDPRESS_SITE_FTP_USERNAME/public_html/wp-admin/images
 
and run this command, this command fix the files owner and group settings
 
chown WORDPRESS_SITE_FTP_USERNAME:WORDPRESS_SITE_FTP_USERNAME *.*
 
 
+13 votes
by (26.3k points)

You must apply this command all files that you receive an error

 

For example 

for this : wp-includes/js/mediaelement/bigplay.png

cd /home/sitename/public_html/wp-includes/js/mediaelement

chown sitename:sitename *.*

+14 votes
by (1.2k points)

If you get update error you can try to upgrade manually.

Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...