Sloan Upgrade 2004

by Andrew Grumet

This document covers some of the technical details of the Sloan upgrade from OpenACS 4.6.x and .LRN 1.x to OpenACS 5.1.x and .LRN pre2.1. Both pre- and post-upgrade systems run on an Oracle database. A lot of the detail is specific to Oracle.

Steps

  1. db export/copy/import/viewfix
  2. upgrades run from sqlplus
  3. copy content-repository-content-files to new server and set permissions
  4. upgrades run from aolserver
  5. back in sqlplus
  6. mount localization package at acs-lang (tricky, have to conjure up the right URL, gui options not presented because acs-lang is marked as a service) and import all messages to be sure nothing falls through the cracks (a lot did, which is why we do this)
  7. unedit dotlrn-master.tcl and site-master.tcl
  8. WATCH OUT for new APM parameters -- for example, acs-mail-lite now uses the sendmail binary by default. Since this is controlled by a new parameter, it will get rolled out to your instance of acs-mail-lite with the default value, which means it will call the sendmail binary when your old system was probably using SMTP.
  9. WATCH OUT for changed APM parameters -- for example, file-storage now uses the filesystem for storage by default, when it used to default to the database. When you upgrade in APM, the defaults get overwritten, and all new package instances (e.g. file-storage in classes created post-upgrade) will get the new default if you forget to restore defaults to your old values. This silent overwriting of package value defaults is a bug in OpenACS.

aegrumet@alum.mit.edu