How to restore WordPress website stuck in maintenance ?

Just sometime back, we tried to update our website’s plugin, since we logged into our dashboard after long time.. so, when we clicked “update now” for all the plugin, somehow our connection got timed out, and website got stuck with the message,

“Briefly unavailable for scheduled maintenance. Check back in a minute.”

but since our connection was already timed out, the website just couldn’t complete the plugin update, and website stopped working completely with above message like as below,

Solution :

When the WordPress based website goes to “maintenance mode” , it creates “.maintenance” file at the top root of the source code, normally where you will see wp-config.php file is located. So, to resolve this issue, you would definately need either SSH access or FTP access for your website source code.

Related :   How to fix WordPress pages / posts 404 error ?

Since we had SSH access, we logged into to our server, navigate to top directory of source code and executed below command to delete this “.maintenance” file as,

$ rm -rf .maintenance

And just refresh the website in browser and you can see its now working…

If you are using FTP, you may need to check, how to see hidden files ( which normally starts with dot in Linux ) and then delete.


lynxbee_ezoic

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )

   


Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded