Worpdress Upgrade/Installation failed while trying to upgrade this site to WordPress 3.3.1
Downloading update from http://wordpress.org/wordpress-3.3.1-no-content.zip…
Unpacking the update…
Verifying the unpacked files…
Installing the latest version…
Could not copy file.: /public_html/index.php
Installation Failed
Folder/File Permissions
Typical wordpress upgrade failure from within wordpress Automatic updates are related to file/folder permissions.
Problem
- wp-content folder owner was set to nobody
- wp-content/upload owner was set to the FTP User.
Fix – Apache should have same owner as webserver owner.
By changing the WordPress File and Folder permissions, WordPress Auto Upgrade will work without any issues.
Solution -
I have explained how to fix WordPress Auto upgrade error as part of WordPress asks for FTP details.
