Skip to content
This repository was archived by the owner on Nov 1, 2019. It is now read-only.
This repository was archived by the owner on Nov 1, 2019. It is now read-only.

Could not determine target sites directory #38

@martinfrances107

Description

@martinfrances107

while using this again today after a break.. all my images and volumes had been deleted,
so I had cause to run

.dropwhale/reset.sh

I am posting the output below, it looks like the drush "site install" task is failing
in the last 3-4 months I think I saw a critical update -- some command line parameters
are now essential...

I create a PR when I track this down...

Building Drupal...

PLAY [all] ******************************************************************************************************

TASK [Gathering Facts] ******************************************************************************************
ok: [localhost]

TASK [Clone drupal.] ********************************************************************************************
changed: [localhost]

TASK [Copy files to the web directory.] *************************************************************************
changed: [localhost]

TASK [Drush require.] *******************************************************************************************
ok: [localhost]

TASK [Composer install.] ****************************************************************************************
ok: [localhost]

TASK [Create files directory.] **********************************************************************************
changed: [localhost]

TASK [Install drupal] *******************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "drush si --uri=http://web --root=/var/www/html --db-url=mysql://drupal:drupal@db/drupal -y --account-name=admin --account-pass=password", "delta": "0:00:09.692080", "end": "2018-04-26 11:31:28.231714", "failed": true, "rc": 1, "start": "2018-04-26 11:31:18.539634", "stderr": " [error] Could not determine target sites directory for site to install. Use --sites-subdir to specify. ", "stderr_lines": [" [error] Could not determine target sites directory for site to install. Use --sites-subdir to specify. "], "stdout": "", "stdout_lines": []}
to retry, use: --limit @/ansible/reset.retry

PLAY RECAP ******************************************************************************************************
localhost : ok=6 changed=3 unreachable=0 failed=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions