hi Cesareo,
i tried to reconstruct the problem, installed OpenACS 5.5.0 on PG 8.4.1 and redid the steps above. The problem on your installation seems to be the upgrade from OpenACS 5.5* to OpenACS 5.6.0 (so i altered the subject line accordingly).
What I did was in detail:
- install openacs-5.5.0.tgz on pg 8.4.1, using a database named oacs-5-5
- do upgrade from repository
-> offers 5.5.1
-> select all
-> install fine -> we are now at 5.5.1, can check that on acs-admin/apm
The steps above are probably irrelevant for the problem, but repeat, what you described in your posting. Now it becomes more interesting:
- download "OpenACS 5.6.0 Final" and expand to /usr/local/openacs-5.6.0
- changed permission in this dir according to server permissions
- set siteroot of the server startup script using oacs-5-5 DB to /usr/local/openacs-5.6.0
- restart server
- browse to acs-admin/apm/packages-install
- check all boxes -> install
Now data model upgrade will happen. I see then:
Select what data files to load for Kernel 5.6.0sql/postgresql/upgrade/upgrade-5.6.0d1-5.6.0d2.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0d2-5.6.0d3.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0d4-5.6.0d5.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0d5-5.6.0d6.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0d6-5.6.0d7.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0d7-5.6.0d8.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0b1-5.6.0b2.sql Data model upgrade
sql/postgresql/upgrade/upgrade-5.6.0b2-5.6.0b3.sql Data model upgrade
and others. When i click on "install packages", everything works fine. All OpenAcs 5.6.0 packages are installed, including acs-tcl, where you seem to have problem.
When double-checking in the database, i see
% /usr/local/pg841/bin/psql -U nsadmin oacs-5-5
psql (8.4.1)
Type "help" for help.oacs-5-5=# \df apm__register_parameter
List of functions
Schema | Name | Result data type | Argument data types | Type
--------+-------------------------+------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+--------
public | apm__register_parameter | integer | integer, character varying, character varying, character varying, character varying, character varying, character varying, character varying, integer, integer | normal
public | apm__register_parameter | integer | integer, character varying, character varying, character varying, character varying, character varying, character varying, integer, integer | normal
(2 rows)
so, apm__register_parameter/10 is installed correctly, no problems are reported.
The "critical" part is above where the data model upgrade happens. Please check, where our install paths divert.
all the best
-gustaf neumann