While I updating drupal core to 8.7.3 drush updb command return a fatal error.
Here are the error logs.
In Process.php line 239:
The command "ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o ForwardAgent=yes -i ~/.vagrant.d/insecure_private_key vagrant@boroo.local'drush updb -y --uri=http://boroo.local --root
=/var/beetbox/docroot'" failed.
Exit Code: 1(General error)
Working directory:
Output:
================
// Requirements check reports errors. Do you wish to continue?: yes.
-------------------- ------------ ------------- ------------------------------
Module Update ID Type Description
-------------------- ------------ ------------- ------------------------------
content_moderation entity_dis post-update Update the dependencies of
play_depen entity displays to include
dencies associated workflow.
content_moderation set_defaul post-update Set the default moderation
t_moderati state for new content to
on_state 'draft'.
content_moderation set_views_ post-update Set the filter on the
filter_lat moderation view to be the
est_transl latest translation affected.
ation_affe
cted_revis
ion
datetime_range views_stri post-update Update existing views using
ng_plugin_ datetime_range fields.
id
image scale_and_ post-update Add 'anchor' setting to
crop_effec 'Scale and crop' effects.
t_add_anch
or
layout_discovery recalculat post-update Recalculate dependencies for
e_entity_f the entity_form_display
orm_displa entity.
y_dependen
cies
layout_discovery recalculat post-update Recalculate dependencies for
e_entity_v the entity_view_display
iew_displa entity.
y_dependen
cies
media enable_sta post-update Keep media items viewable at
ndalone_ur media{id}.
l
media storage_ha post-update Clear caches due to the
ndler addition of a Media-specific
entity storage handler.
menu_link_content make_menu_ post-update Update custom menu links to
link_conte be revisionable.
nt_revisio
nable
node node_revis post-update Clear caches due to updated
ion_views_ views data.
data
system add_expand post-update Initialize
_all_items 'expand_all_items' values to
_key_in_sy system_menu_block.
stem_menu_
block
system change_del post-update Change plugin IDs of delete
ete_action actions.
_plugins
system clear_menu post-update Clear the menu cache. @see
_cache https:www.drupal.orgprojectd
rupalissues3044364
system extra_fiel post-update Update all entity displays
ds that contain extra fields.
system language_i post-update Force cache clear for
tem_callba language item callback.
ck @see
https:www.drupal.orgnode2851
736
system states_cle post-update Force cache clear to ensure
ar_cache aggregated JavaScript files
are regenerated. @see
https:www.drupal.orgprojectd
rupalissues2995570
taxonomy clear_enti post-update Clear
ty_bundle_ entity_bundle_field_definiti
field_defi ons cache for new parent
nitions_ca field settings.
che
taxonomy clear_view post-update Clear caches due to updated
s_data_cac taxonomy entity views data.
he
taxonomy handle_pub post-update Add a 'published' = TRUE
lishing_st filter for all Taxonomy term
atus_addit views and converts existing
ion_in_vie ones that were using the
ws 'content_translation_status'
field.
taxonomy make_taxon post-update Update taxonomy terms to be
omy_term_r revisionable.
evisionabl
e
taxonomy remove_hie post-update Remove the 'hierarchy'
rarchy_fro property from vocabularies.
m_vocabula
ries
views exposed_fi post-update Update exposed filter blocks
lter_block label display to be
s_label_di disabled.
splay
views make_place post-update Rebuild cache to allow
holders_tr placeholder texts to be
anslatable translatable.
-------------------- ------------ ------------- ------------------------------
// Do you wish to run the specified pending updates?: yes.
Error Output:
================
Warning: Permanently added 'boroo.local,10.20.1.4' (ECDSA) to the list of known hosts.
[warning] (Currently using PHP EXIF extension Enabled)
[error] The LDAP extension of PHP is not available. Please consult your distribution to discover how to install it. (Currently using PHP LDAP extension Missing)
> [notice] Update started: content_moderation_post_update_entity_display_dependencies
> [notice] Update completed: content_moderation_post_update_entity_display_dependencies
> [notice] Update started: content_moderation_post_update_entity_display_dependencies
> [notice] Update completed: content_moderation_post_update_entity_display_dependencies
> [notice] Update started: content_moderation_post_update_set_default_moderation_state
> [notice] Update completed: content_moderation_post_update_set_default_moderation_state
> [notice] Update started: content_moderation_post_update_set_views_filter_latest_translation_affected_revision
> [error] Error: Cannot use object of type stdClass as array in Drupal\Core\Cache\MemoryBackend->invalidateTags() (line 165 of /var/beetbox/docroot/core/lib/Drupal/Core/Cache/MemoryBackend.php) #
0 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(153): Drupal\Core\Cache\MemoryBackend->invalidateTags(Array)
> #1 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(520): Drupal\Core\Entity\EntityStorageBase->resetCache(Array)
> #2 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(452): Drupal\Core\Entity\EntityStorageBase->doPostSave(Object(Drupal\views\Entity\View), true)
> #3 /var/beetbox/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(263): Drupal\Core\Entity\EntityStorageBase->save(Object(Drupal\views\Entity\View))
> #4 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityBase.php(394): Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object(Drupal\views\Entity\View))
> #5 /var/beetbox/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(613): Drupal\Core\Entity\EntityBase->save()
> #6 /var/beetbox/docroot/core/modules/content_moderation/content_moderation.post_update.php(139): Drupal\Core\Config\Entity\ConfigEntityBase->save()
> #7 /var/beetbox/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(289): content_moderation_post_update_set_views_filter_latest_translation_affected_revision(Array)
> #8 /var/beetbox/vendor/drush/drush/includes/batch.inc(251): Drush\Commands\core\UpdateDBCommands::updateDoOnePostUpdate('content_moderat...', Object(DrushBatchContext))
> #9 /var/beetbox/vendor/drush/drush/includes/batch.inc(196): _drush_batch_worker()
> #10 /var/beetbox/vendor/drush/drush/includes/batch.inc(99): _drush_batch_command('372620')
> #11 /var/beetbox/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(155): drush_batch_command('372620')
> #12 [internal function]: Drush\Commands\core\UpdateDBCommands->process('372620', Array)
> #13 /var/beetbox/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)
> #14 /var/beetbox/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCom
mand\CommandData))
> #15 /var/beetbox/vendor/consolidation/annotated-command/src/CommandProcessor.php(178): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\Anno
tatedCommand\CommandData))
> #16 /var/beetbox/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutp
ut), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
> #17 /var/beetbox/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\O
utput\ConsoleOutput))
> #18 /var/beetbox/vendor/symfony/console/Application.php(987): Symfony\Component\Console\Command\Command->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleO
utput))
> #19 /var/beetbox/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Drush\Symfony\Dru
shArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #20 /var/beetbox/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut
put))
> #21 /var/beetbox/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\Component\Console\Application->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleO
utput))
> #22 /var/beetbox/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
> #23 /var/beetbox/vendor/drush/drush/drush.php(72): Drush\Runtime\Runtime->run(Array)
> #24 /var/beetbox/vendor/drush/drush/drush(4): require('/var/beetbox/ve...')
> #25 {main}.
> Error: Cannot use object of type stdClass as array in /var/beetbox/docroot/core/lib/Drupal/Core/Cache/MemoryBackend.php on line 165 #0 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityStora
geBase.php(153): Drupal\Core\Cache\MemoryBackend->invalidateTags(Array)
> #1 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(520): Drupal\Core\Entity\EntityStorageBase->resetCache(Array)
> #2 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityStorageBase.php(452): Drupal\Core\Entity\EntityStorageBase->doPostSave(Object(Drupal\views\Entity\View), true)
> #3 /var/beetbox/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php(263): Drupal\Core\Entity\EntityStorageBase->save(Object(Drupal\views\Entity\View))
> #4 /var/beetbox/docroot/core/lib/Drupal/Core/Entity/EntityBase.php(394): Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object(Drupal\views\Entity\View))
> #5 /var/beetbox/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php(613): Drupal\Core\Entity\EntityBase->save()
> #6 /var/beetbox/docroot/core/modules/content_moderation/content_moderation.post_update.php(139): Drupal\Core\Config\Entity\ConfigEntityBase->save()
> #7 /var/beetbox/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(289): content_moderation_post_update_set_views_filter_latest_translation_affected_revision(Array)
> #8 /var/beetbox/vendor/drush/drush/includes/batch.inc(251): Drush\Commands\core\UpdateDBCommands::updateDoOnePostUpdate('content_moderat...', Object(DrushBatchContext))
> #9 /var/beetbox/vendor/drush/drush/includes/batch.inc(196): _drush_batch_worker()
> #10 /var/beetbox/vendor/drush/drush/includes/batch.inc(99): _drush_batch_command('372620')
> #11 /var/beetbox/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(155): drush_batch_command('372620')
> #12 [internal function]: Drush\Commands\core\UpdateDBCommands->process('372620', Array)
> #13 /var/beetbox/vendor/consolidation/annotated-command/src/CommandProcessor.php(257): call_user_func_array(Array, Array)
> #14 /var/beetbox/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCom
mand\CommandData))
> #15 /var/beetbox/vendor/consolidation/annotated-command/src/CommandProcessor.php(178): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\Anno
tatedCommand\CommandData))
> #16 /var/beetbox/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutp
ut), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
> #17 /var/beetbox/vendor/symfony/console/Command/Command.php(255): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\O
utput\ConsoleOutput))
> #18 /var/beetbox/vendor/symfony/console/Application.php(987): Symfony\Component\Console\Command\Command->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleO
utput))
> #19 /var/beetbox/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Drush\Symfony\Dru
shArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
> #20 /var/beetbox/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleOut
put))
> #21 /var/beetbox/vendor/drush/drush/src/Runtime/Runtime.php(118): Symfony\Component\Console\Application->run(Object(Drush\Symfony\DrushArgvInput), Object(Symfony\Component\Console\Output\ConsoleO
utput))
> #22 /var/beetbox/vendor/drush/drush/src/Runtime/Runtime.php(49): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
> #23 /var/beetbox/vendor/drush/drush/drush.php(72): Drush\Runtime\Runtime->run(Array)
> #24 /var/beetbox/vendor/drush/drush/drush(4): require('/var/beetbox/ve...')
> #25 {main}
> [warning] Drush command terminated abnormally. Check for an exit() in your Drupal site.