I have Drupal 8.8.1 and Drush 10.1.1, both installed with Composer.
I'm running the following to update my site DB:
$ drush updb
In BootstrapHook.php line 32:
Bootstrap failed. Run your command with -vvv for more information.
As it suggests I run with the -vvv
flag to get more information:
$ drush updb -vvv
Begin redispatch via drush_invoke_process(). [notice]
Calling proc_open(env COLUMNS=131 /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush --root=/var/www/drupal/drupal-8.8.1 --verbose updatedb 2>&1);
In BootstrapHook.php line 32:
[Exception]
Bootstrap failed. Run your command with -vvv for more information.
Exception trace:
at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/src/Boot/BootstrapHook.php:32
Drush\Boot\BootstrapHook->initialize() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:34
Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php:27
Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/CommandProcessor.php:145
Consolidation\AnnotatedCommand\CommandProcessor->initializeHook() at /var/www/drupal/drupal-8.8.1/vendor/consolidation/annotated-command/src/AnnotatedCommand.php:289
Consolidation\AnnotatedCommand\AnnotatedCommand->initialize() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Command/Command.php:221
Symfony\Component\Console\Command\Command->run() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Application.php:1000
Symfony\Component\Console\Application->doRunCommand() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/drupal/drupal-8.8.1/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/src/Runtime/Runtime.php:118
Drush\Runtime\Runtime->doRun() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/src/Runtime/Runtime.php:49
Drush\Runtime\Runtime->run() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush.php:72
require() at /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush:4
$ drush status
Drupal version : 8.8.1
Site URI : http://default
PHP binary : /opt/remi/php72/root/usr/bin/php
PHP config : /etc/opt/remi/php72/php.ini
PHP OS : Linux
Drush script : /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush
Drush version : 10.1.1
Drush temp : /tmp
Drush configs : /var/www/drupal/drupal-8.8.1/vendor/drush/drush/drush.yml
Drupal root : /var/www/drupal/drupal-8.8.1
Site path : sites/default
Can anyone advise on how to resolve this?