Tuesday, July 31, 2007

Minor Release Upgrade (Drupal 5.1 to Drupal 5.2) -- Method 2

Procedure:

  1. Disable (offline) the original / production site using the Site Maintenance module.
  2. Restore / create the mysql smvprod instance.
  3. Create a fresh copy of drupal 5.2 into smv52
  4. Copy the 3rd party modules into /sites/all/modules
  5. Copy the user files (/files) into /files.
  6. Rename the existing directory from prod to prod.20070824.
  7. Rename the new updated directory from smv52 to prod.
  8. If disabled, login with url ending in /user to display the login screen.
  9. Run the update.php.
  10. Reset the garland color theme, to set the defined aquamarine color.
  11. Enable (online) the updated site using the Site Maintenance module.
Tips:
  1. Use an ftp client such as filezilla, for reliable, fast transfers.

Sunday, July 29, 2007

Minor Release Upgrade (Drupal 5.1 to Drupal 5.2) -- Method 1

  1. Copy Current live / working site into a test site
    1. Extract the file system = daily.tar.gz -> /homedir/public_html/dev/smv to the test site.
    2. Extract the db system
    3. Test / verify that this site is working.
  2. Copy the files of the new / upgrade version to this test site
    1. Copy the new version of Drupal and overlay the test site.
    2. Verify / modify the settings.php / db connection entries.
    3. Verify that the site is still working.