Saturday, December 29, 2007

Upgrade Drupal 5.5 to Drupal 5.6

  1. Ensure that the latest site backup is intact on the local pc. We will need this backup in case of the need to restore.
  2. Download and extract a fresh copy of of drupal 5.6 into c:\work\smv\download\drupal5\. This will create a drupal-5.5 directory with the core drupal files extracted.
  3. Disable (offline) the bluehost original / production site using the Site Maintenance module.
  4. Upload via ftp the drupal-5.6 directories (all except sites, files) to bluehost /smv/prod/smv. This will overlay the core drupal code with the upgraded version on bluehost.
  5. Upload via ftp any updated modules/themes under from (C:\work\smv\download\drupal5\modules\) to bluehost /smv/prod/sites/all/modules/. This will put any upgraded modules/themese on bluehost.
  6. If disabled, login with url ending in /user to display the login screen. Need to login as user/1.
  7. Run the update.php.
  8. Enable (online) the updated site using the Site Maintenance module.

Friday, December 28, 2007

Upgrade Drupal 5.3 - Drupal 5.5

  1. Download and extract a fresh copy of of drupal 5.5 into c:\work\smv\download\drupal5\. This will create a drupal-5.5 directory with the core drupal files extracted.
  2. Locate the daily backup directory i.e. (data\SaintMaryOfVernon\backup\box262.bluehost.com\smv\prod).
  3. Copy the files directory from the backup directory to drupal-5.5. This will copy the user files.
  4. Copy the sites directory from the backup directory to drupal-5.5. This will copy the 3rd party modules, and the key configuration file (sites/default/settings.php).
  5. Upload via ftp the drupal-5.5 directory to bluehost /smv/prod/drupal-5.5.
  6. Disable (offline) the bluehost original / production site using the Site Maintenance module.
  7. Rename the existing directory from prod to prod.20071229.
  8. Rename the new updated directory from drupal-5.5 to prod.
  9. If disabled, login with url ending in /user to display the login screen.
  10. Run the update.php.
  11. Enable (online) the updated site using the Site Maintenance module.