Running drush updb - get The process has been signaled with signal "11"

Created on 23 April 2021, over 3 years ago
Updated 6 June 2023, over 1 year ago

Problem/Motivation

When I run drush updb -v I get:

% drush updb -v
[info] Executing: /usr/local/www/dru8comp/vendor/drush/drush/drush updatedb:status --no-entity-updates --uri=default --root=/usr/local/www/dru8comp/web

In Process.php line 429:

[Symfony\Component\Process\Exception\RuntimeException]
The process has been signaled with signal "11".

Exception trace:
at /usr/local/www/dru8comp/vendor/symfony/process/Process.php:429
Symfony\Component\Process\Process->wait() at /usr/local/www/dru8comp/vendor/consolidation/site-process/src/SiteProcess.php:205
Consolidation\SiteProcess\SiteProcess->wait() at /usr/local/www/dru8comp/vendor/symfony/process/Process.php:211
Symfony\Component\Process\Process->run() at /usr/local/www/dru8comp/vendor/symfony/process/Process.php:234
Symfony\Component\Process\Process->mustRun() at /usr/local/www/dru8comp/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php:67
Drush\Commands\core\UpdateDBCommands->updatedb() at n/a:n/a
call_user_func_array() at /usr/local/www/dru8comp/vendor/consolidation/annotated-command/src/CommandProcessor.php:257
Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback() at /usr/local/www/dru8comp/vendor/consolidation/annotated-command/src/CommandProcessor.php:212
Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter() at /usr/local/www/dru8comp/vendor/consolidation/annotated-command/src/CommandProcessor.php:176
Consolidation\AnnotatedCommand\CommandProcessor->process() at /usr/local/www/dru8comp/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:302
Consolidation\AnnotatedCommand\AnnotatedCommand->execute() at /usr/local/www/dru8comp/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /usr/local/www/dru8comp/vendor/symfony/console/Application.php:1005
Symfony\Component\Console\Application->doRunCommand() at /usr/local/www/dru8comp/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /usr/local/www/dru8comp/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /usr/local/www/dru8comp/vendor/drush/drush/src/Runtime/Runtime.php:118
Drush\Runtime\Runtime->doRun() at /usr/local/www/dru8comp/vendor/drush/drush/src/Runtime/Runtime.php:48
Drush\Runtime\Runtime->run() at /usr/local/www/dru8comp/vendor/drush/drush/drush.php:72
require() at /usr/local/www/dru8comp/vendor/drush/drush/drush:4

My environment:

FreeBSD 11.4-RELEASE-p8
PHP 7.3.27
Drupal 8.9.14 + Drush 10.4.3
or
Drupal 8.9.9 + Drush 10.3.6

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: cannot reproduce

Version

8.9 ⚰️

Component
OtherΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡¨πŸ‡ΏCzech Republic vaclav.hala

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 Rick Hood

    Also had this issue, on Pantheon:

    ❯ terminus drush site-name.dev updb
    [warning] This environment is in read-only Git mode. If you want to make changes to the codebase of this site (e.g. updating modules or plugins), you will need to toggle into read/write SFTP mode first.
    In Process.php line 441:
    The process has been signaled with signal "11". [notice] Command: saint-pauls-school.dev -- drush updb [Exit: 1]
    [error]
    ~ 16s

    I had seen the same issue in Pantheon dashboard 2 days earlier, but the DB update seemed to have run, so did not worry too much about it.

    There was one module on the site that was saying it was "not supported" - Smart Date 3.6.1
    I updated that module and that seemed to fix it.
    I am not 100% that was the fix but posting here in case it gives others ideas.

  • First commit to issue fork.
  • πŸ‡ΊπŸ‡ΈUnited States philosurfer

    To fix this issue on Pantheon, change the following in your composer.json:

    Set

    "allow-plugins": {
        "dealerdirect/phpcodesniffer-composer-installer": false
    }
Production build 0.71.5 2024