WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Stuck in Maintenance Mode (4 posts)

  1. svedman
    Member
    Posted 4 years ago #

    My blog went into automatic Maintenance Mode when I initiated upgrading two plugins.

    Problem is, server returned a 500 error (which it does sometimes, the crappy thing. All it takes is a reload and it works), but now the Maintenance Mode is stuck!

    How do I disable the automatic Maintenance Mode?

  2. svedman
    Member
    Posted 4 years ago #

    Nevermind, I found out that deleting the .maintenance file found in the WordPress root/base folder disables Maintenance Mode.

  3. Dion Hulse
    WordPress Dev
    Posted 4 years ago #

    The .maintenance file is only valid for 10 minutes from its creation time.

    In the event that WordPress encounters a fatal error or doesnt cleanup after itself after a bulk upgrade/core upgrade action, the blog will be locked into the maintenance mode until <start time>+10mins.

    As you found out, you can delete the .maintenance file before then to recover.

  4. sacredpath
    Member
    Posted 4 years ago #

    I just panicked on a failed plugin upgrade attempt. I deleted the .maintenance file as svedman suggested and relaxed, but it is good to know there is a time limit on maintenance mode.

    Thanks to you both.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.