Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work with BLT 11? #3

Open
Elaine-dev opened this issue May 6, 2020 · 8 comments
Open

Does this work with BLT 11? #3

Elaine-dev opened this issue May 6, 2020 · 8 comments

Comments

@Elaine-dev
Copy link

Elaine-dev commented May 6, 2020

I ran blt aliases (twice) and it said it was writing the files but drush sa says No site aliases found. I should mention I am using the AC free account. Does it work for that?

Gathering site info from Acquia Cloud.
Gathering sites list from Acquia Cloud.
Found 1 sites for environment dev, writing aliases...
Found 1 sites for environment test, writing aliases...
Aliases were written, type 'drush sa' to see them.
➜  itablt10 git:(master) ✗ drush sa
 [success] No site aliases found.

@lcatlett
Copy link
Owner

@Elaine-dev - this plugin does support Acquia Cloud free. do you have any .yml alias files in your drush/sites/ directory of your BLT project?

@Elaine-dev
Copy link
Author

Elaine-dev commented May 11, 2020

I did have a aliases yml file that I downloaded from Acquia Cloud and I removed them and it still didn't write any file. Is it supposed to create the yml file with all the aliases dynamically?

@lcatlett
Copy link
Owner

@Elaine-dev - yes the .yml files are created dynamically by this plugin in the drush/sites directory of your BLT project. I'll keep investigating to see if I can reproduce

@Elaine-dev
Copy link
Author

Elaine-dev commented May 14, 2020 via email

@lcatlett
Copy link
Owner

@Elaine-dev - you have to generate the key and secret for ACSF subscriptions the same as you do for Acquia Cloud subscriptions (see https://docs.acquia.com/acquia-cloud/develop/api/auth/#generating-an-api-token) and obtain the ACSF subscription UUID the same way as well (see https://docs.acquia.com/acquia-cloud/manage/applications/#obtaining-your-subscription-s-application-id). The ACSF api information that you access from the Site Factory dashboard is for completely different functionality than the Acquia Cloud API v2.

@Elaine-dev
Copy link
Author

Hi Lindsey,

I am having trouble with my UUID for ACSF. I get this error:
[error] Unknown exception while connecting to Acquia Cloud: invalid_client
Here is the UUID I am using: eddd35-6947-4f41-b661-7b6e833bfbd2 and I tried 30eddd35-6947-4f41-b661-7b6e833bfbd2

I get that by going to my ACSF subscription and looking at the URL. Can you advise why my UUID is not working? I can ssh to the server alright so I don't think it's a connection problem. My UUID did work for regular cloud sites, but not for ACSF.

Thanks!

@josephdpurcell
Copy link

I am currently using this command with BLT v11.4.0.

I can confirm that getting an API token is a bit tricky. The token I'm using I got from https://cloud.acquia.com/a/profile/tokens.

@Elaine-dev
Copy link
Author

The only way I could get blt aliases command to work was by downloading the drush 9 aliases from the cloud first. I guess this step is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants