Tuesday, September 16, 2008

Upgrade Drupal 5.6 to 5.10

  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.10 into c:\work\smv\drupal-upgrade\080916\. This will create a drupal-5.10 directory with the core drupal files extracted.
  3. Download all the third party modules that need to be updated as well. Extract these modules into c:\work\smv\drupal-upgrade\080916\drupal-5.10\sites\all\modules\.
  4. Login to site as siteadmin. Keep this browser open to make it easier to enable the site later on.
  5. Disable (offline) the bluehost original / production site using the Site Maintenance module.
  6. In the c:\work\smv\drupal-upgrade\080916\drupal-5.10\sites\default\ directory, rename the settings.php file to settings5.10.php. We want to name this file uniquely as we will overwrite the settings.php file in the next step.
  7. Copy / download from the bluehost site (/smv/prod/sites/default/settings.php) the settings.php file into c:\work\smv\drupal-upgrade\080916\drupal-5.10\sites\default\. Keep this updated/customized version of the settings.php file.
  8. If disabled, login with url ending in /user to display the login screen. Need to login as user/1 (siteadmin).
  9. Run the update.php.
  10. Enable (online) the updated site using the Site Maintenance module.