How to handle "Cannot claim an item - unable to process the batch"?

Created on 18 September 2022, almost 2 years ago
Updated 23 June 2023, 12 months ago

Problem/Motivation

I am encrypting the "init" email address for users. When running an automated script that installs my site, imports config with drush, and then imports users with feeds, the root user (user 1) did not get the email address encrypted. Now when I try to make a change to the user settings, under "Process queues", I see:

There are 2 entities queued for updating to use the latest field encryption settings.

However, when I press "Process updates", I get:

Cannot claim an item - unable to process the batch

Is there some way to reset this?

πŸ’¬ Support request
Status

Fixed

Version

3.0

Component

Documentation

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany TipiT Hamburg

    You can remove the batch items from the Queue directly from the database by:

    delete from queue where name = 'field_encrypt_update_entity_encryption';

    Just be sure the deed was done correctly, meaning the fields processed or set the batch to run again. I could not figure out why I got that error in the first place.

Production build 0.69.0 2024