About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
WordPress 6.7.1 refuses a core update with "Another update is currently in progress." when a database option named core_updater.lock exists and its stored time is less than 900 seconds (15 minutes) old. Either an update is running, or an earlier one stopped before it could remove the lock. The lock expires by itself. Wait until 900 seconds have passed since the stored time and run the update again. Our own advice: delete the option only if the stored time is in the future, because waiting cannot end that lock.
What the error means
Before a core update downloads anything, Core_Upgrader asks for a lock: WP_Upgrader::create_lock( 'core_updater', 15 * MINUTE_IN_SECONDS ). If the lock cannot be taken it returns an error with the code locked and the text "Another update is currently in progress."
The lock is a row in the options table named core_updater.lock, and its value is the Unix time, in seconds, when it was taken. The code works like this:
- It tries to insert the row with the current time. If that works, the update proceeds.
- If the insert does not work, it reads the row. With no value it stops and refuses the update.
- If the stored time is later than the current time minus 900 seconds, the lock is still valid and the update is refused.
- Otherwise the lock has expired. The code deletes it, takes a new one and carries on.
When the update ends, whether it succeeds or fails after the lock was taken, the code deletes the option. A process that stops part way never reaches that line, so the row stays until step 4 clears it.
Background updates use a separate lock, auto_updater.lock, whose default hold time is one hour, and the automatic updater treats a locked answer from the core upgrader as a skipped update, not an error.
Likely causes
Rows 3 and 4 are our own reading of the code; the message and the 900 seconds are what the code prints and checks.
| Cause | What you see | How to confirm |
|---|---|---|
| An update is running now, started by another administrator, another browser tab or an automatic update | The message, and the stored time is under 900 seconds old | Ask who is updating; check the stored time below |
| An earlier update stopped part way (page closed, PHP process ended, server restarted) | The message, sometimes with the maintenance page showing | The stored time is under 900 seconds old and nothing is running |
| The stored time is later than the server clock | The message stays past 15 minutes | The stored value is greater than the current Unix time |
| The database cannot write the option | The message with no core_updater.lock option present |
wp option get core_updater.lock finds no value |
Prove the cause before changing anything
All of these steps only read.
- Write down the time you saw the message.
- Read the lock. WP-CLI's
wp option getprints the value of an option.
wp option get core_updater.lock
The value is a Unix time in seconds. Write it down.
- Read the current Unix time on the server. The
+%sformat ofdateprints the seconds since the Epoch (1970-01-01 00:00 UTC).
date +%s
Work out the age: the current Unix time minus the stored value. Under 900 means the lock is still valid. 900 or more means the next attempt clears it. A negative age means the stored time is in the future.
- Check the site root for a
.maintenancefile, which the update creates and removes. If visitors see a maintenance message, see WordPress "Briefly unavailable for scheduled maintenance": when the update message stays. - Ask whether anyone else is on Dashboard > Updates. The Updating WordPress page says "Keep the page open until the update finishes."
Fix
Choose the route that matches what you proved.
The lock is valid or expired: wait, then update again
Waiting needs no change. Wait until the age from step 3 reaches 900 seconds, then retry the update with the steps below.
First save the current state: make a full backup of the site's files and database with your host's backup tool, as the Updating WordPress page advises before an update.
Risk: the retry replaces WordPress core files. The Updating WordPress page warns: "The upgrade process will affect all files and folders included in the main WordPress installation. This includes all the core files used to run WordPress. If you have made any modifications to those files, your changes will be lost." An update that stopped part way may have left a mix of old and new core files, and the retry is meant to finish it.
Go to Dashboard > Updates and click "Update Now", the button the Updating WordPress page names. Keep the page open until it finishes.
To undo it, only if the site is broken afterwards: restore the backup you took. Anything saved to the site after the backup, such as orders or posts, is lost.
The stored time is in the future
Waiting will not end a lock whose stored time is ahead of the clock. Our own advice: in that case, and only after you have asked whether anyone is updating, the option is the thing to delete. First save the current state: write down the value from step 2 and the current time.
Risk: the next command deletes the core update lock. If an update is in fact still running, a second core update can then start while the first is writing files. Our own reading: two updates writing the same core files at once could leave the installation broken.
wp option delete core_updater.lock
Then retry the update with the steps under "The lock is valid or expired: wait, then update again", which start with the backup and carry their own warning.
To undo the deletion, only if you need the lock back: add the option again with the value you wrote down. WordPress inserts this row with autoload set to off, so the command sets the same.
Risk: the next command recreates the lock, so core updates are refused again until it expires or is deleted.
wp option add core_updater.lock <value you wrote down> --autoload=off
Then read the option again and check that it holds the value you wrote down.
wp option get core_updater.lock
No lock exists but the message appears
The database refused the insert and no row was readable. Our own reading: that is a database fault, not an update fault. Our own advice: pass the symptom to whoever manages the database, because the options table must accept inserts for the account in wp-config.php.
The site shows the maintenance page after an update stopped
Our own reading of the code: the lock and the .maintenance file are separate, so clearing one does not clear the other. The Updating WordPress page says: "If your website remains in maintenance mode after an update has failed, check whether a .maintenance file is still present in your WordPress root directory. You can remove this file using FTP or your hosting provider’s file manager once you’ve confirmed the update is no longer running." No step for removing the file is given here. The same page names a Manual Update procedure for sites where the one-click update keeps failing; it replaces core files by hand and is outside this fault.
Example (illustrative): on web01, an administrator clicks Update Now on www.example.com at 12:00:00 UTC. wp option get core_updater.lock would return 1796385600 for that moment. The PHP process stops at 12:00:40 and the update ends. At 12:10:00 (1796386200) the administrator retries and sees the message: 1796386200 minus 1796385600 is 600 seconds, which is under 900, so the lock is valid. At 12:15:00 (1796386500) the difference is 900 seconds, which is not under 900, so the lock has expired and the next attempt clears it.
Confirm the fix
- The update runs without the message and finishes. Core releases the lock at the end, so
wp option get core_updater.lockshould then find no value. - Load the site's home page and Dashboard > Updates. The site should show no maintenance message.
- Check that the
.maintenancefile is gone from the site root.
What to watch afterwards
- Keep the update page open until it finishes and run core updates outside busy hours.
- If the lock keeps reappearing after short waits, look for another process starting updates, such as a second administrator or an automatic update.
- If updates stop partway repeatedly, the cause is usually file permissions or PHP limits rather than the lock. The Updating WordPress page says "If you have any problems, it is probably related to permissions issues on the filesystem."
Read next
Related articles you may want next.
- TroubleshootingWordPress "Briefly unavailable for scheduled maintenance": when the update message staysWordPress shows Briefly unavailable for scheduled maintenance during an update. If it stays after the update finishes, check then delete the .maintenance file in the site root.Read article
- HostingWordPress "Installation failed: Destination folder already exists.": find the folder, then installInstallation failed: Destination folder already exists. See if the plugin is installed, inspect its folder, then park it and install again.Read article
- HostingWordPress Site Health "A scheduled event has failed": check WP-Cron, DISABLE_WP_CRON and the system cronWordPress Site Health: A scheduled event has failed. Read the hook and overdue time, check DISABLE_WP_CRON, then run wp-cron.php from a system cron job.Read article
Risks and limits
- These commands have not been run or lab-tested.
- The 900 seconds and the option name are from WordPress 6.7.1. Other versions may use different values.
- Our own reading: deleting the lock while an update runs can corrupt core files. Your backup is the way back from that.
- The age depends on the server's clock. A server with a wrong clock gives a wrong age.
Sources
- class-core-upgrader.php (WordPress 6.7.1) — WordPress core source at tag 6.7.1, no date shown, accessed 4 December 2026
- class-wp-upgrader.php (WordPress 6.7.1) — WordPress core source at tag 6.7.1, no date shown, accessed 4 December 2026
- class-wp-automatic-updater.php (WordPress 6.7.1) — WordPress core source at tag 6.7.1, no date shown, accessed 4 December 2026
- Updating WordPress — WordPress.org Documentation, 7 November 2026, accessed 4 December 2026
- wp option get — WP-CLI Command, no date shown, accessed 4 December 2026
- wp option delete — WP-CLI Command, no date shown, accessed 4 December 2026
- wp option add — WP-CLI Command, no date shown, accessed 4 December 2026
- date(1) — Linux manual page — Linux man-pages project, no date shown, accessed 4 December 2026
This article was originally published on .