+2 votes
4.6k views
asked in Programming by (10.6k 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

+3 votes
answered by (9.2k 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 *.*
 
 

+8 votes
answered by (15.2k 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 *.*

+9 votes
answered 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

...