Moodle
  1. Moodle
  2. MDL-23590

cli scripts should handle config.php existing but no database

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      27049

      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.

        Activity

        Penny Leach created issue -
        Petr Škoda made changes -
        Field Original Value New Value
        Assignee moodle.com [ moodle.com ] Petr Skoda (skodak) [ skodak ]
        Petr Škoda made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0 [ 10122 ]
        Resolution Fixed [ 1 ]
        Martin Dougiamas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        QA Assignee nobody
        Martin Dougiamas made changes -
        Workflow jira [ 37865 ] MDL Workflow [ 65133 ]
        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: