Posted by mlecha on June 14, 2019 at 4:06pm
Hi,
I haven't seen this one before. I have a site in development that won't get past the "initializing" phase of a batch process. Like updating translations after a module install.
Clearing the cache doesn't seem to work.
Any ideas? I'm not finding much info online.
Thanks!
6 batch jobs in the queue! ... see "batch phpMyAdmin 4 8 5.png" attachment.

| Attachment | Size |
|---|---|
| Updating translations.png | 39.68 KB |
| Rebuilding content access permissions.png | 41.25 KB |
| batch phpMyAdmin 4 8 5.png | 100.57 KB |

Comments
Cron
Running Cron manually should do the trick
Batch still stuck
Thanks for the tip Bryden,
I've run cron manually from the site, and from "outside" with the URL the site provides. No dice.
update.php reports no updates required.
The database definition on the timestamp column for "batch" says "Stale batches are purged at cron time."
The actual batch column is a long blob and not readable, so I left to guessing there. There are a couple of 1.1MB blobs, which I think are updated translations after enabling a module.. a couple others are quite small.
No errors in the drupal log. No related errors in the php error log.
Not sure when stale batches will get purged, or if things will work once they've been deleted. One would assume that they wouldn't be in there if they weren't important?
This batch system seems to be different from the database updates that happen after an update or module addition, so perhaps they're less important, and only cleanup/maintenance.. not sure..
I'm going to try to grab a chance today to clone the site locally and delete the batch entries manually and see what happens.
Thanks for any comments or input!
Michael
Fixed
Good news. A software update to 8.73 and running update.php seems to have re-enabled the batch system.
I'll consult with a local shop to take a look in any case. Thanks for the advice.
Wish I could make it to the meetup this Thursday but am out of town. Next one for sure!