| 1 |
-*-rst-*-
|
| 2 |
|
| 3 |
This document is formatted using the ReST syntax.
|
| 4 |
|
| 5 |
Aegir 0.2 upgrade instructions
|
| 6 |
==============================
|
| 7 |
|
| 8 |
This document describes briefly how to upgrade existing Aegir
|
| 9 |
platforms.
|
| 10 |
|
| 11 |
Upgrading Hostmaster from 0.1
|
| 12 |
-----------------------------
|
| 13 |
|
| 14 |
Upgrading hostmaster should be as simple as removing the provision and
|
| 15 |
drush modules from your profiles/hostmaster/modules directory. You
|
| 16 |
also need to create a new drush and provision checkout. Finally, you
|
| 17 |
can remove the drush.php symlink.
|
| 18 |
|
| 19 |
You will also need to update the hosting module and run update.php so
|
| 20 |
that new changes to the database are taken into account. This will
|
| 21 |
trigger platform verification and other cleanup tasks.
|
| 22 |
|
| 23 |
Finally, you will need to put the path to that new drush in the
|
| 24 |
webserver node configuration. Rerunning the wizard will prompt you for
|
| 25 |
that. Make sure you also run the hosting setup command.
|
| 26 |
|
| 27 |
Shell commands::
|
| 28 |
cd /var/aegir
|
| 29 |
cvs co -d drush contributions/modules/drush
|
| 30 |
mkdir .drush
|
| 31 |
cvs co -d .drush/provision contributions/modules/provision
|
| 32 |
rm drupal-5.x/drush.php
|
| 33 |
cvs up -A drupal-5.x/profiles/hostmaster/modules/hosting
|
| 34 |
cd drupal-5.x && ./drush/drush.php hosting setup
|
| 35 |
|
| 36 |
Upgrading Hostslave platforms from 0.1
|
| 37 |
--------------------------------------
|
| 38 |
|
| 39 |
Provision has been migrated out of the platforms. It used to be
|
| 40 |
installed in the profiles/hostslave/modules directory. It is now in
|
| 41 |
~/.drush/provision. So you can simply cleanup the hostslave profile
|
| 42 |
and the virtual host created for the hostslave profile. You can also
|
| 43 |
remove the drush symlink.
|
| 44 |
|
| 45 |
Shell commands::
|
| 46 |
cd /var/aegir
|
| 47 |
rm -r drupal-6.x/profiles/hostslave
|
| 48 |
rm config/vhost.d/hostslave
|
| 49 |
rm drupal-6.x/drush.php
|
| 50 |
|
| 51 |
You should also delete the database created during the hostslave
|
| 52 |
install:
|
| 53 |
|
| 54 |
SQL commands::
|
| 55 |
DROP DATABASE hostslave;
|