How To Fix ‘Another Update Is Currently In Progress’ WordPress Error

How To Fix ‘Another Update Is Currently In Progress’ WordPress Error

How To Fix ‘Another Update Is Currently In Progress’ WordPress Error - A significant portion of your site maintenance time will be spent

How To Fix ‘Another Update Is Currently In Progress’ WordPress Error – A significant portion of your site maintenance time will be spent updating WordPress’ core, themes, and plugins.

Also read: How To Flush DNS Command In 2023

This is a necessary task that protects and secures your website. However, while the process usually goes smoothly, you may encounter the ‘Another Update is Currently in Progress’ error on occasion.

How To Fix ‘Another Update Is Currently In Progress’ WordPress Error

When performing core updates, WordPress will typically ‘lock’ the database. This is to avoid causing additional errors by running multiple updates.

However, there are some occasions when this lock remains in place. This is indicated by the ‘Another Update is Currently in Progress’ error that appears on the Dashboard > Updates screen. There are two possible solutions:

  1. You can make use of the WP-CLI.
  2. You can modify your database using a tool like Adminer or phpMyAdmin.

In this post, we’ll go over all of them. Let’s start with the command line.

1. Make use of the WP-CLI

If you are comfortable with the command line and want to use it to access WordPress, the WP-CLI is an excellent choice. This tool is covered in a number of articles on the WPKube blog.

It’s possible that your host includes WP-CLI (for example, Kinsta) and you don’t need to install it. If this is the case, we recommend that you select this option.

Before you begin, you’ll need the following items:

  • Secure Shell (SSH) credentials for your website.
  • The ability to connect to your site using SSH.
  • An SSH client suitable for your operating system (OS), such as PuTTY for Windows. The standard macOS Terminal is ideal for the job.

We’d also recommend that you look into the WP-CLI support that your host provides. Other approaches may suit you better because there are several ways to resolve the ‘Another Update is Currently in Progress’ error.

Once you’ve opened a command prompt, connect to your site via SSH and, when prompted, type the following:

wp option delete core_updater.lock

When you run this command, you should see a success message, and the problem should be resolved.

2. Use a Dedicated Tool to Access Your Database

The standard method for accessing your database is to use a tool such as Adminer or phpMyAdmin. This is another topic covered in other articles on WPKube. As a result, you should have the following in place:

  • You must have access to your database and a suitable tool.
  • Understanding of how to use that tool to navigate your database.

Once inside, navigate to the wp_options table. To resolve the ‘Another Update is Currently in Progress’ error, go to the following location:

There may be several rows here, but the one you need is the core_updater.lock option name. If there are a lot of rows to parse through, you may need to search for it.

In any case, all you need to do here is select and delete the offending row, and the error should be resolved.

Conclusion

WordPress updates should frequently assist you in reducing the number of errors you see. A core update, on the other hand, could cause the ‘Another Update is Currently in Progress’ error in WordPress. Fortunately, the solution is straightforward.

Also read: 9 Ways On How To Fix DNS_PROBE_FINISHED_NXDOMAIN Error

In most cases, you’ll have to correct this error manually. To remove unwanted rows from your database, use the WP-CLI or a dedicated database tool. Both solutions should be adequate, and which one you choose will be determined by your level of comfort with each approach.

ExplainWP
The WordPress Learning Hub

Related Posts