Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl,v diff -u -r1.126.2.8 -r1.126.2.9 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 13 Jul 2020 12:02:33 -0000 1.126.2.8 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 15 Jul 2020 20:10:35 -0000 1.126.2.9 @@ -1697,6 +1697,11 @@ } else { lappend types_to_retrieve "data_model_upgrade" } + + if {![apm_package_enabled_p $package_key]} { + ns_log notice "apm_data_model_scripts_find: ignore upgrade attempt for disabled package $package_key" + return "" + } set data_model_list [list] set upgrade_file_list [list] set ctl_file_list [list]