Skip to content
This repository was archived by the owner on Aug 19, 2023. It is now read-only.

Drush 11 and Multisite #100

@webmasterpf

Description

@webmasterpf

Hello,

I can't get work the Drush Launcher for a multisite install for D8 and D9.
Actually this is the folder structure for Drush Launcher:

ls -la ~/bin/
drwxrwxr-x  3 27 Oct 26 14:53 composer
-rwxrwxr-x  1 298469 Feb  9  2022 drush

in my bashrc I put:

export PATH="$PATH:$HOME/bin:$PATH"
export PATH="$PATH:$HOME/www/pfdev/multid8/vendor/bin"

My site alias file look like:

pfdevd8cg:
  #Si limitation des commande avec utilisateur SSH particulier,sinon pas besoin
  host: ssh-XXX.alwaysdata.net
  user: XXX
  root: /www/pfdev/multid8
  uri: 'https://d8cg-pfdev.XXX.fr/'
  ssh:
    options: '-o PasswordAuthentication=no -i $HOME/.ssh/id_drush9'

But when I do:

drush @multid8.pfdevd8cg pml --filter=goo -vv or drush @multid8.pfdevd8cg status

Box Requirements Checker
========================

> Using PHP 7.4.30
> PHP is using the following php.ini file:
  /home/XX/admin/config/php/php.ini
> Checking Box requirements:
  .......
 [OK] Your system is ready to run the application.
The Drush launcher could not find a Drupal site to operate on. Please do *one* of the following:
  - Navigate to any where within your Drupal project and try again.
  - Add --root=/path/to/drupal so Drush knows where your site is located.

So how can I fix this, because I tried many things in bashrc or alias file whithout good result.
Thanks for help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions