-
Notifications
You must be signed in to change notification settings - Fork 399
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
Running BLT VM did not generate Drush Alias File After Drush 9 Update #2466
Comments
digging into this, i believe the issue is that I had drush_server_home() in my old site alias file. I think we need to expand our documentation in drush/sites/README.md to help people troubleshoot this. It is unclear to me if BLT VM was necessary in this instance, or if blt update should have addressed this (re: #2437). However, as far as I can tell, I had to manually remove drush_server_home() from the alias file, then move the file, then run the drush command to get a local alias. |
note that once i have the valid alias file, i am not getting: This may be related to geerlingguy/drupal-vm#1595 ? any thoughts @geerlingguy ? |
The upgrade hook should have actually created new Drush alias files in a Yaml format. Did that happen? |
no, i had to manually run the drush command, and that didn't generate anything for the local. the documentation sounds like running drupal vm will (and that didn't either) |
Needs real world testing, but should address issue. |
@grasmash i'll re-run the upgrade and see what happens. will report back. |
@grasmash good news, the update ran. bad news, the alias files were still not generated automatically. the legacy file was created though. Here are the additional steps I had to take...
shall i push some documentation that covers these steps? or do we need to open a new issue and further refine the automated update? |
it would appear that the root cause of this issue is the drush_server_home() variable in the legacy file. I'm going to push a PR that strips this inline during the update. |
My system information:
Output of
blt doctor
:When I run this command:
And I expected this to happen:
I expected that the Drush 9 alias file would be generated for the new local / vm, but it was not.
The text was updated successfully, but these errors were encountered: