diff --git a/roles/moodle/templates/moodle_installer b/roles/moodle/templates/moodle_installer index 2f988125e..38f729816 100755 --- a/roles/moodle/templates/moodle_installer +++ b/roles/moodle/templates/moodle_installer @@ -1,5 +1,10 @@ #!/bin/bash -x +# May 2018: lowercase "--adminuser=admin" is still required for some odd +# reason, otherwise one cannot login to http://box.lan/moodle +# (with Admin/changeme). At the same time --dbuser=Admin still begins with +# a capital letter, in keeping with Internet-in-a-Box's other server apps. + sudo -u {{ apache_user }} \ /usr/bin/php {{ moodle_base }}/admin/cli/install.php \ --wwwroot=http://{{ iiab_hostname }}.{{ iiab_domain }}/moodle \ @@ -9,7 +14,7 @@ sudo -u {{ apache_user }} \ --dbuser=Admin --dbpass=changeme \ --fullname=Your_School \ --shortname=School \ - --adminuser=admin --adminpass=changeme \ # May 2018: lowercase "admin" is still required, otherwise Admin/changeme fails at http://box.lan/moodle + --adminuser=admin --adminpass=changeme \ --non-interactive \ --agree-license \ --allow-unstable # TEMPORARY DURING MAY 2018 TESTING