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

Upgrade from 1.6.4 to 1.8 fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Installation
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      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

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            mchurch Mike Churchward
            Tester:
            Nobody
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Oct/07