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

New option for CLI installation: skip database

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_30_STABLE
    • MOODLE_30_STABLE
    • MDL-46167-master
    • 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 --agree-license --adminpass=youradminpassword.
      6. Verify that the Moodle instance is installed.
      7. Drop and re-create the database and delete the config file.
      8. Run admin/cli/install.php.
      9. Verify that the Moodle instance is installed.
      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 --agree-license --adminpass=youradminpassword . Verify that the Moodle instance is installed. Drop and re-create the database and delete the config file. Run admin/cli/install.php . Verify that the Moodle instance is installed.

      It would be helpful to have an option for the CLI installation to skip the database install. This would allow you to write the config file with given values but save the database installation (which is already a completely separate script) for a later time.

            cfulton Charles Fulton
            cfulton Charles Fulton
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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