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

          Activity

          mjollnir Penny Leach created issue -
          skodak Petr Skoda made changes -
          Field Original Value New Value
          Assignee moodle.com [ moodle.com ] Petr Skoda (skodak) [ skodak ]
          skodak Petr Skoda made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0 [ 10122 ]
          Resolution Fixed [ 1 ]
          dougiamas Martin Dougiamas made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          QA Assignee nobody
          dougiamas Martin Dougiamas made changes -
          Workflow jira [ 37865 ] MDL Workflow [ 65133 ]
          dougiamas Martin Dougiamas made changes -
          Workflow MDL Workflow [ 65133 ] MDL Full Workflow [ 94451 ]

            People

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

              Dates

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