Skip to content

Instantly share code, notes, and snippets.

Created October 10, 2013 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a8b735e1bef22acca077 to your computer and use it in GitHub Desktop.
Save anonymous/a8b735e1bef22acca077 to your computer and use it in GitHub Desktop.
[aegir@aegir script]$ ./upgrade.sh
==> Drush is in the path, good
==> Aegir 6.x-2.x automated upgrade script
==> This script makes the following assumptions:
* you have read http://community.aegirproject.org/upgrading and have prepared the server accordingly
* you are executing this script as your "aegir" user
* that the following settings are correct
The Aegir version to upgrade to is 6.x-2.x
The Aegir home dir is /var/aegir
The new hostmaster platform will be /var/aegir/hostmaster-6.x-2.x
Your Aegir domain is aegir.prod-cms.tiera.fi
Your old hostmaster platform was /var/aegir/hostmaster-6.x-2.0-rc2+10-dev
The Drush command is "drush"
The version of Drush will be 7.x-5.9
Do you want to proceed with the upgrade? [Y/n] Y
==> Moving existing drush into /var/aegir/pre-upgrade-2013-10-10-2259
--2013-10-10 22:59:49-- http://ftp.drupal.org/files/projects/drush-7.x-5.9.tar.gz
Resolving ftp.drupal.org... 140.211.166.134
Connecting to ftp.drupal.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 414897 (405K) [application/x-gzip]
Saving to: “drush-7.x-5.9.tar.gz”
100%[==============================================================================================================================================>] 414,897 291K/s in 1.4s
2013-10-10 22:59:51 (291 KB/s) - “drush-7.x-5.9.tar.gz” saved [414897/414897]
==> Moving existing provision into /var/aegir/pre-upgrade-2013-10-10-2259
Initialized empty Git repository in /var/aegir/.drush/provision/.git/
remote: Counting objects: 14080, done.
remote: Compressing objects: 100% (7891/7891), done.
remote: Total 14080 (delta 9568), reused 9088 (delta 6058)
Receiving objects: 100% (14080/14080), 6.80 MiB | 187 KiB/s, done.
Resolving deltas: 100% (9568/9568), done.
warning: Remote branch $AEGIR_VERSION not found in upstream origin, using HEAD instead
'drush' cache was cleared [success]
This command will operate the following changes in your system:
1. verify the server and the hostmaster site (provision-verify)
2. verify the new platform (which will download it if missing)
3. stop the queue (hosting-pause)
4. attempt a migration to the new platform (provision-migrate)
5. start the queue (hosting-resume)
We are making the following assumptions:
* you have read UPGRADE.txt
* you are executing this script as your "aegir" user
Do you really want to proceed with the upgrade? (y/n): y
PHP Fatal error: Call to undefined function drush_backend_invoke_args() in /var/aegir/.drush/provision/provision.inc on line 339
Fatal error: Call to undefined function drush_backend_invoke_args() in /var/aegir/.drush/provision/provision.inc on line 339
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function drush_backend_invoke_args() in /var/aegir/.drush/provision/provision.inc, line 339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment