Index: openacs-4/packages/acs-bootstrap-installer/installer.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer.tcl,v diff -u -r1.31.2.6 -r1.31.2.7 --- openacs-4/packages/acs-bootstrap-installer/installer.tcl 20 Feb 2022 13:16:23 -0000 1.31.2.6 +++ openacs-4/packages/acs-bootstrap-installer/installer.tcl 8 Mar 2022 08:58:30 -0000 1.31.2.7 @@ -401,7 +401,7 @@ # out-of-band sourcing of 20-memoize-init.tcl below. # set ::acs::kernel_id [ad_acs_kernel_id] - + # Some APM procedures use util_memoize, so initialize the cache # before starting APM install array set errors {} @@ -501,6 +501,17 @@ ns_write "

  • Completing Install sequence by mounting the main site and other core packages.

    "
     
    +        if {[info commands ::acs::dc] ne ""} {
    +            #
    +            # Initialize DB function interface, to make functions
    +            # e.g. avilable for apm_mount_core_packages.
    +            #
    +            ns_log notice "Installer initializing db_function_interface"
    +            ::acs::dc create_db_function_interface ;# -verbose ;# -match test.*
    +        } else {
    +            ns_log notice "Installer initializing db_function_interface"
    +        }
    +
             # Mount the main site
             cd [file join $::acs::rootdir packages acs-kernel sql [db_type]]
             db_source_sql_file -callback apm_ns_write_callback acs-install.sql