Friday, October 2, 2009

Upgrade Drupal 5.17 to Drupal 5.20

  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.20 into c:\work\smv\drupal-upgrade\091002\. This will create a drupal-5.20 directory with the core drupal files extracted. For brevity, we will refer to this as our [upload-dir]
  3. Download all the third party modules that need to be updated as well. Extract these modules into [upload-dir]\sites\all\modules\.
  4. Login to site as smvadmin. Keep this browser open to make it easier to enable the site later on.
  5. Rename the file [upload-dir]\sites\default\settings.php to settings-5.20.php. We want to name this file uniquely so as not to overwrite the currently active settings.php on bluehost.
  6. Rename the file [upload-dir]\.htaccess to 5.20.htaccess. We want to name this file uniquely so as not to overwrite the currently active .htaccess on bluehost.
  7. Disable (offline) the bluehost original / production site using the Site Maintenance module.
  8. Upload via ftp all the files from [upload-dir] to bluehost /smv/prod/. This will put any upgraded files unto bluehost.
  9. If disabled, login with url ending in /user to display the login screen. Need to login as user/1 (smvadmin).
  10. Run the update.php.
  11. Enable (online) the updated site using the Site Maintenance module.

No comments:

Post a Comment