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

@sites alias missing in drush 9? #3019

Closed
misterkay opened this issue Oct 5, 2017 · 10 comments
Closed

@sites alias missing in drush 9? #3019

misterkay opened this issue Oct 5, 2017 · 10 comments

Comments

@misterkay
Copy link

I just upgraded a site to Drupal 8.4 with the latest Drush 9 beta release. It is a multisite configuration using symlinked subdirectories.

Running drush @sites updb results in [error] Site alias not found.

This alias was enabled by default in previous versions, is this no longer the case? Does it need additional configuration?

@greg-1-anderson
Copy link
Member

Drush 9 no longer supports executing a single command on multiple sites with alias lists (@A,@b,@c) or @sites. Neither of those syntaxes are available in any context. You may still use drush sa @group to see all aliases in a group; that is the only context in which Drush recognizes alias lists.

@misterkay
Copy link
Author

So executing a single command on multiple sites now requires separate commands per site?

@weitzman
Copy link
Member

weitzman commented Oct 5, 2017

Correct. Just write a bash or drush script and loop over the sites. You can use parallel to run several at once.

@weitzman weitzman closed this as completed Oct 5, 2017
@misterkay
Copy link
Author

Thanks for the clarification @weitzman @greg-1-anderson

@leymannx
Copy link
Contributor

@weitzman I can't find anything about parallel. Do you have an example for us?

@weitzman
Copy link
Member

weitzman commented Mar 15, 2018 via email

@leymannx
Copy link
Contributor

leymannx commented Mar 16, 2018

Some other alternatives can be found on DA https://drupal.stackexchange.com/q/250688/15055

@sgurlt
Copy link

sgurlt commented Jul 13, 2018

Ok, but why ? We are using this several times per day in several projects ?

@weitzman
Copy link
Member

We simplified the alias system for the long term health and maintainability of the drush project. Some useful but niche features like this were removed, especially where easy workarounds are available.

@yonailo
Copy link

yonailo commented Nov 4, 2021

I don't know if it was "niche", but definetely it was very useful, it is a pity that it was removed.

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

6 participants