Title: Auto Update Failed
Last modified: August 21, 2016

---

# Auto Update Failed

 *  [agapeworks](https://wordpress.org/support/users/agapeworks/)
 * (@agapeworks)
 * [12 years ago](https://wordpress.org/support/topic/auto-update-failed-1/)
 * I just attempted to update to the new 3.9 version. I got a bunch of warnings 
   that the copy function of some file has failed. The installation terminated and
   now I’m stuck and can not use anything. I’m afraid that I will have to reinstall
   everything. See the code below:
 * Update WordPress
 * Downloading update from [https://downloads.wordpress.org/release/wordpress-3.9.zip…](https://downloads.wordpress.org/release/wordpress-3.9.zip…)
 * Unpacking the update…
 * Verifying the unpacked files…
 * Preparing to install the latest version…
 * Enabling Maintenance mode…
 * Copying the required files…
 * Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script 
   whose uid is 4658 is not allowed to access /home/local1st/public_html/wp-includes/
   certificates/ca-bundle.crt owned by uid 0 in /home/local1st/public_html/wp-admin/
   includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy(/home/local1st/public_html/wp-includes/certificates/ca-bundle.crt)[
   function.copy]: failed to open stream: Success in /home/local1st/public_html/
   wp-admin/includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script 
   whose uid is 4658 is not allowed to access /home/local1st/public_html/wp-includes/
   certificates/ca-bundle.crt owned by uid 0 in /home/local1st/public_html/wp-admin/
   includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy(/home/local1st/public_html/wp-includes/certificates/ca-bundle.crt)[
   function.copy]: failed to open stream: Success in /home/local1st/public_html/
   wp-admin/includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script 
   whose uid is 4658 is not allowed to access /home/local1st/public_html/wp-includes/
   certificates/ca-bundle.crt owned by uid 0 in /home/local1st/public_html/wp-admin/
   includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy(/home/local1st/public_html/wp-includes/certificates/ca-bundle.crt)[
   function.copy]: failed to open stream: Success in /home/local1st/public_html/
   wp-admin/includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script 
   whose uid is 4658 is not allowed to access /home/local1st/public_html/wp-includes/
   certificates/ca-bundle.crt owned by uid 0 in /home/local1st/public_html/wp-admin/
   includes/class-wp-filesystem-direct.php on line 217
 * Warning: copy(/home/local1st/public_html/wp-includes/certificates/ca-bundle.crt)[
   function.copy]: failed to open stream: Success in /home/local1st/public_html/
   wp-admin/includes/class-wp-filesystem-direct.php on line 217
 * Disabling Maintenance mode…
 * Could not copy file.: wp-includes/certificates/ca-bundle.crt
 * Installation Failed
 * This is what is now showing when you try to access the site:
 * Fatal error: Call to undefined function wp_register_plugin_realpath() in /home/
   local1st/public_html/wp-settings.php on line 213
 * The site address is [http://www.localfirstalliance.com](http://www.localfirstalliance.com)
 * Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [muddg](https://wordpress.org/support/users/muddg/)
 * (@muddg)
 * [12 years ago](https://wordpress.org/support/topic/auto-update-failed-1/#post-4876061)
 * This kind of thing usually happens because of a permission problem on a directory
   or a specific file.
 * You can “usually” (9 times out of 10) resolve the failed installation by doing
   a manual update.
 * So you have to use FTP to get to the back end. If you haven’t alrady, take steps
   to do a backup including MySQL database and at the very least backup the wp-config.
   php file which is in the root directory of the WordPress install.
 * You can find instructions for the manual update on [this page](https://codex.wordpress.org/Updating_WordPress).
 * If you need any further help with this procedure, post your questions here.
 *  [prasadneeraj](https://wordpress.org/support/users/prasadneeraj/)
 * (@prasadneeraj)
 * [12 years ago](https://wordpress.org/support/topic/auto-update-failed-1/#post-4876062)
 * Yes, I have checked your issue. Due to incomplete update, some files are not 
   updated currently. That’s why it is giving error.
 * Generally, it is occurred due to following reason.
    - File permission issues
    - Network/internet speed
 * Just upload below files of wp 3.9
 * wp-includes
    wp-admin and all php file which are on the root of the site except
   wp-config.php and .htaccess

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Auto Update Failed’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [prasadneeraj](https://wordpress.org/support/users/prasadneeraj/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/auto-update-failed-1/#post-4876062)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
