Forum OpenACS Q&A: Re: Upgrading from OpenACS 4.5 to 4.6

Collapse
Posted by Joel Aufrecht on
My work-in-progress upgrade guide:

http://aufrecht.org/openacs-4.6-quick-guide/ch03s02.html

It includes these steps (in more detail):

  1. Make a Backup.
  2. Drop the OpenFTS Engine
  3. Build and install the new OpenFTS driver
  4. Stop the server and upgrade the files.
  5. Install new database commands required for OpenFTS 0.3.2.
  6. Upgrade the kernel
  7. Upgrade other packages
  8. Install the new OpenFTS Engine.
  9. Outstanding problems:
        there are somewhere between one and an infinite number of problems with static pages/search, including two or three bugs that are supposed to be fixed in 4.6.1.  After spending many hours working on it in a repeatedly rebuilt dev environment, I gave up and pulled search offline for now.

  10. Instructions for rollback of database and files if necessary

Feedback would be much appreciated.  This is eventually bound for the official docs, I think.

Collapse
7: APM spits at me! (response to 6)
Posted by Jade Rubick on
Joel, that is some great documenation. Great work!

I've updated the source code, and merged it via cvs. I then brought up aolserver, and went to the APM page, and tried to install the kernel updates. Before I even got that far:

Package Installation

    Your Workspace : ACS System Wide Administration : ACS Package Manager : Package Installation

Please wait while the installer loads ........

  HTTP/1.0 200 OK Server: AOLserver/3.3.1+ad13 Content-Type: text/html; charset=iso-8859-1 MIME-Version: 1.0 Date: Sun, 16 Feb 2003 04:22:53 GMT Content-Length: 2694 Connection: close

Request Error

Invalid file type "message_catalog"
    while executing
"error "Invalid file type \"$type\"""
    (procedure "apm_read_package_info_file" line 152)
    invoked from within
"apm_read_package_info_file $spec_file"
    ("foreach" body line 2)
    invoked from within
"foreach spec_file $all_spec_files {
    array set version [apm_read_package_info_file $spec_file]
    set version_name $version(name)
    set package_..."
    ("uplevel" body line 37)
    invoked from within
"uplevel {
          ad_page_contract {

    Select, dependency check, install and enable packages.

    @author Bryan Quinn (mailto:bquinn@arsdigita.com)
    @c..."
    (procedure "code::tcl::/web/safe4all-dev/safe4all/packages/acs-admin/www..." line 2)
    invoked from within
"code::tcl::$__adp_stub"
    invoked from within
"if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
..."
    ("uplevel" body line 3)
    invoked from within
"uplevel {

    if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare "
    (procedure "template::adp_parse" line 30)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
        $handler
      } ad_script_abort val {
        # do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
        rp_serve_abstract_file "$root/$path"
        set tcl_url2file([ad_conn url]) [ad_conn file]
        set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."