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

cli scripts should handle config.php existing but no database

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      There are a lot of scenarios where config.php exists but there are no database tables (one example is debian packaging).

      There are a few different options:

      • install.php should either be split into createconfig.php and installdb.php,
      • upgrade.php should handle upgrading from 0
      • some of the code in install.php should be abstracted so it can be reused by a new script.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10