We have a central code base (Git repo). From this code base we deployed several websites already.
- Till now we used features. The websites which are already in production they have a filled database with a lot of content.
- From now we switch over to drupal 8 Configuration management.
In the central code base we have set
$config_directories[CONFIG_SYNC_DIRECTORY] = 'config/base';. This directory contains all the configuration, from where we deploy our new added configuration, after a
drush cex -y.
But after I do:
- first a new install off the site with Configuration installer module and import all the existing configuration, everything works fine. I can import and export configuration without problems
- but then I have to copy the production database (from the site which is already in production) back into this database. After that I am not able to import configuration anymore.
But I need to copy this database back in, because we need all the content from the existing site (which was based on Features)
I get an error the UUID is not matching etc... Is it possible what I want? And how do I get it working?
(I tried already manually copy/paste the correct
system.site.yml, but it still didn't work).
Update: I use docker for my local Drupal 8 environment