Remove Automated Update Failed Message

WordPress 4.7 has just been released only few days back. Just like millions of WordPress fans all over the world, I was also eagerly waiting to get my hands on the latest version of WordPress. While the update process went pretty smoothly on this site, it was not quite the same story for one of my client’s site. Since the auto update has been disabled, I had to manually press the “Update Now” button to initiate the updating process. However, for some reason the whole process didn’t go as it was expected. It stopped middle of the way for a very long time.

After waiting for almost 5-10 minutes, I had to navigate to a different page to check the status. Somehow I could see the process has been completed successfully as I could easily see the “Version 4.7” at the bottom right hand side of the screen. The problem was, there was a message at the top of the admin panel that states:

An automated WordPress update has failed to complete – please attempt the update again now.

I manually update the site once again but alas! the message wouldn’t go away. Now a funny thing happened. While logged into the FTP account, I saw a new file that I have never seen before. Please take a look at the screenshot (below) that I have taken from my FTP Client.

FTP View of WordPress Maintenance FileWordPress’s .maintenance file as it was seen from FTP Client.

Out of curiosity, I simply made a backup copy of that file on my computer and removed it from FTP folder. I came back to the admin panel and refreshed the page. Whola! the message was gone! Not quite sure what exactly has happened but somehow I got rid of that weird message.

Summary is, if you ever encounter such message on your WordPress site. Feel free to check out the root directory of your WordPress installation. If you see .maintenance file, simply remove it. You should be good to go. Hope this post helps someone. Thank you.

Today In History



Leave a Reply

Note: Convet HTML, PHP, JavaScripts from HTMLify, before posting from comment section.
License: By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution. Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.