Skip to content

Instantly share code, notes, and snippets.

@greggles
Created August 4, 2019 16:16
Show Gist options
  • Save greggles/77865f1ef2da06cf05fd0b8aec3b1c42 to your computer and use it in GitHub Desktop.
Save greggles/77865f1ef2da06cf05fd0b8aec3b1c42 to your computer and use it in GitHub Desktop.
long output from ddev exec for https://github.com/drud/ddev/issues/1765
```
ddev exec drush config-import -y --source=../config/default
+------------+--------------------------------------------------------------------------+-----------+
| Collection | Config | Operation |
+------------+--------------------------------------------------------------------------+-----------+
| | core.entity_form_display.paragraph.two_column_paragraph_group.default | Delete |
| | core.entity_view_display.paragraph.two_column_paragraph_group.default | Delete |
| | core.entity_form_display.paragraph.three_column_paragraph_group.default | Delete |
| | core.entity_view_display.paragraph.three_column_paragraph_group.default | Delete |
| | field.field.paragraph.three_column_paragraph_group.field_paragraph_group | Delete |
| | field.field.paragraph.two_column_paragraph_group.field_paragraph_group | Delete |
| | paragraphs.paragraphs_type.two_column_paragraph_group | Delete |
| | paragraphs.paragraphs_type.three_column_paragraph_group | Delete |
| | field.storage.paragraph.field_paragraph_group | Delete |
+------------+--------------------------------------------------------------------------+-----------+
// Import the listed configuration changes?: yes.
[error] Drupal\Core\Config\ConfigImporterException: There were errors validating the config synchronization.
Entities exist of type <em class="placeholder">Paragraph</em> and <em class="placeholder">Paragraph type</em> <em class="placeholder">Two Column Paragraph Group</em>. These entities need to be deleted before importing. in Drupal\Core\Config\ConfigImporter->validate() (line 737 of /var/www/html/docroot/core/lib/Drupal/Core/Config/ConfigImporter.php).
In ConfigImportCommands.php line 261:
The import failed due to the following reasons:
Entities exist of type <em class="placeholder">Paragraph</em> and <em class="placeholder">Paragraph type</em> <em class="placeholder">Two Column Paragraph Group</em>. These entities need to
be deleted before importing.
config:import [--preview [PREVIEW]] [--source SOURCE] [--partial] [--diff] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify [NOTIFY]] [--druplicon] [--xh-link XH-LINK] [--] <command> [<label>]
Failed to execute command drush config-import -y --source=../config/default: exit status 1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment