- Issue created by @erwangel
Blocked in importing media files from D7 to D10 by 'field_storage_config' entity with ID 'media.field_media_xyz' already exists.
Indeed these configurations exist.
Is it safe to remove them with "drush config:delete xyz" and let migrate:import recreate them ?
$ drush migrate:import --update --execute-dependencies d7_file_entity:video:youtube
[error] 'field_storage_config' entity with ID 'media.field_media_oembed_video' already exists. (/path_to_my_site/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php:519)
[notice] Processed 1 item (0 created, 0 updated, 1 failed, 0 ignored) - done with 'd7_file_entity_source_field:remote_video'
In MigrateToolsCommands.php line 1090:
d7_file_entity_source_field:remote_video Migration - 1 failed.
$ drush config:get field.field.media.remote_video.field_media_oembed_video
uuid: c92f81ce-e323-44a5-8696-0c990bb206d3
langcode: fr
status: true
dependencies:
config:
- field.storage.media.field_media_oembed_video
- media.type.remote_video
_core:
default_config_hash: Eo4HHenV5iZat_kEWgr_wydD3TgwURMCzwt-7qIEyoM
id: media.remote_video.field_media_oembed_video
field_name: field_media_oembed_video
entity_type: media
bundle: remote_video
label: 'Video URL'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
I am suspecting that some previous migrate:rollback (d7_field, d7_field_instance, d7_file_entity ?) didn't remove the configurations of media fields
Active
1.0
Code