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
     

    " @@ -211,16 +217,16 @@ script as root. To give another user access to the files, add them to web group.
    -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
         

    " 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 {

    @@ -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 "

    System Configuration

    @@ -269,47 +273,35 @@ user in UNIX). Please type in the email address, first and last name, and password for this user. - +
    - - - + - + - + - + - + - + - + @@ -318,50 +310,50 @@ - + - + - + - + - + - + - + - +
    System AdministratorSystem Administrator
    Email:Email: $email_input_widget
    Username:Username: [install_input_widget username]
    First Name:First Name: [install_input_widget first_names]
    Last Name:Last Name: [install_input_widget last_name]
    Password:Password: [install_input_widget -size 12 -type password password]
    Password (again):Password (again): [install_input_widget -size 12 -type password password_confirmation]
    System URL:System URL: [install_input_widget -value $system_url system_url]
    The canonical URL of your system as visible from the outside world
    Usually it should include the port if your server is not on port 80

    System Name:System Name: [install_input_widget -value "yourdomain Network" system_name]
    The name of your system.

    Publisher Name:Publisher Name: [install_input_widget -value "Yourdomain Network, Inc." publisher_name]
    The legal name of the person or corporate entity responsible for the site.

    System Owner:System Owner: [install_input_widget system_owner]
    The email address signed at the bottom of user-visible pages.

    Admin Owner:Admin Owner: [install_input_widget admin_owner]
    The email address signed on administrative pages.

    Host Administrator:Host Administrator: [install_input_widget host_administrator]
    A person whom people can contact if they experience technical problems.

    Outgoing Email Sender:Outgoing Email Sender: [install_input_widget outgoing_sender]
    The email address that will sign outgoing alerts.
    New Registration Email:New Registration Email: [install_input_widget new_registrations]
    The email address to send New registration notifications.

    -\"> +
    @@ -372,6 +364,21 @@ This is particularly useful if you're authenticating against other services, such as LDAP or the local operating system, which may not use email as the basis of authentication.

    + + + " } else { # OK, apm_packages is installed - let's check out some other stuff too: @@ -388,3 +395,9 @@ } install_return 200 "Welcome" $body + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: