Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aegir@cs1:~$ sh upgrade.sh
- ==> Aegir 6.x-1.0-rc2 automated upgrade script
- ==> This script makes the following assumptions:
- * you have read UPGRADE.txt and 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-1.0-rc2
- The Aegir home dir is /var/aegir
- The new hostmaster platform will be /var/aegir/platforms/hostmaster-6.x-1.0-rc2
- The version of Drush will be 7.x-4.4
- The version of Drush Make will be 6.x-2.2
- Your Aegir domain is aegir.example.com
- Your old hostmaster platform was /var/aegir/platforms/hostmaster-0.4-rc1
- The Drush command is "php /var/aegir/drush/drush.php"
- Do you want to proceed with the upgrade? [Y/n] n
- Upgrade aborted by user.
- aegir@cs1:~$ nano upgrade.sh
- aegir@cs1:~$ sh upgrade.sh
- ==> Aegir 6.x-1.0-rc2 automated upgrade script
- ==> This script makes the following assumptions:
- * you have read UPGRADE.txt and 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-1.0-rc2
- The Aegir home dir is /var/aegir
- The new hostmaster platform will be /var/aegir/platforms/hostmaster-6.x-1.0-rc2
- The version of Drush will be 7.x-4.4
- The version of Drush Make will be 6.x-2.2
- Your Aegir domain is civiclix.com
- Your old hostmaster platform was /var/aegir/platforms/hostmaster-0.4-rc1
- The Drush command is "php /var/aegir/drush/drush.php"
- Do you want to proceed with the upgrade? [Y/n] y
- ==> Moving existing drush into /var/aegir/pre-upgrade-2011-03-18-1749
- --2011-03-18 17:50:00-- http://ftp.drupal.org/files/projects/drush-7.x-4.4.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: 253012 (247K) [application/x-gzip]
- Saving to: `drush-7.x-4.4.tar.gz'
- 100%[====================================================================================================================================================================================================>] 253,012 28.3K/s in 8.6s
- 2011-03-18 17:50:12 (28.6 KB/s) - `drush-7.x-4.4.tar.gz' saved [253012/253012]
- ==> Moving existing provision into /var/aegir/pre-upgrade-2011-03-18-1749
- --2011-03-18 17:50:13-- http://ftp.drupal.org/files/projects/provision-6.x-1.0-rc2.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: 93503 (91K) [application/x-gzip]
- Saving to: `provision-6.x-1.0-rc2.tar.gz'
- 100%[====================================================================================================================================================================================================>] 93,503 93.2K/s in 1.0s
- 2011-03-18 17:50:20 (93.2 KB/s) - `provision-6.x-1.0-rc2.tar.gz' saved [93503/93503]
- ==> Moving existing drush_make into /var/aegir/pre-upgrade-2011-03-18-1749
- Project drush_make (6.x-2.2) downloaded to /var/aegir/.drush/drush_make. [success]
- Project drush_make contains 0 modules: .
- 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 Aegir frontend (hostmaster-pause)
- 4. remove the cronjob (crontab -r)
- 5. attempt a migration to the new platform (provision-migrate)
- 6. start the Aegir frontend again (hostmaster-resume)
- 7. replace the crontab.
- 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
- array_key_exists() expects parameter 2 to be array, string given verify.provision.inc:28 [warning]
- array_key_exists() expects parameter 2 to be array, string given verify.provision.inc:28 [warning]
- Project information for drupal retrieved. [ok]
- drupal downloaded from http://ftp.drupal.org/files/projects/drupal-6.20.tar.gz. [ok]
- hostmaster cloned from http://git.drupal.org/project/hostmaster.git. [ok]
- Checked out tag 6.x-1.0-rc2. [ok]
- Found makefile: hostmaster.make [ok]
- Project information for admin_menu retrieved. [ok]
- Project information for openidadmin retrieved. [ok]
- Project information for install_profile_api retrieved. [ok]
- Project information for jquery_ui retrieved. [ok]
- Project information for modalframe retrieved. [ok]
- admin_menu downloaded from http://ftp.drupal.org/files/projects/admin_menu-6.x-1.6.tar.gz. [ok]
- openidadmin downloaded from http://ftp.drupal.org/files/projects/openidadmin-6.x-1.2.tar.gz. [ok]
- install_profile_api downloaded from http://ftp.drupal.org/files/projects/install_profile_api-6.x-2.1.tar.gz. [ok]
- jquery_ui downloaded from http://ftp.drupal.org/files/projects/jquery_ui-6.x-1.3.tar.gz. [ok]
- modalframe downloaded from http://ftp.drupal.org/files/projects/modalframe-6.x-1.6.tar.gz. [ok]
- jquery_ui downloaded from http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip. [ok]
- Created civiclixcom database [success]
- array_keys() expects parameter 1 to be array, null given deploy.provision.inc:84 [warning]
- array_merge(): Argument #2 is not an array deploy.provision.inc:88 [warning]
- Invalid argument supplied for foreach() deploy.provision.inc:89 [warning]
- Executing hosting_update_6014 [success]
- UPDATE {system} SET weight = 0 WHERE type='module' and name='hosting' [success]
- 'all' cache was cleared [success]
- Finished performing updates. [ok]
- The following updates are pending:
- hosting module
- 6014 - Restore proper weight to the hosting module For some obscure reason,
- the weight is 10 which makes its updates run after all others, which gave us
- constant issues during upgrades.
- Do you wish to run all pending updates? (y/n): y
- Dispatch command was run successfully [success]
- This command will replace your crontab for this user. continue? (y/n): y
- /var/aegir/drush/drush.php '@hostmaster' hosting-dispatch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement