Moodle
  1. Moodle
  2. MDL-28515

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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:
    • Rank:
      18262

      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

        Activity

        Hide
        Andrew Nicols added a comment -

        I've written a fix for this bug which adds the fullname and shortname to the list of possible options, and add a description to the help for the CLI installer.

        Git Repo: git://git.luns.net.uk/moodle.git
        Commit: 1a698e00905d977624fa674018f5fb8467e4bd38

        should cherry-pick cleanly on master and MOODLE_20_STABLE and MOODLE_21_STABLE.

        Show
        Andrew Nicols added a comment - I've written a fix for this bug which adds the fullname and shortname to the list of possible options, and add a description to the help for the CLI installer. Git Repo: git://git.luns.net.uk/moodle.git Commit: 1a698e00905d977624fa674018f5fb8467e4bd38 should cherry-pick cleanly on master and MOODLE_20_STABLE and MOODLE_21_STABLE.
        Hide
        Andrew Nicols added a comment -

        This commit can also be cherry-picked into 2.0 and 2.1 cleanly

        Show
        Andrew Nicols added a comment - This commit can also be cherry-picked into 2.0 and 2.1 cleanly
        Hide
        Sam Hemelryk added a comment -

        Thanks guys, this has been integrated now and cherry-picked to 21 and 20 stable as well

        Show
        Sam Hemelryk added a comment - Thanks guys, this has been integrated now and cherry-picked to 21 and 20 stable as well
        Hide
        Rajesh Taneja added a comment -

        Works Great...

        Thanks Dan, for improving Moodle

        Show
        Rajesh Taneja added a comment - Works Great... Thanks Dan, for improving Moodle
        Hide
        Dan Poltawski added a comment -

        The thanks should be directed at Andrew

        Show
        Dan Poltawski added a comment - The thanks should be directed at Andrew

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: