There are mainly three things a user can update in WordPress: The Core installation file, Themes, and lastly plugins. Usually updating WordPress doesn’t create any problem but sometimes after updating the core installation file, a theme, or a plugin when we get back to the WordPress dashboard a message saying “An automated WordPress update has failed to complete – please attempt the update right now” appears on the top.
Anyone will click on the ‘please attempt the update again now’ link to complete the update and get rid of this annoying message. But the real problem starts from here. You will find there is no update available in the updates section leaving you in jeopardy. If you are seeing this message and have done everything you could do to remove it then finally you have come to the right place. Here in this article, I will provide a simple fix by which you can remove this message permanently.
Why does it happen?
Whenever we initiate an update from the dashboard whether it is of core installation, a theme, or a plugin our site goes into maintenance mode. Visiting the site in that period shows “Briefly unavailable for scheduled maintenance. Check back in a minute.”
It happens because WordPress adds a .maintenance file automatically in the public_html folder on our server. When the update gets completed, the file automatically gets deleted. Sometimes when updates fail without getting fully completed WordPress does not delete the maintenance file automatically.
In that situation either the site never comes out of maintenance and shows “Briefly unavailable for scheduled maintenance. Check back in a minute.” or sometimes it throws an “An automated WordPress update has failed to complete – please attempt the update right now.” message in the dashboard.
How To Fix “An automated WordPress update has failed to complete – please attempt the update right now”
The simplest and easiest way to fix the issue is deleting the .maintenance file manually which WordPress created but not deleted automatically. To delete the file, you will have to login into the file manager of your server.
As everyone is using different hosting providers and each host has a different solution for giving the file manager access. It might be a problem for some. Still, a huge chunk of hosts uses cPanel as their control panel like Bluehost, GoDaddy.
In case you are using Hostinger or Dreamhost then you might have a custom control panel. Not a problem, look for File Manager in the panel you have and open it. If your host doesn’t offer any file manager then it’s not the end of the world. You can always use an FTP client like FileZilla to access your files. Once you have access to files go ahead and delete the .maintenance file from your server.
How To Delete .Maintenance file using File Manager
Follow the below step-by-step guide to delete the .maintenance file from File Manager.
Step 1: Log in to your hosting account and go to the cPanel.
Step 2: Look for File Manager in the cPanel or simply search for it. Once you have found the File Manager, open it.
Step 3: After opening the file manager click on public_html.
Step 4: You might not see the .maintenance file at first. It is simply because files starting with a dot in their name don’t show up in the file manager by default.
Step 5: To show hidden files tap on the Settings option given in the top right corner.
Step 6: A pop box will appear having the option to show hidden files. Check the box that says Show Hidden Files(dotfiles) and click Save.
Step 7: Once you have enabled Show hidden files you will see the .maintenance file in the root directory.
Step 8: To delete the .maintenance file right-click on it and tap on Delete.
Step 9: At the final stage check the option that says “Skip the trash and permanently delete the files” and click Confirm.
That’s it you have successfully deleted the .maintenance file from your server and now when you will refresh your WordPress dashboard the “An automated WordPress update has failed to complete – please attempt the update right now” will disappear.
So, this is how you can remove the “An automated WordPress update has failed to complete – please attempt the update right now” warning from your WordPress dashboard. All you need to do is to delete the .maintenance file from the root directory of your server. You can either use the File Manager given by the hosting provider or use FileZilla. I hope by trying the above steps you would have got rid of the annoying message. For more WordPress tips, tricks and fixes keep visiting our blog.