apigee / devportal-kickstart-drupal-ansible-installer

Ansible playbook for installing Apigee Kickstart developer portal for Drupal.
Apache License 2.0
5 stars 6 forks source link

Kickstart ansible script throws "Bootstrap failed" error #14

Open 327456 opened 3 years ago

327456 commented 3 years ago

Description

When I try to install drupal v8 or 9 on CentOS v7 on an EC2 instance, I get the error saying bootstrap failed.

Steps to Reproduce

Run: ansible-galaxy install -r requirements.yml Then run: ansible-playbook playbook.yml

Actual Behavior

Throws the following error during setting up drupal after successfully creating the database and nginx. * fatal: [web1]: FAILED! => {"changed": true, "cmd": ["/opt/apigee/vendor/bin/drush", "updatedb", "-y"], "delta": "0:00:00.193691", "end": "2021-02-02 14:14:39.804623", "msg": "non-zero return code", "rc": 1, "start": "2021-02-02 14:14:39.610932", "stderr": "\nIn BootstrapHook.php line 32:\n \n Bootstrap failed. Run your command with -vvv for more information. \n \n\nupdatedb [--cache-clear [CACHE-CLEAR]] [--entity-updates] [--post-updates [POST-UPDATES]] [--no-cache-clear] [--no-post-updates] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--druplicon] [--notify [NOTIFY]] [--xh-link XH-LINK] [--] ", "stderr_lines": ["", "In BootstrapHook.php line 32:", " ", " Bootstrap failed. Run your command with -vvv for more information. ", " ", "", "updatedb [--cache-clear [CACHE-CLEAR]] [--entity-updates] [--post-updates [POST-UPDATES]] [--no-cache-clear] [--no-post-updates] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--druplicon] [--notify [NOTIFY]] [--xh-link XH-LINK] [--] "], "stdout": "", "stdout_lines": []}

Expected Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Notes

Manual Installation also get to the same issue after installing all the prerequisites such as PHP, GIT, MySql database and Nginx.

Version Info

Drupal Version#8