I have an installation with lando. On the project, we have a directory drush with an aliases file for the project. This file defines aliases with the root specific for the lando architecture.

In my home directory, I have an aliases file in my .drush directory with the same name which define the same aliases but with a root different, specific for my local computer, outside from lando.

Both aliases files are detect by drush but the problem, the aliases file from the project is always take in priority, inside or outside from lando. But outside lando, files are never find like the root isn't correct.

The weird thing is my colleagues haven't had this problem and the root is aliases file is correctly choice when they are outside from lando. We're thinking we have forgotten a configuration somewhere but we don't see what.

I'm using Drush 8.2.3, my colleagues are using Drush 8.1.16. I could downgrade the Drush version but this will delay the problem.

Someone has an idea?

Thank you.

  • The version of Drush is quite relevant to provide a good answer - please add that to your post. You might also indicate what version of Drupal by using the 8 tag. – hansfn May 16 at 13:55
  • Indeed, we think this is related too. I added the precision. – Claire D May 16 at 16:53
  • In fact, we think drush 8.2.x take aliases in the drush directory in priority like it should be the case with drush 9. – Claire D May 16 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.