Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28515

CLI installer supports fullname and shortname but these aren't specified in the help for it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Installation
    • Labels:
      None
    • Database:
      Any
    • Testing Instructions:
      Hide

      Running an install using a command such as:

      php admin/cli/install_database.php --fullname="Full Site name" --shortname="shortsitename" --adminpass="password" --agree-license

      installs Moodle, but does not set the fullname or shortname of the site. After running the CLI installer, if you open the site and set the admin user settings, you will still be prompted for the Full name, and Short name.

      After cherry-picking commit 1a698e00905d977624fa674018f5fb8467e4bd38 from git://git.luns.net.uk/moodle.git running the same command:
      php admin/cli/install_database.php --fullname="Full Site name" --shortname="shortsitename" --adminpass="password" --agree-license

      install Moodle. After running the CLI installer, if you open the site and set the admin user settings, the site's Full name and Short name will now be set.

      Show
      Running an install using a command such as: php admin/cli/install_database.php --fullname="Full Site name" --shortname="shortsitename" --adminpass="password" --agree-license installs Moodle, but does not set the fullname or shortname of the site. After running the CLI installer, if you open the site and set the admin user settings, you will still be prompted for the Full name, and Short name. After cherry-picking commit 1a698e00905d977624fa674018f5fb8467e4bd38 from git://git.luns.net.uk/moodle.git running the same command: php admin/cli/install_database.php --fullname="Full Site name" --shortname="shortsitename" --adminpass="password" --agree-license install Moodle. After running the CLI installer, if you open the site and set the admin user settings, the site's Full name and Short name will now be set.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Although support for specification of the site's fullname and shortname was added in MDL-23027, it's not possible to specify the options because they aren't included in the list of recognised options

        Attachments

          Activity

            People

            • Assignee:
              poltawski Dan Poltawski
              Reporter:
              dobedobedoh Andrew Nicols
              Integrator:
              Sam Hemelryk
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Oct/11