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

Upgrading to new version produces database error when file or memory limits are reached

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.19, 2.1.7, 2.2.4
    • Fix Version/s: None
    • Component/s: Installation
    • Labels:
    • Database:
      MySQL
    • Workaround:
      Hide

      See comments below.

      Show
      See comments below.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      Upgrading from Moodle 1.9.19+ (Build: 20120816) to 2.1.7+ (Build: 20120816), all tables are collate utf8_general_ci and charset utf8. When you pass the environment and plugin checks, this error shows up:

      System
       
      Table "upgrade_log" already exists
       
      More information about this error
      Stack trace:
       
         line 469 of /lib/ddl/database_manager.php: ddl_exception thrown
         line 93 of /lib/db/upgrade.php: call to database_manager->create_table()
         line 1418 of /lib/upgradelib.php: call to xmldb_main_upgrade()
         line 277 of /admin/index.php: call to upgrade_core()

      Better error detection and reporting is needed.

      See the comments below for more information about what was causing this problem.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: