Today, while upgrading a WordPress plugin, I encountered the message „
Briefly unavailable for scheduled maintenance. Check back in a minute„, which translates to “Routine maintenance is in progress, please come back in a minute.„ However, the entire website became inaccessible. Since this wasn“t the first time I„ve faced this issue, resolving it was straightforward.

Methods to resolve „Briefly unavailable for scheduled maintenance. Check back in a minute“
The root cause of this prompt is that WordPress automatically generates a .maintenance file during the upgrade process to prevent website access while upgrading. This file is automatically deleted upon successful upgrade completion. However, if the upgrade fails, the .maintenance file may not be automatically deleted. Manually deleting this file will resolve the issue.
Method 1: Delete via SSH command

Using an SSH command, navigate to your website's root directory, then enter `rm -rf .maintenance`. For a tutorial on using SSH to manage your server, please refer to:
#建站#Xshell 6 Basic Tutorial: Connecting to a VPSMethod 2: Delete via Baota Panel file function
Log in to the Baota Panel Admin Dashboard, click on your website's folder, locate the .maintenance file, and delete it. Forgot the Baota Panel admin address? See:
What to do if you forget the Baota Panel backend login URLMethod 3: Delete the .maintenance file via FTP
Open your FTP software (FileZilla, a free FTP client, is recommended), log in to your website's root directory, locate the .maintenance file, and delete it.
Method 4: Modify the wp-activate.php file
If you cannot find the .maintenance file mentioned above, you can try this method. Locate the wp-activate.php file in your website's root directory. You can modify it via SSH or download it locally via FTP for editing. On line 9, change `define( 'WP_INSTALLING', true );` to: `define( 'WP_INSTALLING', false);`. Then upload the file and refresh your website to regain normal access.
Method for manually updating WordPress
If you need to manually update WordPress, please refer to the previous article:
WordPress手动升级版本的教程. For upgrading plugins, you can directly download the new version's plugin zip file, extract it, and upload it to overwrite the old plugin. Alternatively, you can delete the old plugin in the Admin Dashboard and reinstall the new plugin by uploading the zip file.
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.