Open 327456 opened 3 years ago
When I try to install drupal v8 or 9 on CentOS v7 on an EC2 instance, I get the error saying bootstrap failed.
Run: ansible-galaxy install -r requirements.yml Then run: ansible-playbook playbook.yml
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": []}
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Manual Installation also get to the same issue after installing all the prerequisites such as PHP, GIT, MySql database and Nginx.
Drupal Version#8
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