Hi,
I have a local Drupal installation on a vagrant machine (DrupalVM) and I was just trying to update it from 8.2.7 to 8.3.0.
I ran composer update and then drush updb -y, unfortunately I got this error:
vagrant@upsidedownindia:/var/www/upsidedownindiavm/drupal/web$ drush updb -y
The following updates are pending:
system module :
8301 - Add install profile to core.extension configuration.
block_content module :
8300 - Fix the block_content entity type to specify its revision data table.
bootstrap_paragraphs module :
8001 - Makes image linkable.
comment module :
8300 - Update status field.
8301 - Set the 'published' entity key.
image module :
8201 - Flush caches as we changed field formatter metadata.
locale module :
8300 - Delete translation status data in state.
node module :
8301 - Set the 'published' entity key.
search_api module :
8104 - Update Views to use the time-based cache plugin for Search API.
block module :
Disable blocks that are placed into the "disabled" region.
system module :
Update entity displays to contain the region for each field.
Force caches using hashes to be cleared (Twig, render cache, etc.).
Force plugin definitions to be cleared. @see https:www.drupal.orgnode2802663
user module :
Enforce order of role permissions.
views module :
Rebuild caches to ensure schema changes are read in.
Do you wish to run all pending updates? (y/n): y
PHP Fatal error: Class 'Drupal\workflows\Entity\Workflow' not found in /var/www/upsidedownindiavm/drupal/web/core/modules/content_moderation/content_moderation.module on line 224
Fatal error: Class 'Drupal\workflows\Entity\Workflow' not found in /var/www/upsidedownindiavm/drupal/web/core/modules/content_moderation/content_moderation.module on line 224
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Drupal\workflows\Entity\Workflow' not found in /var/www/upsidedownindiavm/drupal/web/core/modules/content_moderation/content_moderation.module, line 224
The external command could not be executed due to an application error. [error]
PHP Fatal error: Class 'Drupal\workflows\Entity\Workflow' not found in /var/www/upsidedownindiavm/drupal/web/core/modules/content_moderation/content_moderation.module on line 224
Fatal error: Class 'Drupal\workflows\Entity\Workflow' not found in /var/www/upsidedownindiavm/drupal/web/core/modules/content_moderation/content_moderation.module on line 224
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Drupal\workflows\Entity\Workflow' not found in /var/www/upsidedownindiavm/drupal/web/core/modules/content_moderation/content_moderation.module, line 224
The external command could not be executed due to an application error. [error]
Finished performing updates.
Comments
Comment #2
timmillwoodYou need to uninstall Content Moderation before upgrading to 8.3.0.
There are more details on this in the release notes: https://www.drupal.org/project/drupal/releases/8.3.0