Index: openacs-4/packages/acs-bootstrap-installer/installer/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer/index.tcl,v diff -u -r1.30 -r1.31 --- openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 22 Jun 2015 21:03:12 -0000 1.30 +++ openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 7 Aug 2017 23:47:46 -0000 1.31 @@ -53,7 +53,7 @@ for collaborative commerce. This is the OpenACS Installer which performs all the steps necessary to get the OpenACS Community System running on your server.
-Please read the Release Notes +Please read the Release Notes before proceeding to better understand what is contained in this release. " @@ -112,6 +112,11 @@ return } +# +# Unset array errors, in case it exists +# +if {[array exists errors]} {array unset errors} + # Perform database-specific checks db_installer_checks errors error_p @@ -172,8 +177,9 @@ set stacksize [ns_config "ns/threads" StackSize] -if { ![string is integer $stacksize] || - $stacksize < [expr {$acs_application(min_stack_size) * 1024}] } { +if { ![string is integer $stacksize] + || $stacksize < $acs_application(min_stack_size) * 1024 + } { append errors "
The configured AOLserver Stacksize is too small, missing, or a non-integer value.
$acs_application(pretty_name) requires a StackSize parameter of at least
${acs_application(min_stack_size)}K.
@@ -195,8 +201,8 @@
on this directory. You can correct this by running the following script as root.
To give another user access to the files, add them to web
group.
-groupadd web
-chown -R nsadmin:web $::acs::rootdir
+groupadd nsadmin
+chown -R nsadmin:nsadmin $::acs::rootdir
chmod -R ug+rw $::acs::rootdir
web
group.
" set error_p 1 } db_helper_checks errors error_p -# Now that we know that the database and aolserver are set up +# Now that we know that the database and AOLserver are set up # correctly, let's check out the actual db. if {$error_p} { append body [subst {-groupadd web -chown -R nsadmin:web $::acs::rootdir/packages +groupadd nsadmin +chown -R nsadmin:nsadmin $::acs::rootdir/packages chmod -R ug+rw $::acs::rootdir/packages
@@ -258,9 +264,7 @@ set system_url "http://yourdomain.com" } - set email_input_widget [install_input_widget \ - -extra_attributes "onChange=\"updateSystemEmails()\"" \ - email] + set email_input_widget [install_input_widget -extra_attributes {id="email-addr"} email] append body "