action scheduler issue
-
In progress is blocking other actions but shows nothing.
-
Action Scheduler migration in progress. The list of scheduled actions may be incomplete.
Maximum simultaneous queues already in progress (1 queue). No additional queues will begin processing until the current queues are complete.
All (10303) | Complete (10285) | Pending (17) | In-progress (1) | Past-due (9)
Select All
Hook
Sort descending.
Status Arguments
Group
Sort descending.
Recurrence
Scheduled Date
Sort descending.
Log
Claim ID
Sort descending.
No items found.Thanks for the detail, I can see what’s happening here. There are actually two messages at play:
The “Action Scheduler migration in progress” notice means AS is currently in the middle of migrating its internal data store, which is normal after certain updates. During that process, the action list is explicitly marked as potentially incomplete, which is likely why filtering to “In-progress” returns nothing even though the counter shows 1.
The combination of those two things points to a stuck claim: a processing lock that was created for an action during the migration, but never got released, possibly because the action itself completed or was moved before the claim could be cleared. Action Scheduler sees that lock and won’t start any new queues until it’s gone.
Could you let us know how long it’s been in this state? If the migration just started it may resolve on its own within a few minutes. If it’s been sitting like this for a while with no change, there’s a straightforward way to clear the stuck claim and get things moving again. Just want to confirm it’s genuinely stuck before recommending that step.
Looking forward to your response.
It happened this morning and seems to still be going on (4 hours about). Should I wait longer? Thanks.
Four hours is definitely too long; this isn’t going to clear on its own at this point. The stuck lock needs to be cleared manually from the database.
Before doing anything, please take a database backup. Then run this query via phpMyAdmin or a similar tool:
DELETE FROM wp_actionscheduler_claims;This table holds processing locks only — it doesn’t contain any action data itself, so clearing it is safe. Once done, Action Scheduler should be free to start processing queues again.
After running it, keep an eye on the Action Scheduler screen (WooCommerce → Status → Scheduled Actions) and let us know if the in-progress count clears and pending/past-due actions start moving. If the migration notice also disappears, that’s a good sign everything has resumed normally.
I hope that helps. Let us know how that goes.
in wp-cli I ran wp db query “DELETE FROM wp_actionscheduler_claims;” and still shows 1 in progress but “No items found.”, & Error: There are too many concurrent batches.
-
This reply was modified 1 day, 19 hours ago by
joebarrettaccess.
Thanks for the update.
Out of curiosity, could you share a screenshot of the In-Progress hook via snipboard.io? That way, we know what we’re dealing with. Also, have you noticed any actual issues on the site because of this (orders not processing, emails not sending, etc.), or is it mainly the queue backlog itself you’re concerned about?
Looking forward to your response.
-
This reply was modified 1 day ago by
Frank Remmy (woo-hc).
-
This reply was modified 1 day, 19 hours ago by
You must be logged in to reply to this topic.