Closed meancode closed 7 years ago
BLT makes the assumption that you are using features to manage your configuration. See http://blt.readthedocs.io/en/8.x/readme/features-workflow/
It appears that you are instead using core CM to manage your entire site's configuration. This is not compatible with the local:refresh
command because it first installs Drupal, then imports config. This gives your local site a different site UUID than your upstream site, and throws the Site UUID in source storage does not match the target storage.
error.
I think your options are:
What we could do in BLT itself is add a new configuration option that would allow you to optionally use Core CM. Please open a feature request if you're interested in that route.
Thank you @grasmash, with Option 2 I was able to run blt local:setup
without fail. I now have Drupal running locally and with all the changes made by my team.
I then pulled from our upstream develop branch to get all the changes (since the last time I did that) and then tried blt local:refresh
and that failed with the same error,
Error: no alias record could be found for source @cwru.test
blt doctor
looks the same.
Where do I go from here?
@meancode is @cwru.test
a real alias that you have installed locally? Is it listed when you run drush sa
? If not, you may need to download your drush aliases from Acquia Cloud.
$ drush sa
@cwru.local
@none
I have downloaded the drush aliases, I have them installed in Windows, and in Umbuntu Bash, But how do I copy them over inside the Vagrant guest VM? Thanks!
@grasmash Nevermind on getting the files into the Vagrant VM, I have added my Acquia Cloud drush aliases, as well as my SSH key. I am, however, still getting errors on blt local:refresh
The external command could not be executed due to an application error. [error]
[error]t be executed successfully (returned: Permission denied (publickey).
, code: 255)
Error: no database record could be found for source @cwru.test [error]
BUILD FAILED/var/www/cwru/vendor/acquia/blt/phing/tasks/local-sync.xml:22:25: Drush exited with code 1
; 1 minutes 9.72 seconds
I was asked to post an issue here by Aquia Support.
My system information:
Output of
blt doctor
:When I run this command:
I get the following output:
And I expected this to happen:
I expect to see all the changes that the other people in our team have committed to Git, up and running locally in Drupal.
Even when I initially run
blt local:setup
that was not without errors. Output fromblt local:setup
is below:I can sign into Drupal at this point, but is a vanilla install. When I run
blt local:refresh
I no longer have a Drupal installed asblt doctor
clearly shows in red.Worth noting I only got this far because of Jeff Geerling's screencast.