Update failed -1 error popped up
After more than 6 months, When I opened my WordPress admin dashboard and there are so many updates pending for WordPress CMS, theme, and plugins. I tried to update it from the dashboard but it kept saying “Update failed -1” and when I refreshed the page it ended up on a white screen saying “Briefly unavailable for scheduled maintenance. Check back in a minute.” after that, I have to wait for some time to log in again to my dashboard.
Table of Contents
Deleting the .maintenance file in your root directory
After searching on Google “The solution to fixing the “Briefly unavailable for scheduled maintenance” error is to delete the .maintenance file in your root directory.” So, I headed towards the hosting panel (Hostinger) to delete the .maintenance file from the file manager. Navigating from the h-panel dashboard after logging in to my hosting account as follow:
h-panel Dashboard < File Manager < public_html < .maintenance
Deleted .maintenance file from the file manager, get back on the WordPress dashboard to update after refreshing the page. But that didn’t solve the problem it again went into maintenance mode and I had to wait for a couple of 10-15 minutes to get back into my WordPress dashboard.
Getting tired & thinking of another solution.
I tried the same process a couple of times because I thought that I must be doing the process incorrectly but the results were the same, my website kept going into maintenance mode.
I was tired & frustrated by the repeating same process and waiting period in maintenance mode. Then I thought of another solution which was to ask the hosting provider to solve the problem. But before I tried to do that I explored some new features on the h-panel and I found that I could update my website CMS, themes, and plugins from there also.
Updating the website functionality from the h-panel.
Before updating the website functions from the h-panel, once again I choose to delete the .maintenance file from the file manager and headed to the update section on the h-panel. Below I have mentioned the path to reach the securities section of the website to manually update it from the hosting panel.
h-panel Dashboard < Website < Auto Installer < Manage (on the selected domain) < Securities
The securities section allowed me to see all the functions like the installed CMS version, themes, and plugin details and let me make changes (like turning on/off the plugin, & deleting, and updating every other functionality) to them. That will also tell you “update available” for the pending updates for every individual function of the website.
All you have to do to update are these 3 simple steps now:
- press on three dots on the left-hand side of an individual function, two options will pop up to either delete or update.
- click on update, it will follow by an update prompt asking if you want to update or cancel.
- click on update and wait for the update process to get over, you will see a little yellow timer icon which will turn green and you will see a pop-up on the top left corner saying “Function was successfully updated.”
That’s it! You are Done!
Now, head back to your WordPress dashboard, keep hustling and next time don’t leave your website dead for so long. Hope this blog helped you to fix your issue also if not I am just a click away and you can ask me to help you with that. Thank you Geeks keep reading, keep learning!