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

Upgrade from 1.6.4 to 1.8 fails

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.8.3, 1.9
    • Installation
    • None
    • Any
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      When upgrading from 1.6.4 to a 1.8.1 installation, the upgrade halted and did not display any further errors. When I checked the upgrade log in the log file from the moodledata folder, the last entry contained the message "Sorry, this activity is currently hidden". I stepped through the upgrade and discovered that it failed on the upgrade to version 2006100601 where it goes through and hides the exercise modules. I believe it failed on the call to 'rebuild_course_cache' at this point.

      I confirmed this step was where it failed by restoring the database back to its 1.6.4 state, manually hiding the exercise module before the upgrade, and rerunning the upgrade. All went well after that.

      Attachments

        Activity

          People

            dougiamas Martin Dougiamas
            mchurch Mike Churchward
            Nobody Nobody
            Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Oct/07