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

Install database CLI script does not show help if Moodle is already installed

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64561-master-test
    • Hide
      1. Clone a new Moodle instance.
      2. Create an empty database.
      3. Run admin/cli/install.php --skip-database.
      4. Verify that config.php is populated but that the database is empty.
      5. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed.
      6. Run admin/cli/install_database.php --agree-license --adminpass=youradminpassword.
      7. Verify that the Moodle instance is installed.
      8. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed.
      Show
      Clone a new Moodle instance. Create an empty database. Run admin/cli/install.php --skip-database. Verify that config.php is populated but that the database is empty. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed. Run admin/cli/install_database.php --agree-license --adminpass=youradminpassword. Verify that the Moodle instance is installed. Run admin/cli/install_database.php --help and ensure that the help text for the command is displayed.

      Discovered inĀ MDLQA-12735. The cli database installation script bails out before checking parameters if tables are present. There was consensus in the linked QA task that you should always be able to get help information for a command.

            cfulton Charles Fulton
            cfulton Charles Fulton
            Shamim Rezaie Shamim Rezaie
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m

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