Closed VangelisP closed 1 month ago
Aegir can't run any Drush version higher than 8, because its code is based on Drupal 7.x and needs to support also Drupal sites running core 7.x and 6.x, however, the Drush 8 itself is still receiving patches to make it work with Drupal 9+, so it should work, but any offending module should not be enabled on install, but could be enabled while the site is already installed, also with drush10 available on command line (but not for Aegir).
I have tried what suggested by :
Hi all.
As D8 has passed the EOL date, i was reviewing if Opigno 3.0.0 (their latest version) can work with D9 on the Aegir stack.
While the platform can be registered properly, site creation fails due to some new code/functionality implemented for drush on the module
opigno_statistics
, which unfortunately, breaks our drush (8.4.9-dev currently on my instance). It's being written to work with drush9.I do have a first draft patch that I've tried which seems to resolve the installation issue by stripping out the offending (for drush 8) drush command, however I am aware that this is not he proper approach.
Instead of stripping out the new command that causes a break in drush during installation, is there a way to explicitly define which drush version should run when building a drupal site ? (eg drush8, drush9 etc)
For reference, here is my patch as a code:
Many thanks