themetman's picture

I am upgrading one of my sites using a Bash script and Bee.

I have used Git to export the site having exported the database first.

When I try and import the site, the database is imported fine, but the config import using this bee bcim -y command, it throws an error:

The field "field_embed_video" cannot be created because another field with the same name already exists. Delete the field manually before importing the new field.

Where should I be deleting this field from? It is not in the config/active folder.

Many thanks in advance
 

Comments

That is not a core field so my guess is it must exist, though perhaps it is a field defined but without any instances.

A few places to check:

  • admin/reports/fields - is it listed there?
  • admin/config/development/configuration/single/export - is it listed under 'Fields'?
  • Database - is there a table called field_data_field_embed_video ?
themetman's picture

Hi @yorkshirepudding!
Nothing in admin/reports/fields or admin/config/development/configuration/single/export

There is a field in the database though.
Should I just copy the item into the config/active folder anyway?

Hi Francis.

Yes, what config do you have in staging for it?

You might have configs like:

  • field.field.field_video_embed
  • field.instance.node.page.field_video_embed

It might be that you manually copy the first and then the instances will import.

themetman's picture

Thanks, I have to go out now, I will try later on and report back