When updating from 8.5.4 to 8.6.1 I keep getting the following error while running taxonomy_update_8601
:
The field content_translation_status has already been deleted and it is in the process of being purged.
I have a multilingual site with translatable taxonomy terms.
Here is the complete output of drush updb
:
$ drush updb -y --entity-updates
The following updates are pending:
block_content entity type :
The Reusable field needs to be installed.
commerce_order_item entity type :
The Uses legacy adjustments field needs to be installed.
commerce_product_variation entity type :
The List price field needs to be installed.
menu_link_content entity type :
The Custom menu link entity type needs to be updated.
taxonomy_term entity type :
The Taxonomy term entity type needs to be updated.
The Published field needs to be installed.
paragraph entity type :
The paragraph.field_two_column field needs to be uninstalled.
block_content module :
8600 - Add 'reusable' field to 'block_content' entities.
commerce_order module :
8204 - Add the 'uses_legacy_adjustments' field to 'commerce_order_item' entities.
commerce_product module :
8204 - Create the 'list_price' field.
dblog module :
8600 - Change 'No logs message available.' area plugin type.
menu_link_content module :
8601 - Add the publishing status entity key to custom menu links.
pathauto module :
8107 - Initialize the new safe tokens setting.
search_api_db module :
8103 - Converts the old "partial_matches" option to the new "matching" option.
taxonomy module :
8501 - Convert the custom taxonomy term hierarchy storage to a default storage.
8502 - Copy hierarchy from {taxonomy_term_hierarchy} to {taxonomy_term__parent}.
8503 - Update views to use {taxonomy_term__parent} in relationships.
8601 - Add the publishing status fields to taxonomy terms.
webform module :
8144 - Issue #2998239: Swift Mailer no longer working after custom email handler theme option was added
8145 - Issue #3002183: Upload Total Limit instead of Upload File limit.
8146 - Issue #3000542: Remove webform_devel.module logger debugging.
xmlsitemap module :
8001 - Change the primary key of the 'xmlsitemap' table to include the language.
8002 - Update the path of the frontpage link.
block_content module :
Adds a 'reusable' filter to all Custom Block views.
commerce_order module :
Grants the "manage order items" permission to roles that can update orders.
commerce_product module :
Grants the "manage variations" permission to roles that can update products.
image module :
Add 'anchor' setting to 'Scale and crop' effects.
system module :
Change plugin IDs of delete actions.
Update all entity displays that contain extra fields.
Force cache clear for language item callback. @see https:www.drupal.orgnode2851736
taxonomy module :
Clear entity_bundle_field_definitions cache for new parent field settings.
Clear caches due to updated taxonomy entity views data.
Add a 'published' = TRUE filter for all Taxonomy term views and converts existing ones that were using the 'content_translation_status' field.
Do you wish to run all pending updates? (y/n): y
Performing taxonomy_update_8501 [ok]
Performing taxonomy_update_8502 [ok]
Performing taxonomy_update_8502 [ok]
Performing taxonomy_update_8502 [ok]
Performing taxonomy_update_8502 [ok]
Performing webform_update_8144 [ok]
Performing taxonomy_update_8503 [ok]
Performing webform_update_8145 [ok]
Performing xmlsitemap_update_8001 [ok]
Performing block_content_update_8600 [ok]
Performing commerce_order_update_8204 [ok]
Performing commerce_product_update_8204 [ok]
Performing dblog_update_8600 [ok]
Performing menu_link_content_update_8601 [ok]
Performing pathauto_update_8107 [ok]
Performing search_api_db_update_8103 [ok]
The field content_translation_status has already been deleted and it[error]
is in the process of being purged.
Performing taxonomy_update_8601 [ok]
Performing webform_update_8146 [ok]
Performing xmlsitemap_update_8002 [ok]
Failed: The field content_translation_status has already been [error]
deleted and it is in the process of being purged.
Failed: Drupal\Core\Entity\EntityStorageException: !message in [error]
Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->onFieldStorageDefinitionDelete()
(line 497 of
/var/www/drupal/public_html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php).
Cache rebuild complete. [ok]
Finished performing updates. [ok]