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

CLI installer stops with no useful explanation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Installation
    • Labels:
    • Testing Instructions:
      Hide

      Testing difficulty: medium (requires CLI access)

      1. TEST: make sure you can install a branch with unstable maturity (like 2.3dev on current master) via the non-interactive CLI installer
      2. TEST: make sure you can upgrade your site to an unstable version via the non-interactive CLI upgrade script

      Show
      Testing difficulty: medium (requires CLI access) 1. TEST: make sure you can install a branch with unstable maturity (like 2.3dev on current master) via the non-interactive CLI installer 2. TEST: make sure you can upgrade your site to an unstable version via the non-interactive CLI upgrade script
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-33382-cli-install

      Description

      When trying the CLI installer on an unstable branch (like 2.3dev at the moment), the non-interactive installer stops after displaying:

      Moodle 2.3dev (Build: 20120525) command line installation program
      The version of Moodle that you are about to install or upgrade to contains
      unstable "{$a}" development code that is not suitable for use on most production
      sites. If this is not what you wanted then you should make sure you are updating
      from a STABLE branch of the Moodle code. See Moodle Docs for more details.

      There are two issues:

      • missing $a placeholder expansion
      • missing hint about the --allow-unstable must be provided

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Jun/12