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.
Command line execution
sed 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.Implementation details
So, to resolve this issue, you would definately need either SSH access or FTP access for your website source code. 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.
Gotchas and common issues
Permission checks - verify user access rights and sudo privileges before executing system-level operations.
Environment configuration - double-check path variables and dependency versions to prevent runtime failures.
Backup safeguards - maintain configuration backups before applying system or database modifications.
Following these steps ensures clean configuration and reliable execution for restore wordpress website stuck in maintenance.
Comments and corrections