{"id":18078,"date":"2011-04-05T22:51:20","date_gmt":"2011-04-05T17:21:20","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=18078"},"modified":"2020-05-24T10:49:56","modified_gmt":"2020-05-24T05:19:56","slug":"fix-wordpress-error-briefly-unavailable-for-scheduled-maintenance","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2011\/04\/fix-wordpress-error-briefly-unavailable-for-scheduled-maintenance\/","title":{"rendered":"Fix WordPress Error: Briefly Unavailable for Scheduled Maintenance"},"content":{"rendered":"<p>&#8220;Briefly Unavailable for Scheduled Maintenance. Check back in a minute.&#8221; This WordPress error got highlighted on all blog pages and WordPress admin as the site became unaccessible when I performed an automatic upgrade to  WordPress to 3.1.1 right now.<\/p>\n<h3>Briefly Unavailable for Scheduled Maintenance<\/h3>\n<p>As the WordPress upgrade started, the core update was not completed and the upgrade screen got stuck. The entire site hosted the same text &#8220;Briefly Unavailable for Scheduled Maintenance. Check back in a minute.&#8221;. There was no way to access the site or WordPress Admin.<\/p>\n<p>It was scary since I had recently <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/02\/fix-ftp-connection-information-wordpress-plugin-upgrades\/\">fixed my automatic plugin upgrade errors<\/a>, by switching to SuPHP. But I had encountered this once before, so I know this was not as serious as it appeared to be. But unless you know the solution, there is no way out.<\/p>\n<p>When WordPress autoupgrades, it inserts a <strong>.maintenance file<\/strong> in the WordPress root directory, which displays the message, so people dont see the broken php codes as the site continues to upgrade. Once the WordPress core and database is upgraded, the .maintenance\u00a0file is deleted and the site comes back online normally. This was an <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2007\/08\/upgrading-wordpress-notify-visitors-with-maintenance-mode\/\">incorporation of WordPress Maintenance mode plugin<\/a> into the WordPress core.<\/p>\n<p>In some cases, the process gets stuck, and the .maintenence file fails to get deleted. So the same message &#8220;Briefly Unavailable for Scheduled Maintenance. Check back in a minute.&#8221; keeps displaying.<\/p>\n<h3>Delete .Maintenance WordPress File<\/h3>\n<p>FTP into your server and login to the WordPress root installation.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-18079\" title=\"maintenance-error\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/maintainence-error.png\" alt=\"maintainence-error\" width=\"347\" height=\"136\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/maintainence-error.png 347w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/maintainence-error-150x58.png 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/maintainence-error-300x117.png 300w\" sizes=\"(max-width: 347px) 100vw, 347px\" \/><\/p>\n<p>Delete the .maintenance\u00a0file. And your site will come back online. In our case it was stuck pending a database upgrade. As soon as we tried to login to WP Admin, it asked for a database upgrade which completed in one click.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Briefly Unavailable for Scheduled Maintenance. Check back in a minute.&#8221; This WordPress error got highlighted on all blog pages and&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6],"tags":[49,17],"class_list":["post-18078","post","type-post","status-publish","format-standard","hentry","category-blogging","tag-tutorials","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/18078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=18078"}],"version-history":[{"count":0,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/18078\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=18078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=18078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=18078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}