In this series of step-by-step tutorials, we show you how to troubleshoot and fix common WordPress errors.
Important: Always do a backup of your WordPress site (files and database) before modifying any files or performing any upgrades or installations!
If you don’t want to back up your files yourself, then consider getting support from a WordPress professional, or use backup plugins.
- Learn about a great WordPress backup plugin that can fully automate your site backups here: Back Up, Copy & Keep Your WordPress Website Protected With Backup Creator Plugin For WordPress
- For professional WordPress help and technical support, see our WordPress Services Directory
Normally, when you update your software, plugins, or themes, WordPress will temporarily go into “Maintenance Mode.”
What can sometimes happen when performing WordPress upgrades, especially if using automated solutions, is that WordPress can get stuck in Maintenance Mode and your site will then display a “Briefly unavailable for scheduled maintenance. Check back in a minute.” message as shown in the screenshot below instead of your regular web content …
(WordPress Stuck On “Briefly Unavailable For Scheduled Maintenance”)
More likely than not, if you find yourself in this situation, you will not be able to log into your WordPress site or access any other page of your site.
Here is a simple way to fix this problem:
Log into your server using FTP software or via cPanel > File Manager and locate a file in the root folder called “.maintenance” …
Delete this file from your server …
The “failed update” message should be removed the next time you log into your WordPress administration area, refresh your browser, or open up a new browser window and type in your site’s URL.
In addition, you should find your site restored and working again …
Sometimes, if the error happens in the middle of the WordPress software upgrade procedure, you may be presented with a “Database Update Required” dialog box like the one shown in the screenshot below …
(WordPress Database Update Required)
If the above screen comes up, just click on the Update WordPress Database button to complete the upgrade process.
You may also want to try changing the permissions of your /upgrade/ directory. WordPress uses the wp-content/upgrade/ directory to create a temporary file used during the installation process …
For the temporary WordPress file to be created, the /upgrade/ directory needs to be writable by the server. To check if this is what is causing the issue, try setting the directory permissions to 777 (or CHMOD equivalent) and retry the auto-update process.
To learn how to set server file permissions, see the tutorial below:
Note: Always use the most restrictive permissions possible for your server files. This may require a little research, experimentation and assistance from your web hosting provider, but it will ensure the security of your files and your website.
If you’re still experiencing problems or errors using the auto-update features, here are some additional configuration settings you may want to ask your web hosting company to test or check to see if your issues can be resolved:
- Safe Mode turned off
- Define FTP Variables in wp-config.php
- Server not running suPHP
In addition to the information above, check out this video on how to fix the WordPress “Briefly Unavailable For Scheduled Maintenance” error from the team at MyThemeShop:
(How to fix the WordPress “Briefly Unavailable For Scheduled Maintenance” error. Video: MyThemeShop)
More WordPress Troubleshooting Tutorials
Refer to the tutorials in the section below if you experience additional errors with WordPress:
"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)
Disclaimer: We have no direct association with WordPress or any of the WordPress-related products reviewed on this site. We may receive affiliate commissions or financial benefits from sales of any products or services advertised on our website. All images remain the copyright of their respective owners, comply with all license terms and agreements of use are used solely for illustrative or training purposes.
Did you enjoy this article? If so, please consider sharing this post with anyone who can benefit from learning about WordPress using the links below.