-
Notifications
You must be signed in to change notification settings - Fork 2
Could not determine target sites directory #38
Description
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