Last week our ever-enthusiastic Help and Support Dude broke the internet.
Okay, so I exaggerate. He gave in to the nag message and pressed the “please update now” button on a WordPress installation, taking down one of our test sites. While no one was looking he craftily fixed the problem and then disappeared into the sunset.
If you’re an everyday end user, the WordPress auto-update button may seem like a godsend but it can cause endless trauma when you end up with a message like this:

WordPress experts will know instantly how to fix it, but plenty of people will be like “OMG! WHAT AM I GOING TO DO NOW?!”
It is actually remarkably easy to fix. As the message “Briefly unavailable for scheduled maintenance. Check back in a few minutes,” suggests, WordPress has created a maintenance file and placed it in your root directory.
Here’s how to get it:
1. Log in to your FTP and navigate to the root of your website. There you’ll find that pesky file. It’s called “.maintenance“:

2. Delete the file
Done!
That was easy!!!
Tip: This tends to happen with WordPress websites that have been installed using a 1-Click install like Fantastico. If you have installed with Fantastico you should update as outlined below.
How Do I Update WordPress Correctly?
This method does take longer than the one-click method but you’re much less likely to have problems.
- Backup (you should be doing this regularly anyway!)
- De-activate all plugins
- Download the latest version of WordPress
- Unzip WordPress
- Upload new versions of the wp-admin and wp-includes directories
- Upload new versions of root files except wp-config.php
- Choose any files from wp-content that you want (do this carefully – don’t upload the whole folder at once as you could overwrite important data!)
- Visit the home page, run database upgrade if prompted
- Re-activate plugins one by one.
MOST IMPORTANTLY! Don’t let Help and Support Dudes with itchy fingers near your site.
While this is an important piece of information for high volume sites, the .maintenance file will automatically expire after 10 minutes — so it’s not *really* the end of the world if it still exists.
The problem is the panic that it causes people whenever they see it. If you don’t know what you’re dealing with it can be very confusing.
I agree, especially for the typical web dev that tends to be extremely impatient. There’s more to this problem than the simple creation of the .maintenance file though.
When the site is on a host with strict permissions the .maintenance file often can’t be deleted: this is the case on most Windows-hosted WP sites I’ve seen. I never understood why the .maintenance file wouldn’t be created within the wp-uploads folder. That would have made more sense to me…but the functions that relate to the .maintenance file are not designed to be overloaded or provide alternatives. Sad, really.
There was a bug report/ticket on this topic submitted 9 months ago, and I provided a workaround on that thread to upload a default .maintenance file that would prevent the dreaded “down for maintenance” issue that sites with strong permission controls experience. The ticket is still open, with no clear indication that it’s going to be resolved anytime soon.
It’s easier to use ‘wordpress automatic upgrade plugin’ to avoid any unnecessary hassles.
The wordpress automatic upgrade plugin suffers the same problems (especially on strong security servers), and also has an additional point of failure (index.php.wpau.php.bak). Finally, since it caches the FTP authentication information, you should be careful about using it on any system that has shared access or uses plugins or themes that perform custom reads of the metadata tables, or it could put you at even greater risk.
One of the reasons I hate this is that some plugins lose all of their settings by simply deactivating them. I wish there was an easier way, or at least a better standard from authors of plugins.
Thanks a million, back up again after slow update crashed.
Sad I had to do it the hard way, but glad you had simple instructions on how to fix a failed WordPress Update. Thanks again!