Updating plugins/themes/core files in WordPress is usually pretty smooth… you check what you want to update, hit the button, up pops the “enabling maintenance mode” message, the system goes through the list, then at the end, it finishes with “disabling maintenance mode”, and off you go.
But once in a while, something happens that gets the install stuck in Maintenance Mode. Whenever you update something, WP creates this .maintenance file in the root of the WordPress install, this file is used to display the “Briefly unavailable for scheduled maintenance. Check back in a minute.” message. Usually, when the updates finish, WP deletes this file, but when something goes wrong with the update, sometimes it doesn’t get removed. What you’re left with is a site that’s stuck with the message on the front-end, and the back-end is blocked.
So here’s how you get rid of the “Briefly unavailable for scheduled maintenance. Check back in a minute.” message and get your site back.
- Get access to the actual files on the server, either through (S)FTP, cPanel, or whatever system your web host uses.
- Find the option that shows you the hidden files on the server (in cPanel, it’ll give you the option when you click on File Manager, or you can activate it through the gear settings icon in the top right when you’re already in the File Manager – In Filezilla (for FTP access), You’ll need to click on Server, then “force showing hidden files” on the menu bar).
- Navigate to the root of your WordPress install & find the .maintenance file, usually in the public_html folder.
- Remove the file
- Yay, your site is back
And that’s pretty much it. Did you know you can actually customise your maintenance page? The vanilla page is not very pretty but can be styled as you see fit, SeedProd did a great post on how to do this -> check it out.
Rebecca’s strengths are in SEO and data analysis, but she also knows her way around WordPress pretty well, and is in charge of finding specific WordPress problems that people have, and then offer solutions.
Check our about page for more info.