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

Incorrect documentation in admin/cli/install_database.php

XMLWordPrintable

    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • MDL-29898-master-1
    • Easy
    • Hide
      1. Create empty database and point configuration at it.
      2. As web server user run: php admin/cli/install_database.php --agree-license --fullname "fullname" --shortname "shortname" --adminpass=password
      3. Verify that the site has a fullname and shortname of 1
      4. Drop and re-create the database
      5. As web server user run: php admin/cli/install_database.php --agree-license --fullname="fullname" --shortname="shortname" --adminpass=password
      6. Verify that the fullname and shortname are now set correctly
      Show
      Create empty database and point configuration at it. As web server user run: php admin/cli/install_database.php --agree-license --fullname "fullname" --shortname "shortname" --adminpass=password Verify that the site has a fullname and shortname of 1 Drop and re-create the database As web server user run: php admin/cli/install_database.php --agree-license --fullname="fullname" --shortname="shortname" --adminpass=password Verify that the fullname and shortname are now set correctly

      Documentation suggests that fullname and shortname options are:
      --fullname
      --shortname

      They are in fact
      --fullname=STRING
      --shortname=STRING

      Trying to use the former results in a fullname or shortname of "1"

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Ankit Agarwal Ankit Agarwal
            Sam Hemelryk Sam Hemelryk
            Aparup Banerjee Aparup Banerjee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.