There was a time when we had our site on a shared hosting service with limited resources. We didn’t get a lot of traffic so didn’t see the need to spend a lot of money on dedicated or VPS hosting. Unfortunately, shared hosting solutions are very limited and can cause many issues for sites. One of them is the dreaded maintenance error. That is what happens when you try to update your WordPress website but the process fails for some reason. This is usually the message that your site will show when it gets stuck in the maintenance mode.
The good news is there is a simple way to get your website unstuck from this maintenance mode. All you have to do is look for .maintenance file in your root directory and remove it. Your site will come back up quickly.
Maintenance errors can happen for various reasons. While your site is still operational, it can’t be served to your visitors as long as you don’t delete the above file. Of course, if you start to get too many of these errors, you may want to look for a better host or have a talk with your web host on why your updates fail time and time again. Making a few changes to your hosting environment could be the answer.