- Issue created by @a_godin
- πΊπΈUnited States jeffery.grantham
I'm having the same issue going from 10.2.2 to 10.3.2. I've tried various versions of drupal core and the issue only begins and persists from 10.3.0 onward. Attaching verbose drush output. I've attempted to clean up the output so that it is readable.
[info] Starting bootstrap to full [0.48 sec, 2.76 MB]
[info] Drush bootstrap phase 5 [0.48 sec, 2.76 MB]
[info] Try to validate bootstrap phase 5 [0.48 sec, 2.76 MB]
[info] Try to validate bootstrap phase 5 [0.48 sec, 2.76 MB]
[info] Try to bootstrap at phase 5 [0.48 sec, 2.76 MB]
[info] Drush bootstrap phase: bootstrapDrupalRoot() [0.48 sec, 2.76 MB]
[info] Change working directory to /var/www/html/mdcps/web [0.48 sec, 2.76 MB]
[info] Initialized Drupal 10.3.1 root directory at /var/www/html/mdcps/web [0.48 sec, 2.76 MB]
[info] Try to validate bootstrap phase 5 [0.48 sec, 2.76 MB]
[info] Try to bootstrap at phase 5 [0.49 sec, 2.91 MB]
[info] Drush bootstrap phase: bootstrapDrupalSite() [0.49 sec, 2.91 MB]
[debug] Could not find a Drush config file at sites/default/drush.yml. [0.49 sec, 2.97 MB]
[info] Initialized Drupal site default at sites/default [0.49 sec, 2.97 MB]
[info] Try to validate bootstrap phase 5 [0.49 sec, 2.97 MB]
[info] Try to bootstrap at phase 5 [0.49 sec, 2.97 MB]
[info] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.49 sec, 2.97 MB]
[info] Try to validate bootstrap phase 5 [0.5 sec, 2.99 MB]
[info] Try to bootstrap at phase 5 [0.51 sec, 3.18 MB]
[info] Drush bootstrap phase: bootstrapDrupalDatabase() [0.51 sec, 3.18 MB]
[info] Successfully connected to the Drupal database. [0.51 sec, 3.18 MB]
[info] Try to validate bootstrap phase 5 [0.51 sec, 3.18 MB]
[info] Try to bootstrap at phase 5 [0.51 sec, 3.18 MB]
[info] Drush bootstrap phase: bootstrapDrupalFull() [0.51 sec, 3.18 MB]
[debug] Start bootstrap of the Drupal Kernel. [0.51 sec, 3.18 MB]
[debug] Get container builder [0.57 sec, 3.95 MB]
[debug] Finished bootstrap of the Drupal Kernel. [1.09 sec, 11.83 MB]
[debug] Loading drupal module drush commands & etc. [1.09 sec, 11.83 MB]
[debug] Found drush.services.yml for key Drush commands [1.09 sec, 11.84 MB]
[debug] Found drush.services.yml for token Drush commands [1.1 sec, 11.84 MB]
[debug] Found drush.services.yml for webform Drush commands [1.1 sec, 11.84 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommands [1.31 sec, 15.64 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommentsCommands [1.31 sec, 15.64 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeSessionsCommands [1.31 sec, 15.65 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserFieldsCommands [1.31 sec, 15.65 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserTableCommands [1.31 sec, 15.65 MB]
[debug] Add a commandfile class: Drupal\entity_reference_revisions\Commands\EntityReferenceRevisionsCommands [1.31 sec, 15.66 MB]
[debug] Add a commandfile class: Drupal\key\Commands\KeyCommands [1.31 sec, 15.66 MB]
[debug] Add a commandfile class: Drupal\token\Drush\Commands\TokenCommands [1.31 sec, 15.69 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformSubmissionCommands [1.31 sec, 15.69 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformLibrariesCommands [1.31 sec, 15.72 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformUtilityCommands [1.31 sec, 15.74 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformDocumentationCommands [1.31 sec, 15.74 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformDevelCommands [1.31 sec, 15.75 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformSanitizeSubmissionsCommands [1.31 sec, 15.75 MB]
[debug] Add a commandfile class: Drupal\pathauto\Commands\PathautoCommands [1.31 sec, 15.76 MB]
[debug] Add a commandfile class: Drupal\xmlsitemap\Commands\XmlSitemapCommands [1.31 sec, 15.77 MB]
[info] Executing: /var/www/html/mdcps/vendor/bin/drush updatedb:status --yes --strict=0 --uri=default [1.5 sec, 19.91 MB]
---------- --------------------- ------------- -------------------------------
Module Update ID Type Description
---------- --------------------- ------------- -------------------------------
system add_langcode_to_all post-update Adds a langcode to all simple
_translatable_confi config which needs it.
g
system amend_config_sync_r post-update Fix path in README.txt in
eadme_url CONFIG_SYNC_DIRECTORY.
system convert_empty_count post-update Updates system.date config to
ry_and_timezone_set NULL for empty country and
tings_to_null timezone defaults.
system mail_notification_s post-update Adds default value for the
etting mail_notification config
parameter.
system move_development_se post-update Move development settings
ttings_to_keyvalue from state to raw key-value
storage.
system set_cron_logging_se post-update Fix system.cron:logging
tting_to_boolean values to boolean.
taxonomy set_new_revision post-update Re-save Taxonomy
configurations with
new_revision config.
taxonomy set_vocabulary_desc post-update Converts empty `description`
ription_to_null in vocabularies to NULL.
views pager_heading post-update Adds a default pager heading.
views rendered_entity_fie post-update Removes entity display cache
ld_cache_metadata metadata from views with
rendered entity fields.
views views_data_argument post-update Post update configured views
_plugin_id for entity reference argument
plugin IDs.
---------- --------------------- ------------- -------------------------------// Do you wish to run the specified pending updates?: yes.
[info] Executing: /var/www/html/mdcps/vendor/bin/drush updatedb:batch-process 10 --uri=default [2.74 sec, 20.14 MB]
[notice] Update started: system_post_update_add_langcode_to_all_translatable_config
[notice] Processed 50 items of 689.
[notice] Processed 100 items of 689.
[notice] Processed 150 items of 689.
[notice] Processed 200 items of 689.
[notice] Processed 250 items of 689.
[notice] Processed 300 items of 689.
[notice] Processed 350 items of 689.
[notice] Processed 400 items of 689.In Process.php line 435:
[Symfony\Component\Process\Exception\ProcessSignaledException]
The process has been signaled with signal "9".Exception trace:
at /var/www/html/mdcps/vendor/symfony/process/Process.php:435
Symfony\Component\Process\Process->wait() at /var/www/html/mdcps/vendor/consolidation/site-process/src/SiteProcess.php:225
Consolidation\SiteProcess\SiteProcess->wait() at /var/www/html/mdcps/vendor/symfony/process/Process.php:252
Symfony\Component\Process\Process->run() at /var/www/html/mdcps/vendor/drush/drush/includes/batch.inc:154
_drush_backend_batch_process() at /var/www/html/mdcps/vendor/drush/drush/includes/batch.inc:55
drush_backend_batch_process() at /var/www/html/mdcps/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php:410
Drush\Commands\core\UpdateDBCommands->updateBatch() at /var/www/html/mdcps/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php:73
Drush\Commands\core\UpdateDBCommands->updatedb() at n/a:n/a
call_user_func_array() at /var/www/html/mdcps/vendor/consolidation/annotated-command/src/CommandProcessor.php:276
Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback() at /var/www/html/mdcps/vendor/consolidation/annotated-command/src/CommandProcessor.php:212
Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter() at /var/www/html/mdcps/vendor/consolidation/annotated-command/src/CommandProcessor.php:176
Consolidation\AnnotatedCommand\CommandProcessor->process() at /var/www/html/mdcps/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:391
Consolidation\AnnotatedCommand\AnnotatedCommand->execute() at /var/www/html/mdcps/vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at /var/www/html/mdcps/vendor/symfony/console/Application.php:1096
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/mdcps/vendor/symfony/console/Application.php:324
Symfony\Component\Console\Application->doRun() at /var/www/html/mdcps/vendor/symfony/console/Application.php:175
Symfony\Component\Console\Application->run() at /var/www/html/mdcps/vendor/drush/drush/src/Runtime/Runtime.php:110
Drush\Runtime\Runtime->doRun() at /var/www/html/mdcps/vendor/drush/drush/src/Runtime/Runtime.php:40
Drush\Runtime\Runtime->run() at /var/www/html/mdcps/vendor/drush/drush/drush.php:139
require() at /var/www/html/mdcps/vendor/drush/drush/drush:4
include() at /var/www/html/mdcps/vendor/bin/drush:119 - πΊπΈUnited States jeffery.grantham
This seems to be causing a memory leak as the process will only sigterm after all available RAM has been used up.
- πΊπΈUnited States jeffery.grantham
I was finally able to resolve this issue on my Drupal 10 site. The issue was found to be a specific config file that already contained the "langcode: en" option in the configuration. This config file was part of an unused theme on my site that was never removed after it was replaced by a newer iteration of the theme. So the solution in my case was to uninstall/remove the unused theme from my site. Hopefully, this helps someone else facing the same issue.
- π¨π¦Canada a_godin
First, I should have created the issue as a "Support request" and not a "Bug report" ... my bad.
I've also resolved the issue and it's also theme related ...
My main theme is a subtheme of bootstrap_barrio and there appears to be a problem with my subtheme's yml ... couldn't figure out what the error was so here's what I did:
- export my config with drush
- site maintenance on
- set the default theme to bartik
- uninstall my subtheme and bootstrap_barrio
- update the files
- updatedb (which ran with no problems)
- reset the default theme to my subtheme
- import my config with drush
- flush cache
- site maintenance offNot ideal but at least I could run the updates.
I'm closing the issue.