Get a free website with any plan

See how
WORDPRESS

Fixing WordPress stuck in maintenance mode

Last updated

IN SHORT

To fix a WordPress site stuck in maintenance mode on Flashcloud, delete the hidden file named .maintenance from your site's root directory, usually public_html. WordPress automatically generates this file during updates and removes it when finished. An interrupted update leaves the file behind, blocking visitors until you remove it via FTP or the portal file manager.

If your WordPress site shows "Briefly unavailable for scheduled maintenance" and won't go away, delete the file called .maintenance in your site's root folder. WordPress creates this file automatically during every plugin, theme, or core update, then deletes it when the update finishes. If an update gets interrupted, the file gets stuck and so does your site.

Connect via FTP or the portal's file manager, open your site's root directory (usually public_html or a subfolder if WordPress isn't installed at the domain root), and look for .maintenance. It's a hidden file, so make sure your FTP client or file manager is set to show hidden files. Delete it and reload your site - this often fixes it right away.

Why the file gets stuck

WordPress writes .maintenance the instant an update starts, as a safety measure so visitors don't hit a half-updated site. It's supposed to be a matter of seconds. Three things on our stack commonly interrupt that window and leave the file behind:

1. The update timed out

A slow plugin download, a large core update, or a PHP execution limit can cause the update process to stop before it finishes cleanly. The maintenance file never gets cleaned up because the script that would delete it never reached that line. This is more likely if you were updating several plugins at once, or updating over a shared connection during high traffic.

2. You navigated away or closed the tab mid-update

If you closed the browser tab, hit back, or lost your connection while wp-admin was mid-update, the PHP process on our end may have been cut off before completion. Same result: the flag file stays.

3. A plugin or theme update triggered a fatal error

If the update itself introduced a fatal PHP error (an incompatible plugin version, a theme conflict), WordPress can get stuck between "update running" and "update finished." In this case, deleting .maintenance will bring the site back, but you may immediately see a different error afterward. If that happens, treat it as its own issue: check database connection errors if you see a blank database error, or work through the white screen of death steps if the page goes blank, since both explain how to turn on WP_DEBUG and isolate the offending plugin or theme.

If deleting the file doesn't fix it

Rarely, the maintenance file gets recreated immediately after you delete it. This usually means an update is genuinely still running in the background, not stuck, just slow. Wait a minute and check again before assuming it's stuck a second time.

If the site comes back but shows "There has been a critical error on this website" instead of your homepage, the interrupted update left a plugin or theme in a broken state. That article walks through the recovery mode email and the plugin-by-plugin isolation process, which is the fastest way to find the specific file that's failing.

Avoiding this next time

Update plugins and themes one at a time rather than in a single batch, especially on sites with many active plugins. Keep the browser tab open and connected until you see the "Updated!" confirmation. If you're updating a site that historically times out, check the PHP version tile in the portal, since some update failures trace back to a plugin requiring a newer PHP version than the one currently active.

When to contact support

If .maintenance isn't present in the root directory but the site still shows a maintenance-mode message, or the file reappears repeatedly without an update running, open a ticket from the portal's Support section. Include the exact message text and roughly when it started so support can investigate.

Common questions

Why can't I see the .maintenance file in my file manager?

The file is hidden by default. Turn on the setting in your FTP client or file manager to show hidden files. If the file is still missing but the message remains, open a ticket from the portal Support section.

Why does the .maintenance file come back after I delete it?

An update is likely still running in the background. Wait a minute and check again before deleting it a second time.

Why did my site get stuck in maintenance mode?

An update process was cut off before it could complete and clear the file. This typically happens when an update times out, you close the browser tab too early, or an update triggers a fatal PHP error.

What should I do if my site shows a critical error after deleting the file?

The interrupted update broke a plugin or theme. Check your recovery mode email and isolate your plugins one by one to find the broken file.

CAN'T FIND IT?

Real humans answer fast.

Hosting with us? Open a ticket and a real person replies - no scripts, no upsells. Still choosing a host? The same team is included with every plan, from day one.