Ahh yeah, WordPress simply rolled out another update to variation 3.1.1. If you"re may be to update via the Admin, updating your site(s) have to be a piece of cake: just log in, click a couple of buttons, wait a couple of minutes, and done. The convenience of automatically updating the WordPress core, plugins, and also themes is awesome, yet things can go wrong when in awhile and also auto-updates have the right to fail.

If this happens, getting ago on monitor is a little bit tricky, therefore here"s a quick guide to aid restore website functionality and also ensure a appropriate WordPress update.

You are watching: An automated wordpress update has failed to complete - please attempt the update again now.

Update: Fix newer versions the WordPress

This is an upgrade to the original tutorial below. For newer versions of WordPress, once you try to upgrade WordPress, you can get an error the says:

Another update is right now in progress.

If you obtain that message, follow this steps:

Delete the option named core_updater.lock native the alternatives table in your site"s WordPress databaseDelete the contents of the upgrade brochure located in ~ /wp-content/upgrade/ (delete anything inside of this folder)

The very first step might be all that’s necessary to deal with the error. The second step is just to be 100% sure that you"re preventing the current/stuck upgrade and also want to begin fresh indigenous scratch.

We now return come the initial tutorial..

What one auto-update failure looks like

After initiating the auto-update the the WordPress core (say, native 3.1.0 come 3.1.1), the "Update WordPress" screen will begin displaying the standing of each step, beginning with this messages:

Downloading update from http://wordpress.org/wordpress-3.1.1.zip...Unpacking the update...Verifying the unpacked files...Installing the recent version...

So much so good, yet even if it gets the far, there"s quiet a possibility of failure, as checked out in this current screenshot:


The status message that shows up just before "Installation Failed" explains what WordPress thinks is the issue, however there are instances where points go wrong and no messages are displayed. In either case, the user can obtain locked out the the site. Once this happens, trying to load any type of of her pages – admin, blog, login, etc. – gets you the nothing but the WordPress maintenance page:

Briefly have not for scheduled maintenance. Check back in a minute.

Very frustrating, and very daunting to fix things once you can"t log in to Admin. Fortunately, friend don"t need Admin to solve it and get earlier in. Just FTP your means to the source directory and also delete the .maintenance file. The name begins with a dot, therefore if girlfriend don"t see it making use of your FTP program, shot logging into your server"s regulate panel and also using the document manager come find and also delete. Here is a screenshot mirroring the .maintenance document in the root installation directory:


This paper contains a variable the is offered by the wp_maintenance function. It looks favor this:

If you get locked out of your site, deleting the .maintenance record will resolve the issue and also get you earlier into Admin and also other locations of your site. As soon as there, WordPress may remind girlfriend of the current update failure by displaying the following message:

An automatic WordPress update has actually failed to complete - please attempt the update again now.


At this point, you have actually (at least) 2 choices: save trying with auto-updates or download the recent version and upload manually. Even if you decide to update manually, you may want to solve the issue and get auto-updates working for future versions.

Check paper Permissions

Proper paper permissions space the key come smooth auto-anything. On the Codex page for the Dashboard to update SubPanel, the Troubleshooting section advises:

Make sure that your whole wordpress magazine is owned by the username under which your Apache server runs. For example, if her server runs as https, and your documents live in /var/wordpress carry out a "chown -R apache.apache /var/wordpress."

In addition to this advice, friend may additionally try transforming the permissions of your /upgrade/ directory. As viewed in the following screenshot, WordPress uses the /upgrade/ catalog for a temporary paper used during the installation process:


For the momentary WordPress document to be created, the /upgrade/ catalog needs to be writable through the server. To check out if this is the issue, try setting the catalog permissions to 777 (or CHMOD equivalent) and also trying the auto-update again. If that works, you"ve fixed the issue, yet you should constantly use the most restrictive permissions possible.

This might take some research, experimenting, and/or a aid ticket through your host, yet once you obtain it, you"re all set for auto-updates. Here is an digital CHMOD Calculator to help with the switch process.

Turn Off safe Mode

If possible, disabling Safe setting may assist to acquire auto-updates working again. According to the PHP Manual, Safe Mode is deprecated as of PHP version 5.3.0:

This attribute has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.

Disabling Safe setting is done in a range of ways. If disabling through your server"s control panel isn"t possible, you can use this snippet in php.ini:

safe_mode = OffOr this snippet in her Apache construction file:

php_admin_flag safe_mode offJust include that password to your httpd.conf file and restart Apache.

Define FTP Variables in wp-config.php

As discussed, another method to acquire auto-updates functioning is to define the requisite variables in her wp-config.php file. Over there are many variations top top this technique, therefore you"ll must do her own experimentation to obtain a collection of definitions that occupational for your situation. Below is what functions for me top top Media Temple"s (dv) server:

define('FS_CHMOD_FILE', 0755);define('FS_CHMOD_DIR', 0755);define('FS_METHOD', 'ftpext');define('FTP_BASE', '/httpdocs/');define('FTP_CONTENT_DIR', '/httpdocs/wp-content/');define('FTP_PLUGIN_DIR ', '/httpdocs/wp-content/plugins/');define('FTP_USER', 'username');define('FTP_PASS', 'password');define('FTP_HOST', '123.456.789');define('FTP_SSL', false);Place the in her wp-config.php file, just over the line that says, "That"s all, protect against editing! Happy blogging." Don"t forget to edit the username, password, and also any other variables through your very own information.

See more: Poems For Silent E Aky "E" Poem, Silent E Poems Worksheets & Teaching Resources


If you"re questioning yourself why stroked nerves with every one of this information, it"s due to the fact that WordPress auto-updates functions is therefore awesome the it"s precious resolving any kind of issues to acquire it working. Together with automatic plugin and also theme updates, auto-WordPress updates have actually saved us many hours that work. For part sites, auto-updates functions perfectly, for others, not so much. Simply remember what you"re playing for here – it looks choose this and will make maintaining up with WordPress update a much an ext enjoyable experience.