Skip to content
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

Ainsible build fails due to Drupal Console URL being a 500 #1634

Closed
klidifia opened this issue Sep 30, 2020 · 3 comments
Closed

Ainsible build fails due to Drupal Console URL being a 500 #1634

klidifia opened this issue Sep 30, 2020 · 3 comments
Assignees
Labels
Subject: Ansible Playbook Related to the maintenance and upkeep associated with an Ansible Playbook for Islandora. Always also Subject:Deployment related to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker) Type: question asks for support (asks a question)

Comments

@klidifia
Copy link

The full ainsible build doesn't complete as it stops when trying to fetch https://drupalconsole.com/installer

It seems that this URL has been down intermittently over the last several weeks becoming a persistent issue.

TASK [geerlingguy.drupal-console : Install Drupal Console.] ********************
Thursday 01 October 2020  10:39:15 +1300 (0:00:00.029)       0:04:40.242 ****** 
fatal: [default]: FAILED! => {"changed": false, "dest": "/usr/local/bin/drupal", "elapsed": 2, "msg": "Request failed", "response": "HTTP Error 500: Internal Server Error", "status_code": 500, "url": "https://drupalconsole.com/installer"}

I tried changing it to use composer in /roles/external/geerlingguy.drupal-console/tasks/main.yml but could not get it to work, but wonder if that could be the right approach to take.

It currently reads as:

- name: Install Drupal Console.
  get_url:
    url: https://drupalconsole.com/installer
    dest: "{{ drupal_console_path }}"

I tried changing to a few other variants including:

- name: Install Drupal Console.
    shell: >
      composer global require drupal/console && cp $(composer global config home)/vendor/bin/drupal  {{ drupal_console_path }}
@elizoller
Copy link
Member

are you running on the dev branch of the playbook?
we recently merged a PR to remove the geerlingguy.drupal-console role and use composer to install drupal-console
PR is here: Islandora-Devops/islandora-playbook#186

@klidifia
Copy link
Author

No I was using the main branch because I wanted the full build, following from this part.

But thank you and yes: I cherry-picked ef940b797ec699121c1580daacf000517419fd39 (remove dependency on geerlingguy drupal console ansible role because...)

And it works fine (main branch with that commit added).

@kstapelfeldt kstapelfeldt added Subject:Deployment related to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker) Subject: Ansible Playbook Related to the maintenance and upkeep associated with an Ansible Playbook for Islandora. Always also Type: question asks for support (asks a question) and removed Ansible labels Sep 25, 2021
@rosiel
Copy link
Member

rosiel commented Sep 28, 2021

We no longer use Drupal Console since Islandora-Devops/islandora-playbook#186.

Edit to say: You may need to be on the dev branch of the playbook.

@rosiel rosiel closed this as completed Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Ansible Playbook Related to the maintenance and upkeep associated with an Ansible Playbook for Islandora. Always also Subject:Deployment related to deployment of Islandora. Usually accompanied by the deployment flavour (Ansible/docker) Type: question asks for support (asks a question)
Projects
None yet
Development

No branches or pull requests

4 participants