37 votes

Unable to install ... already exist in active configuration

With Drush, you can run drush config-delete module_name.settings to delete the configuration causing the error.
GiorgosK's user avatar
  • 8,443
20 votes
Accepted

How to use the Features module in a 3 dev environnement?

Welcome to the land of Features Configuration Management, aka FCM! It is not only about Features, and not about Configuration Management (as introduced in Drupal version 8). Instead, it is a special ...
Pierre.Vriens's user avatar
8 votes

How can I use the UUID API?

To generate uuid with drush: drush php-eval "echo \Drupal::service('uuid')->generate();"
echo's user avatar
  • 1,489
7 votes

How to use the Features module in a 3 dev environnement?

Merge conflicts are probably going to be a given when multiple developers are integrating their configuration into a Feature. I wrote up several guidelines for reviewing feature code, but I think the ...
mradcliffe's user avatar
  • 5,917
6 votes
Accepted

Possible to use drush to list overrides for all features?

In the current version of Drush, you can show a list of all features and their override state with (both short and long versions of commands shown, with and without the "-y" flag to skip ...
diamondsea's user avatar
6 votes
Accepted

What exactly is "Overridden", "Needs review" & "Revert component" in Features?

Both needs review and overridden statuses mean that the feature in the database does not match the feature in code. Running "drush fr" (feature revert) will replace the feature in the database with ...
Nikhil Banait's user avatar
6 votes

Unable to install ... already exist in active configuration

Use the Easy Install module to purge the active configuration without using the Devel module or Drush. It works even if you have missed out the optional folder and the enforced option in the module's ...
Karthikeyan Manivasagam's user avatar
6 votes

Unable to install ... already exist in active configuration

For a Pantheon site, I used the following Drush commands. On the Pantheon site, drush @pantheon.SITENAME.ENVNAME config-delete ERRORNAME On the local site, drush config-delete ERRORNAME
omkar gaonkar's user avatar
4 votes

Features versus Configuration Management

I would advise using Features. This would allow not only exporting functionality and compartmentalizing it a lot easier, but you could also have the ability to bring in features later from an external ...
Kevin's user avatar
  • 27.8k
4 votes

How to transfer a block from one site to another?

Have a look at the Bean module. Here is a quote about its project page: Think of a Bean as a method to provide new types (compared to node this would be a content type) which then provides an add ...
Pierre.Vriens's user avatar
4 votes

How to transfer a block from one site to another?

You can try Block Export Import module, It will help you to import block to remote site. This module allows users to export all system specific blocks (are those blocks which are created using ...
Rahul Mishra's user avatar
4 votes
Accepted

How to transfer a panel variant from one site to another?

Yes, Panels and panel variants can be exported using the Features module. If you are using the panel variant as a part of page manager the option to export variant is shown in the features UI under ...
AjitS's user avatar
  • 10.9k
4 votes
Accepted

Downloading a Feature

You can use my very favorite drush command: drush fu your_feature This is the same as using "recreate" in the UI except that it will update your feature directly where it resides in your code base (...
bleen's user avatar
  • 1,500
4 votes
Accepted

Should I enable a feature I created on the same site?

Sure, you enable it. By that you keep track of changes you make on either development environment. For example you edit some settings on your local dev site, then the activated feature will recognise ...
leymannx's user avatar
  • 18k
4 votes

Ignore UUIDs when comparing the difference between configuration exports

For that interim step, when you just need to glance over the changes in your exported config, git diff -I"^uuid: " -- config/sync will return a succinct list that ignores the changes in any ...
Kay V's user avatar
  • 638
3 votes

what is the use of universal unique identifier ,why its so much important in deployment?

UUID is used to identify the same objects (like nodes, taxonomy_terms and users) across environments. All of these has an ID, for nodes it's the nid (node id), but that is not reliable to use across ...
googletorp's user avatar
  • 35.4k
3 votes

Why does the "admin/modules" page show up in the wrong language?

I did a similar verification in one of our sites, which has 3 languages (EN, NL and FR). I disabled the "module_filter" module, so that I could see what the result would be if I look at what's shown ...
Pierre.Vriens's user avatar
3 votes
Accepted

Export block content in drupal 8

One of these contrib projects: default_content - for install profiles entity_pilot - paas content staging (disclaimer, my product) deploy Or build your own deployment with rest API
larowlan's user avatar
  • 1,740
3 votes

What exactly is "Overridden", "Needs review" & "Revert component" in Features?

Feature states Default: Everything contained in the feature matches the site's database. Overridden: Something used in the site no longer matches the state of it as contained in the feature. Needs ...
Pierre.Vriens's user avatar
3 votes

Unable to install ... already exist in active configuration

This thing is not supported because a module may not replace a config entity that already exists with install config. To add form and view mode configurations for an already existing node type, you ...
Berdir's user avatar
  • 83k
3 votes
Accepted

How to auto-yes "drush features-revert-all" ... via terminus

You need to add a -- separator to your command. The options for Terminus come before this marker, and the options for Drush come after. In other words: terminus -y drush site.dev -- features-revert-...
greg_1_anderson's user avatar
3 votes
Accepted

Difference between strongarm, field base, and field instance

A Drupal 7 database contains various structural configuration. Some of these are: Entity bundles, e.g. node types or taxonomy vocabularies. Field bases: These are definitions of fields that apply ...
donquixote's user avatar
  • 3,632
3 votes

How do I import using features?

You just need to copy this folder generated by Features into your /sites/all/modules/features directory. A feature is a module, you'll need to enable this feature on your new site to retrieve all the ...
guilhom's user avatar
  • 631
2 votes
Accepted

How can I use configuration management to "snapshot" config on my dev server while I try new things out?

I would suggest to only use features for reusable components between projects. The configuration management system works quite well for me for the workflow that you are suggesting. To export all ...
Esclapes's user avatar
2 votes
Accepted

How does Drupal handle update of multiple module bundles of features without breaking stuff?

How does Drupal handle update of multiple module bundles of features without breaking stuff? It doesn't - that job falls to the developer. Drupal/Drush doesn't know which versions of unrelated ...
Clive's user avatar
  • 167k
2 votes

Adding components to a feature via Drush

It's worth noting that quotes are required for permissions that have spaces in them. For example drush fe fcc_user_config user_permission:"edit own content_type content"
Dan Gurin's user avatar
  • 193
2 votes

Possible to use drush to list overrides for all features?

Just to share or whatever -- I use it all the time, and I would've loved to come across this tip when I was a noob , so... I run: drush fl | grep -E "Overridden|Needs" ...And, I added an alias to ...
alisonjo315's user avatar
2 votes
Accepted

It is possible to revert a single item of the component programmatically?

In order to revert, you need to remove a single component from the database, so the configuration from the code can be loaded instead. So to revert a single rule, load the rule and delete it, e.g. $...
kenorb's user avatar
  • 14.1k
2 votes
Accepted

Unable to install ... already exist in active configuration

With drush en it works! [profile_test]$ drush en feature_basic_page -y The following extensions will be enabled: feature_basic_page Do you really want to continue? (y/n): y feature_basic_page was ...
Guillaume Bois's user avatar
2 votes

Why does my 'UUID, Webform, Node' Feature remain overridden?

FWIW, features should only be used to export configuration, and not content. I have audited a site which used UUID features and was not able to find a solution for reverting it. Exporting content (...
AjitS's user avatar
  • 10.9k

Only top scored, non community-wiki answers of a minimum length are eligible