Question

Wordpress 3.6 auto update failed

  • Posted August 5, 2013

"Downloading update from http://wordpress.org/wordpress-3.6-new-bundled.zip…

Unpacking the update…

Could not copy files.

Installation Failed"

Not sure what setting needs to change to allow auto-updates tot take place. Is it file permissions?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Romerornd’s solution worked for me too. <br> <br>Can you fix the permissions at droplet creation time for the wordpress app? <br> <br>Apart from that the wordpress app works beautifully.

CentOS 6.4 command line <br>chmod -R g+w /var/www/Your-install-location <br>chown -R youruser:youruser /var/www/Your-install-location

Just wanted to chime in that romerornd’s solution worked perfectly to update to WordPress 3.7!

In CentOS I needed to use the “apache” user and the path to my wordpress files like this: <br> <br>sudo chmod -R apache:apache /var/www/mydomain.com/public_html <br> <br>This post resolved my situation with some intuition ;). Hope this helps! <br> <br>Cheers

What do you mean pankaj?

Here to run these commands ?

@layne.heiny: Try running these commands: <br> <br><pre>chown -R wordpress:wordpress /home/wordpress/public_html <br>chmod -R g+w /home/wordpress/public_html</pre>

Hi <br> <br>I’m having the same problem with FTP versus uploading through WordPress (image upload and updates). If chown -R 33:33 public_html is used then updates and uploads work but FTP fails. If I change chown -R 1000:1000 public_html then FTP works but WP updates and uploads fail. <br> <br>I hope that is clear. <br> <br>So, using groups command <br> <br>groups wordpress <br>wordpress: wordpress www-data <br> <br>groups www-data <br>www-data: www-data wordpress <br> <br>Obviously I’m not getting something correct here. I want to be able to upload through FTP and have upload images and WP updates working without having to chown each time … <br>

www-data is the user apache and php run as.

@Kamal, yes it seems that the command is changing the file owner “chown” used for that but i want to know who is “www-data” ?