Forum OpenACS Development: Re: OpenACS 5.0 Upgrade Experiences

Collapse
Posted by Michael Bluett on
I am testing upgrading my site. I am currently not able to log in. Is thisstill due to acs-lang not being installed correctly (I had zz-postload.tcl in place). The error is:

[12/Apr/2004:00:57:24][29728.114696][-conn4-] Error: GET http://myserver.com/register/?return%5furl=%2facs%2dadmin%2f
referred by ""
no value given for parameter "key" to "_"
    while executing
"_ acs-subsite.Log_In"
    invoked from within
"list [_ acs-subsite.Log_In] ok"
    invoked from within
"list [list [_ acs-subsite.Log_In] ok]"
    invoked from within
"set login_button [list [list [_ acs-subsite.Log_In] ok]]"
    ("uplevel" body line 77)
    invoked from within
"uplevel {
    	  # Present a login box
#
# Expects:
#   subsite_id - optional, defaults to nearest subsite
#   return_url - optional, defaults to Your..."
    (procedure "code::tcl::service0/packages/acs-subsite/lib/..." 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 {
I have also noticed a couple of files that appear to deserve manual deletion as hangovers from 4.6.3:
/packages/acs-templating/tcl/0-procs.tcl
/packages/acs-lang/tcl/lang-init.tcl
Collapse
Posted by Michael Bluett on
I managed to work past my problem, using Robert Gaszewski's amendment in his post above (Dec 15 2003 11:59:44).

I have found more files that need to be deleted when upgrading from 4.6.3 (some for duplicate proc definitions on initialisation):

  • acs-templating/resources/lists
  • acs-templating/tcl/list-procs.tcl
  • acs-lang/tcl/lang-procs*
  • acs-templating/resources/forms/standard-lars.adp
That last file was preventing me from logging in on my system. Now I'm going to try and upgrade some of the packages on my system.

From what I have seen so far, any older files lying around the file system in the core directories result from files moving, being split up or renamed, and they probably shouldn't be there. They are the files with the old dates (if you just copied the new OpenACS on top of your old installation).