Cannot acquire config import transformer lock

Created on 6 January 2022, almost 3 years ago
Updated 26 June 2024, 4 months ago

Drupal\Core\Config\StorageTransformerException: Cannot acquire config import transformer lock. in Drupal\Core\Config\ImportStorageTransformer->transform() (line 112 of /var/www/drupal/app/docroot/core/lib/Drupal/Core/Config/ImportStorageTransformer.php).

When try to access /admin/config/development/configuration page I got following error in recent log messages

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Configuration 

Last updated 1 day ago

Created by

🇮🇳India miteshpatel119

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.

  • 🇺🇸United States smustgrave

    From reading this sounds like maybe this should be reopened?

  • Status changed to Active over 1 year ago
  • It’s not ideal that just loading the config form would do this. It seems that non-database cache backends are more susceptible for some reason. It seems with a DDEV setup this is reproducible according to comments.

  • 🇧🇷Brazil gustavowal

    We have also seen this for the first time on an Acquia website with Drupal 10.2.7, there's no further log messages to indicate that needs to be investigated next:

    The only actual change was a dependency removal from an entity view, and following another deploy with cim, there was no further errors.

    2024-06-26T13:47:19Z  [info] Initialized Drupal 10.2.7 root directory at /var/www/html/docroot
    2024-06-26T13:47:19Z  [info] Drush bootstrap phase: bootstrapDrupalSite()
    2024-06-26T13:47:19Z  [info] Initialized Drupal site default at sites/default
    2024-06-26T13:47:19Z  [info] Drush bootstrap phase: bootstrapDrupalConfiguration()
    2024-06-26T13:47:19Z  [info] Drush bootstrap phase: bootstrapDrupalDatabase()
    2024-06-26T13:47:19Z  [info] Successfully connected to the Drupal database.
    2024-06-26T13:47:19Z  [info] Drush bootstrap phase: bootstrapDrupalFull()
    2024-06-26T13:47:20Z  [info] Starting bootstrap to full
    2024-06-26T13:47:20Z  [info] Drush bootstrap phase 5
    2024-06-26T13:47:20Z  [info] Try to validate bootstrap phase 5
    2024-06-26T13:47:20Z  [info] Try to validate bootstrap phase 5
    2024-06-26T13:47:20Z  [info] Try to validate bootstrap phase 5
    2024-06-26T13:47:20Z  [info] Try to validate bootstrap phase 5
    2024-06-26T13:47:20Z  [info] Try to validate bootstrap phase 5
    2024-06-26T13:47:20Z  [info] Try to validate bootstrap phase 5
    2024-06-26T13:47:50Z In ImportStorageTransformer.php line 112:
    2024-06-26T13:47:50Z   [Drupal\Core\Config\StorageTransformerException]
    2024-06-26T13:47:50Z   Cannot acquire config import transformer lock.
    2024-06-26T13:47:50Z Exception trace:
    2024-06-26T13:47:50Z   at /var/www/html/docroot/core/lib/Drupal/Core/Config/ImportStorageTransformer.php:112
    2024-06-26T13:47:50Z  Drupal\Core\Config\ImportStorageTransformer->transform() at /var/www/html/vendor/drush/drush/src/Commands/config/ConfigImportCommands.php:202
    2024-06-26T13:47:50Z  Drush\Commands\config\ConfigImportCommands->import() at n/a:n/a
    2024-06-26T13:47:50Z  call_user_func_array() at /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php:276
    2024-06-26T13:47:50Z  Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback() at /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php:212
    2024-06-26T13:47:50Z  Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter() at /var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php:176
    2024-06-26T13:47:50Z  Consolidation\AnnotatedCommand\CommandProcessor->process() at /var/www/html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:391
    2024-06-26T13:47:50Z  Consolidation\AnnotatedCommand\AnnotatedCommand->execute() at /var/www/html/vendor/symfony/console/Command/Command.php:326
    2024-06-26T13:47:50Z  Symfony\Component\Console\Command\Command->run() at /var/www/html/vendor/symfony/console/Application.php:1096
    2024-06-26T13:47:50Z  Symfony\Component\Console\Application->doRunCommand() at /var/www/html/vendor/symfony/console/Application.php:324
    2024-06-26T13:47:50Z  Symfony\Component\Console\Application->doRun() at /var/www/html/vendor/symfony/console/Application.php:175
    2024-06-26T13:47:50Z  Symfony\Component\Console\Application->run() at /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php:110
    2024-06-26T13:47:50Z  Drush\Runtime\Runtime->doRun() at /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php:40
    2024-06-26T13:47:50Z  Drush\Runtime\Runtime->run() at /var/www/html/vendor/drush/drush/drush.php:139
    2024-06-26T13:47:50Z  require() at /var/www/html/vendor/drush/drush/drush:4
    2024-06-26T13:47:50Z  include() at /var/www/html/vendor/bin/drush:119
    2024-06-26T13:47:50Z  [Acquia\Blt\Robo\Tasks\DrushTask]  Exit code 1  Time 31.638s
    2024-06-26T13:47:50Z  [error]  Failed to import configuration!
Production build 0.71.5 2024