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

Admin CLI install script prompts for values that it doesn't use when the skip-database option is given

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.5, 3.6.3, 3.7
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:

      Description

      The admin/cli/install.php script still prompts the user for values such as the site short name, full name, admin email address, admin password even when it's run with the --skip-database flag.

      This is confusing for the user because those values are only set as part of the database install. This means that when --skip-database is set the values aren't actually saved anywhere even though the user provides them.

      Instead the user must set them again when running the admin/cli/install_database.php script or the admin can do it when the log into the site.

      The install script probably shouldn't prompt the user for those values if the --skip-database flag is given.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ryanwyllie Ryan Wyllie
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h