You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error happens when trying to upgrade either Drupal core or extension modules using Drush in the Tripal Crop Docker. It's caused due to Drush being installed locally in the docker image.
Solution
We need to remove the local Drush installation, install Drush globally and add an alias to the drush command.
Originally, Drush 8 was installed via composer because the Drush documentation says the following (Drush docs):
Drush only supports one install method. It requires that your Drupal site be built with Composer and Drush be listed as a dependency.
Since Drush 8 is the most recent version of Drush to support Drupal 7, we chose it and used these instructions. However, it has since become known that a local install of Drush via composer for Drupal 7 (Issue #4734) causes an error when updating Drupal core. This was fixed in a more recent version of Drush but they are incompatible with Drupal 7.
The text was updated successfully, but these errors were encountered:
This error happens when trying to upgrade either Drupal core or extension modules using Drush in the Tripal Crop Docker. It's caused due to Drush being installed locally in the docker image.
Solution
We need to remove the local Drush installation, install Drush globally and add an alias to the drush command.
Reasoning/Background
Originally, Drush 8 was installed via composer because the Drush documentation says the following (Drush docs):
Since Drush 8 is the most recent version of Drush to support Drupal 7, we chose it and used these instructions. However, it has since become known that a local install of Drush via composer for Drupal 7 (Issue #4734) causes an error when updating Drupal core. This was fixed in a more recent version of Drush but they are incompatible with Drupal 7.
The text was updated successfully, but these errors were encountered: