-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
drupal playbook error #524
Comments
According to the output the file |
I am not sure. I am new to Ansible, was following instruction mentioned in github and "ansible-for-devops" by Jeff Geerling. Tried debugging on my own, could not find a solution. |
Did you try to install PHP 7.4 and Drush 10? PHP 7.4 reached its end of life last year and is no longer supported by Drupal. See #526 for a fix that updates PHP to version 8.2 and Drush to version 11. |
Thanks this fixed it for me! |
This should hopefully be fixed as part of #526 (changing to PHP 8.2 and Drush 11). |
when i ran drupal playbook gettin error at install drupal step
`- name: Install Drupal.
command: >
vendor/bin/drush si -y --site-name="{{ drupal_site_name }}"
--account-name=admin
--account-pass=admin
--db-url=mysql://{{ domain }}:1234@localhost/{{ domain }}
--root={{ drupal_core_path }}/web
chdir={{ drupal_core_path }}
creates={{ drupal_core_path }}/web/sites/default/settings.php
notify: restart apache
become_user: www-data
I am getting below error
TASK [Install Drupal.] *********************************************************
fatal: [default]: FAILED! => {"changed": false, "cmd": "vendor/bin/drush si -y '--site-name=Drupal Test' --account-name=admin --account-pass=admin '--db-url=mysql://drupal:********@localhost/drupal' --root=/var/www/drupal/web", "msg": "[Errno 2] No such file or directory: b'vendor/bin/drush'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
The text was updated successfully, but these errors were encountered: