Forum OpenACS Development: Should it break here?

Collapse
Posted by Pascal Scheffers on
I have got these packages in my packages dir: acs-admin acs-content acs-subsite acs-util skin acs-api-browser acs-content-repository acs-tcl acs-workflow acs-bootstrap-installer acs-kernel acs-templating page.

In the final phase of the install-data-model page it dies on this error:

 Error: Error sourcing
/web/4work/packages/acs-bootstrap-installer/installer/packages-install.tcl:
psql:acs-install.sql:170: ERROR:  apm_packages_package_key_fk
referential integrity violation - key referenced from apm_packages not
found in apm_package_types
psql:acs-install.sql:177: ERROR:  ExecAppend: Fail to add null value
in not null attribute object_id
 
    invoked from within
"db_source_sql_file -callback apm_ns_write_callback acs-install.sql"
    invoked from within
"if { ![ad_acs_admin_node] } {
    ns_write "   Completing Install sequence.
    blockquote>pre>"
    cd [file join [acs_root_dir] packages..."
    (file
"/web/4work/packages/acs-bootstrap-installer/installer/packages-install.tcl"
line 34)
    invoked from within
"source $__file "
Should it be going further than this, or is this what I should expect?
Collapse
Posted by Dan Wickstrom on
You should be able to complete the entire installation, restart and login.  Once you login, you should be able to use most of the apm, and at least go to the main admin pages without anything breading.  Try doing a cvs co acs-core and re-installing.  I did this last night without any problems, although it is possible that somebody checked something new in and broke something.
Collapse
Posted by Pascal Scheffers on
I am not a very big CVS wizard but I thought that

cd /web/openacs-4
cvs -z update -P -d 
Would update my old tree correctly - apparently not. A clean check out does work fine. Thanks for the tip.
Collapse
Posted by Dan Wickstrom on
update -d will drag in everything in the world, which is not what you want at this point. Read Don's porting HOWTO which describes some of the pitfalls that you might encounter with using the apm currently.