This is what I'm trying to do:
I have a website A where I make configuration changes and add other stuff. Now I create a website B. I would like to add the configuration changes from website A to this website.
I know the UUID of both websites have to be the same (like staging & production environment). In "How can I import the configuration on a different site?" they explain how to do this with
drush cget system.site.
The problem is when I run
drush cget system.site in my website A I get the following drush error:
Command config-get needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. [error] The drush command 'cget system.site' could not be executed. [error] Drush was not able to start (bootstrap) the Drupal database. [error] Hint: This may occur when Drush is trying to: * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See
drush topic docs-aliasesfor details. * connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See http://drupal.org/node/1428638 for details.
Drush was attempting to connect to: Drupal version : 8.0.0-rc1 Site URI : http://default Database driver : mysql Database hostname : localhost Database port : 3306 Database username : root Database name : s_1 PHP executable : /Applications/MAMP/bin/php/php5.5.10/bin//php PHP configuration : /Applications/MAMP/bin/php/php5.5.10/conf/php.ini PHP OS : Darwin Drush script : /Users/myname/.composer/vendor/drush/drush/drush.php Drush version : 8.0-dev Drush temp directory : /tmp Drush configuration : Drush alias files : Drupal root : /Applications/MAMP/htdocs/s1 Site path : sites/default Sync config path : sites/default/files/config_bZM1aJhLcWGpFZJEzfEw_pKF4g71jOdkSRti30k540BAwE9GQ4U6p469a9VxyJS4j4JVfC58qg/sync
I've installed the latest version of drush .. . I'm working with the release candidate of Drupal 8. Is there another way to get my UUID? Or do you have a tutorial or a video/blogpost of somebody who already did this?
Ok, I was able to retrieve the UUID from website A and changed the UUID in website B so they have the equal UUID.
After that I changed the system site slogan of website A.
Then I did an export of the configuration in website A. But when I tried to import it in website B I got 137 new files to sync .. . The UUID is different in all files like this: