Moodle

Add environment checks at the beginning of every upgrade

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.7.1, 1.8
  • Fix Version/s: 1.7.2, 1.8, 1.9
  • Component/s: Installation
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

Petr, can you add a screen to the upgrade process (or combine it on the first screen) in admin/index.php so that it prints the current environment table with all details about compliance etc.

If there are no problems, there are just [Continue with upgrade] and [Cancel] buttons.

If there are problems it says "Your server does not meet the requirements for this version" and there are [Upgrade anyway] and [Cancel Upgrade].

This would prevent a lot of people getting into trouble by trying to upgrade with old MySQL etc.

Activity

Hide
Martin Dougiamas added a comment -

Petr can you do this as a priority? Thanks!

Show
Martin Dougiamas added a comment - Petr can you do this as a priority? Thanks!
Hide
Martin Dougiamas added a comment -

Actually, it's easier than I thought and I'm in the area, doing it myself

Show
Martin Dougiamas added a comment - Actually, it's easier than I thought and I'm in the area, doing it myself
Hide
Martin Dougiamas added a comment -

Done!

Show
Martin Dougiamas added a comment - Done!
Hide
Nicolas Martignoni added a comment -

Verified, closing.

Show
Nicolas Martignoni added a comment - Verified, closing.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: