• Home
  • About John P.
  • Contact
  • Terms
  • Facebook
  • Google+
  • Instagram
  • LinkedIn
  • Pinterest
  • StumbleUpon
  • Twitter
  • YouTube

One Man's Blog

Specialization is for Insects.

  • 10 Best
  • Art
  • Computing
  • Fun Stuff
  • Gadgets
  • Videos
  • Photography
  • Travel
  • Tutorials
  • Health & Fitness
  • Politics
  • Thoughts
  • Food
  • Reviews
  • 10 Best
  • Art
  • Computing
  • Fun Stuff
  • Gadgets
  • Videos
  • Photography
  • Travel
  • Tutorials
  • Health & Fitness
  • Politics
  • Thoughts
  • Food
  • Reviews
Home / Tutorials / Tutorial: Manually Take WordPress Out of Maintenance Mode

Tutorial: Manually Take WordPress Out of Maintenance Mode

John P.

August 4, 2010 By John P.

Today while performing a WordPress upgrade on another blog the update failed! Grrr. If that wasn’t enough of a problem, when I checked the site it was stuck in “Maintenance” mode – meaning that no matter what you tried to do the only thing that showed up was a page telling you the site was in “Maintenance Mode”.

I Googled like a madman, and searched the WordPress site too, but there is no documentation as to what to do to get it out of this mode! So, I fired up my FTP browser and manually performed a complete upgrade of WordPress. Still no luck!

Next I checked the .htaccess file to see if the system had added some sort of line to it, but no luck. Finally, I noticed a strange file in the root of the site called .maintenance. The date stamp was just minutes old, so I deleted it and VOILA, the site was back to normal.

So, if you are unable to load WordPress because it’s stuck in Maintenance mode, just FTP into the root directory and delete the .maintenance file. Too bad this wasn’t documented somewhere, and too bad that with this in place you can’t even access the WP Admin area. Sheesh…

Related

Filed Under: Tutorials, Wordpress Tagged With: Annoyances, Hacks, Tutorials, Wordpress

About John P.

John P. is a former CEO, former TV Show Host, and the Founder and Wizard behind Texas Metal Works. You can find him on Twitter, Facebook and LinkedIn. Feel free to send shoutouts, insults, and praise. Or Money. Money is good.

Comments

  1. VGN says

    August 27, 2015 at 12:25 pm

    Hi John,

    What can I do if I can’t find the .maintenance file? My website isn’t stuck in the maintenance mode, but if you browse around the site, you will get that page a couple of times. I check My FTP (with the hidden dot files check) and there is no .maintenance file to be found anywhere. I can even see the .htaccess file but no .maintenance file. Do you know what else may be causing this issue? Would really appreciate your help.

    Thanks

  2. johan says

    July 23, 2014 at 1:14 pm

    Thank you, thank you, thank you… If you would have hade a donate button I so would have. Life saver!

  3. Steph Petersen says

    June 5, 2014 at 11:26 am

    This saved me much time and I am sure a headache, thanks so much for posting this!

  4. Jules says

    April 16, 2014 at 5:24 pm

    Yip, I also don’t have a file called .maintenance. Any plan B?

  5. Kevin says

    March 4, 2014 at 9:00 am

    Thanx for sharing worked well for me – however now I need to figure out which plugin failed an update and screwed the site :(

  6. Andy says

    June 23, 2013 at 5:57 pm

    Hi there,

    I recently put a new theme on my site and then upgraded WordPress. It is now stuck with OUR SITE IS CURRENTLY UNDER CONSTRUCTION PLEASE CHECK BACK SOON. I have seen to delete the .maintenance file via FTP but I have looked through every file and this maintenance file is not there. I have forced show hidden files too. I have deleted the theme and deactivated all the plugins but its still in Maintenance Mode. Can anybody help please?

  7. jane says

    May 21, 2013 at 6:28 am

    after login my site appears but when I click the ´control panel´ on the upper left sidebar to edit my site, there is only a blank – nothing shows. There is no ´maintenance. file in the ftp root, and this occurred after updating the version. So can anyone give a suggestion on how to reactivate the edit mode again.

  8. Knud Berggreen says

    April 13, 2013 at 3:28 am

    Thanks. It was a great help :-)

  9. RMDS says

    February 14, 2013 at 12:00 pm

    Tks man! Don’t believe WP never alerted anybody on this…

  10. Jason says

    December 12, 2012 at 1:40 am

    Thanks for saving my life! It worked for me!!!!

  11. Akash says

    December 11, 2012 at 11:56 pm

    hello i was upgrading WordPress 3.4 to 3.5 in maintenance mode, but accidently i close my browser! when i reopen the wordpress it say this error(Fatal error: Call to undefined function force_ssl_admin() in /home/eurdmaur/public_html/wp-login.php on line 15).

    Can anybody help me out of this situation?
    Please…

  12. Jaco says

    November 27, 2012 at 11:57 pm

    Thanks, this got me out of a pickle.

    I wasn’t even upgrading anything, just adding products through WooCommerce when suddenly! Maintenance.

    Any idea what causes it?

  13. Matt Refghi says

    July 24, 2012 at 10:24 am

    Thanks for this! Exactly what I needed.

  14. boffinboy says

    May 31, 2012 at 6:30 pm

    Thank you for the tip. Failed plugin update put me into maintenance mode. Panic was mercifully short after seeing your post. Sometimes WordPress takes us a little out of our comfort zone. When are they going to include a big, fat Undo Button?!

  15. SinDe says

    May 4, 2012 at 1:15 pm

    I was waiting for the hosting to answer when I found this answer to my problem! Thank you so much for posting about getting stuck in maintenance. Saved lots of time and stress.

  16. Marco says

    August 13, 2011 at 12:51 pm

    Thanks man, You saved my life ;-)

  17. Richard says

    January 21, 2011 at 7:05 am

    Thanks for this tip – a real life saver!

  18. Amy says

    January 19, 2011 at 1:25 am

    I’m just getting used to working on some WordPress themes and I have like 3 different installations going at once, which all needed to be upgraded. Most of the time they don’t work right away (blame the web host I guess) and one of them got stuck in maintenance. Your tip saved me, thanks!

  19. blue says

    December 31, 2010 at 2:40 pm

    Thanks. This really helped me. I was busy updating my plugins and closed the window by mistake.

  20. Lance Brown says

    November 7, 2010 at 11:35 pm

    John,

    Thanks for hunting down this solution for the rest of us. It worked perfectly! You kept my period of panic down to a minimum. :-)

    Be well, be free,
    Lance

  21. dotcompals says

    October 27, 2010 at 9:08 am

    But I can see the .maintenance file when using the cpanel filemanager.

  22. Sasha says

    October 18, 2010 at 5:06 am

    Thank you so MUCH! I just had a minor freak out when it happened to me with a clients website!! Do you mind if I repost this on my site?

  23. LawnWin says

    October 14, 2010 at 9:33 am

    Thank you for saving me! I knew updating plugins through the WordPress website rather than my FTP would be a disaster but that didn’t seem to stop me. You’ve saved me from having to pester my more web savvy friends :)

  24. Vernessa Taylor says

    October 6, 2010 at 10:32 am

    This happened to me once before, immediately after I upgraded WordPress to 3.0. Like your experience, this error was so new, not much had been written about it. After about 10 minutes, it came to its senses! But today when it happened after trying to bulk upgrade some plugins, I’d forgotten the answer.

    Glad you took time to write up a quick tutorial. Looks like the bulk upgrade function could use some work.

  25. Shermal says

    September 19, 2010 at 3:34 am

    I encountered this before as well, but once I was so tried, I left it in maintenance mode and went to have a Tea. When I came back, I refreshed the site to see that every was normal… no maintenance mode! I logged and saw in the admin panel a message saying “An automated WordPress update has failed to complete – please attempt the update again now.”

    This was a after approximately 10 mins (very hot Tea!), and it seems WP has a script inside which manually deletes the “.maintenance” file.

    Hope this helps. (Its ok to err with WP :-) )

  26. Mitch Milam says

    September 11, 2010 at 6:06 pm

    Thanks John. That tip was a real life-saver.

    Mitch

  27. Johan says

    September 11, 2010 at 11:55 am

    Thanks, you just saved me a lot of time! :D

  28. Steve Crenshaw says

    September 1, 2010 at 6:47 am

    Thanks for the post. I got stuck in maintenance mode and you are the sixth site that comes up on google. Luckily you are the only one with the answer. Thanks again.

  29. bbarbara says

    August 27, 2010 at 10:05 pm

    WordPress is a great blogging tool but can be tricky sometimes when you need to do routine maintenance.

  30. Yinka says

    August 26, 2010 at 6:20 pm

    Thanks for the heads up. Hope I am never in that situation. Must have very annoying. Did you already know how to do this or did you find out by trial.

  31. John Scott says

    August 12, 2010 at 4:09 am

    A very interesting post. I have been using wordpress for the last couple of years. I absolutely love the platform. It is growing and improving all the time and will stay at the front of blogging for years to come.

    I personally have not had that problem with the maintenance mode plugin, however, i have had various problems with others. The problems are always encountered because of the frequency that WordPress is upgraded. The majority of plugins are created by normal people like you and I and as such don’t always get the attention they should. In time new plugins are always released to replace ones that fall by the wayside and wont work with the latest version of WordPress.

    If in doubt whether a plugin will work or not, then don’t upgrade the WordPress version. It will continue to work with no problem.

  32. Mario says

    August 11, 2010 at 2:05 pm

    THANK YOU!!! You just saved me from hours searching and reinstall nightmare.. ;)

  33. Alexa says

    August 9, 2010 at 3:30 am

    Nice Post,
    Thanks For information, This information is very usefull for me.

  34. Jose Gregorio says

    August 4, 2010 at 5:21 pm

    Tanks for the post! I am now starting to build a blog using wordpress and am having a very hard time!!! lol…..I guess I need to buy a wordpress book to get a blog that looks as good as this one! lol

  35. barb says

    August 4, 2010 at 1:02 pm

    The exact same thing happened to me today! I had to contact tech support for help. I couldn’t find any documentation either. More people need to know about this. Thanks for posting.

John P’s Tweets

Tweets by johnpoz

John P. on Instagram

Ok, what we're gonna do, see, is jack this bitch u Ok, what we're gonna do, see, is jack this bitch up so high you need a ladder to get in it. Then put low profile tires on it.

Makes sense.
Let them eat turkey... I mean cake. Let them eat turkey... I mean cake.
Need I say more? Need I say more?
Cleaned my vehicles with @ArmorAllUSA Ultra Shine Cleaned my vehicles with @ArmorAllUSA Ultra Shine Wash Wipes. Here's the story! http://onemansblog.com/ultrawipes

#ArmorAll - #Ad - #YeeHaw
Tomorrow I'm getting my new forklift from @quality Tomorrow I'm getting my new forklift from @quality_equipment! Can't wait to start forking stuff. ;-)
Aaarrgh! What should I choose? Aaarrgh! What should I choose?
Have I died and gone to heaven? Have I died and gone to heaven?
Hard boiled chili quail eggs anyone? Hard boiled chili quail eggs anyone?
I'll take two! I'll take two!
This exists. This exists.
Over two pounds of pizza! Over two pounds of pizza!
Where should I start? Where should I start?
Give it a minute. You'll get it... Give it a minute. You'll get it...
Instagram post 17855855425047701 Instagram post 17855855425047701
Instagram post 17849137462070109 Instagram post 17849137462070109
It'll tickle yore innards! It'll tickle yore innards!
Instagram post 17855388973056226 Instagram post 17855388973056226
The @genyhitch is a massive 80 pound drop hitch wi The @genyhitch is a massive 80 pound drop hitch with a bonus - it can absorb the shock from twists, turns and bumps in the road, providing cushioning for both the tow vehicle and whatever it's pulling.
Who's up for some ghost pepper powder in their sal Who's up for some ghost pepper powder in their salt?
Downloading at around 140 MB/S. That's a full Gig Downloading at around 140 MB/S.  That's a full Gigabit download speed from the World of Warcraft servers to the new @Acer Predator desktop machine.
Follow on Instagram

Read Over 2,500,000 Times

  • How I'd Hack Your Weak Passwords
  • Amusing Little Helicopter Game
  • A Compendium of 150 Monty Python Sketches
  • 10 Worst Drivers Ever Caught On Video
  • Get Your Virtual Haircut and Other Auditory Illusions
  • How Crack Cocaine is Made

Copyright © 2022 · Local Media on Genesis Framework · WordPress · Log in

Follow Along for E-Mail Updates
Don't miss any of John P's craziness! Just shove your email address in the slot below and we'll take care of the rest! :-)
Arrow

Email: