Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the upgrade.sh should checkout automatically the 6.x-2.x branch after cloning the head, but in my environment it did not. Installation fails to https://gist.github.com/anonymous/a8b735e1bef22acca077 and going to /var/aegir/.drush/provision to say git status it says I am still in 6.x-1.x branch and that is the reason why the drush_backend_invoke_args() gives fatal (it is obsolete with drush 5).
Fix was easy:
http://drupalcode.org/project/provision.git/blob/refs/heads/6.x-2.x:/upg...
change
if [ "$AEGIR_VERSION" = "6.x-2.x" ]; then
git clone --branch '$AEGIR_VERSION' http://git.drupal.org/project/provision.git $HOME/.drush/provision
else
to:
if [ "$AEGIR_VERSION" = "6.x-2.x" ]; then
git clone --branch $AEGIR_VERSION http://git.drupal.org/project/provision.git $HOME/.drush/provision
else
Comment | File | Size | Author |
---|---|---|---|
#1 | upgrade-checkout-brach-2109637-2.patch | 565 bytes | wroxbox |
Comments
Comment #1
wroxbox CreditAttribution: wroxbox commentedAnd here is the patch
Comment #2
wroxbox CreditAttribution: wroxbox commentedComment #3
helmo CreditAttribution: helmo commentedThe single quotes were preventing the variable from being expanded... should have been double quotes.
Committed 1130a9b80415b1352a96c7982ad718fab7b7bf41
I've also fixed #2109759: Update upgrade.sh script to get drush from Github