WordPress Stuck in “Briefly Unavailable for Scheduled Maintenance”? Fixed in 2 Minutes

You update a plugin, wait a few seconds, and instead of your website you see a plain white page that says: “Briefly unavailable for scheduled maintenance. Check back in a minute.” You check back in a minute — and the message is still there. An hour later, it is still there. Your WordPress site is stuck in maintenance mode, and every visitor sees the same message instead of your content.

The good news: this is one of the easiest WordPress errors to fix. In most cases, a WordPress stuck in maintenance mode problem takes less than two minutes to solve, and you do not need to touch any code. This guide explains why it happens and walks you through the fix step by step using StackCP.

wordpress stuck in maintenance mode fix on stackcp

Table of Contents

What Is WordPress Maintenance Mode?

Whenever WordPress updates its core, a theme, or a plugin, it briefly puts your site into maintenance mode. It does this by creating a small hidden file called .maintenance in the root folder of your WordPress installation. While that file exists, every visitor sees the “Briefly unavailable for scheduled maintenance” message instead of your site.

Normally, WordPress deletes the file automatically the moment the update finishes — usually within a few seconds. You would never even notice it. The problem starts when the update is interrupted before it can finish: the .maintenance file is left behind, and WordPress keeps showing the maintenance message forever.

Your site is not broken, and your content is not lost. WordPress is simply waiting for a signal that the update finished — and that signal is the removal of one small file. Delete it, and your site comes back instantly.

Why Does WordPress Get Stuck in Maintenance Mode?

An update is interrupted for a few common reasons:

  • You closed the browser tab during an update. If you navigate away or close the tab while WordPress is updating a plugin or theme, the process stops halfway.
  • Too many updates at once. Updating ten plugins in one go increases the chance that one of them times out, especially on a busy shared server.
  • A slow or timed-out connection. If the update takes longer than the server allows, the process is killed mid-update and the .maintenance file is never removed.
  • A failed update. A plugin or theme update can fail because of a corrupted download, a permissions problem, or a conflict with another plugin — leaving the file behind.
  • Low PHP memory or execution time. Large updates can run out of memory or hit the PHP execution time limit, which stops the update before it completes.

Whatever the cause, the fix is the same: remove the .maintenance file. Here are three ways to do it, starting with the easiest.

Fix 1: Delete the .maintenance File in StackCP (2 Minutes)

This is the fastest method, and you do not need any extra software. StackCP includes a built-in File Manager that lets you see and delete the file directly.

  1. Log in to your StackCP control panel and open the File Manager.
  2. Navigate to the root folder of your WordPress installation — the folder that contains wp-config.php, wp-admin, and wp-content. For a main domain this is usually the public_html folder; for an add-on domain it is the folder you set when you added the domain.
  3. Turn on Show Hidden Files if your File Manager hides them. The .maintenance file starts with a dot, so it is hidden by default in many file managers.
  4. Find the file named .maintenance in the list.
  5. Select it and click Delete. Confirm the deletion.
  6. Open your website in a new browser tab. It should load normally again.

That is the whole fix in most cases. If you do not see a .maintenance file in the root folder, make sure hidden files are visible and that you are looking in the correct WordPress folder — a site installed in a subfolder (for example public_html/blog) keeps its .maintenance file in that subfolder, not in the main public_html folder.

Fix 2: Delete the File with the WP File Manager Plugin

If you cannot access StackCP right now, a file manager plugin can do the same job — but only if you can still reach your WordPress admin area. In many cases the maintenance message locks you out of wp-admin too, so this method works best when the admin area is still accessible.

  1. Log in to your WordPress admin dashboard.
  2. Go to Plugins > Add New and install a file manager plugin such as WP File Manager.
  3. Open the plugin and browse to the root folder of your WordPress installation.
  4. Enable the option to show hidden files, find .maintenance, and delete it.
  5. Refresh your website to confirm it is back.

If you cannot reach wp-admin at all, use Fix 1 or Fix 3 instead. And once your site is back, you can keep the file manager plugin installed for next time — or remove it if you prefer to manage files through StackCP.

Fix 3: Delete the File with FTP

FTP is a good fallback if the StackCP File Manager is unavailable. You need an FTP client such as FileZilla and your FTP login details from StackCP.

  1. Open your FTP client and connect to your hosting account with the FTP details from StackCP.
  2. Browse to your WordPress root folder — the one containing wp-config.php.
  3. Make sure your FTP client is set to show hidden files (in FileZilla, go to Server > Force showing hidden files).
  4. Right-click the .maintenance file and choose Delete.
  5. Reload your website. It should be back to normal.

If you have never used FTP before, Fix 1 through the StackCP File Manager is simpler — it needs no extra software and no login details beyond your hosting panel.

What If Your Site Is Still Stuck After Deleting the File?

If you deleted .maintenance and the message is still showing, work through these checks in order:

  • Clear your browser cache and try again. Your browser may be showing a cached copy of the maintenance page. Hard-refresh with Ctrl + Shift + R (or Cmd + Shift + R on Mac), or open the site in a private browsing window.
  • Purge your caching plugin and server cache. If you use a caching plugin or a server-level cache, the maintenance page may be stored in the cache. Purge all caches, then reload the site.
  • Check for a second .maintenance file. If WordPress is installed in a subfolder, or you have a staging copy, there may be another .maintenance file in a different folder.
  • Check whether the interrupted update damaged a plugin or theme. Sometimes the update that got stuck also left a half-updated plugin behind. Go to your WordPress dashboard, check for failed updates, and update the affected plugin or theme again. If a plugin is broken, deactivate it from the dashboard — or rename its folder in the File Manager (under wp-content/plugins/) to disable it — and then reinstall it.
  • Check the update log in your database. In rare cases, a stuck update leaves an option called core_updater.lock in the database. This is uncommon for a plugin update, but if nothing else works, a developer can clear it from the wp_options table in phpMyAdmin.

In almost every case, one of the first two checks solves it: the file is gone, and only a cached copy of the maintenance page remains.

How to Prevent It Happening Again

You cannot eliminate maintenance mode — WordPress needs it during updates — but you can make sure it never gets stuck again:

  • Never close the tab during an update. Wait for the “updated successfully” message before navigating away.
  • Update one thing at a time. Updating plugins one by one takes a little longer, but a single failure cannot strand the whole batch.
  • Update during quiet hours. Run updates when your traffic is lowest, so even a slow update finishes quickly.
  • Keep PHP memory and execution time generous. In StackCP, you can raise the PHP memory limit and max execution time for your site — this gives large updates room to finish instead of timing out. Our guide to increasing the PHP memory limit on StackCP walks through the settings.
  • Back up before major updates. A backup before a WordPress core update means you can restore in minutes if an update goes wrong, instead of troubleshooting a half-updated site.
  • Use a staging site for big changes. Test major updates on a staging copy first, and only update the live site once you know the updates work.

A stuck maintenance mode message looks alarming, but it is really WordPress doing its job a little too well: it protected your visitors from seeing a half-updated site. Now you know where the switch is — one hidden file, one delete, and your site is back.

Frequently Asked Questions

How long does WordPress maintenance mode normally last?

Only a few seconds. WordPress creates the .maintenance file when an update starts and deletes it automatically when the update finishes. If the message is still showing after a minute or two, the update was interrupted and the file was left behind — delete it manually to bring your site back.

Where is the .maintenance file in WordPress?

It is in the root folder of your WordPress installation — the same folder that contains wp-config.php, wp-admin, and wp-content. For a main domain this is usually public_html; for a site in a subfolder it is that subfolder. The file starts with a dot, so you need to show hidden files in your file manager to see it.

Is it safe to delete the .maintenance file?

Yes. The file is only a flag that tells WordPress to show the maintenance message. Deleting it does not touch your content, database, themes, or plugins. Just make sure no update is actually still running before you delete it — wait a few minutes after the update started, and if the message is still there, it is safe to remove the file.

Why is my WordPress admin dashboard also showing the maintenance message?

Because the .maintenance file blocks the whole site, including wp-admin, while it exists. You cannot fix it from inside WordPress in that case. Use the StackCP File Manager or FTP to delete the file, and the dashboard will be accessible again immediately.

Related Guides

Now that your site is back online, keep it that way with hosting that makes WordPress easy. If you are setting up a new site, our step-by-step guide shows you how to install WordPress on StackCP — and when you are ready for fast, reliable hosting with a control panel built for WordPress, explore the plans at FistHost.

Read Previous

Free Course Giveaway: Beginner WordPress Designer by Learn WordPress — Design Professional Websites with Block Themes

Read Next

Free Course Giveaway: Advanced WordPress User by Learn WordPress — Master SEO, Speed & Site Management Free

Leave a Reply

Your email address will not be published. Required fields are marked *

Most Popular