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

System error during upgrade from Moodle 2.5.2 to Moodle Latest 2.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: Unknown
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE

      Description

      In the process of upgrading from Moodle 2.3.2 to Latest 2.6, I encountered the following system error.

      System

      DDL sql execution error

      More information about this error
      Debug info: Data truncated for column 'institution' at row 70
      ALTER TABLE mdl_user MODIFY COLUMN institution VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' after phone2
      Error code: ddlexecuteerror
      Stack trace:

      line 447 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
      line 833 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      line 88 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
      line 77 of /lib/ddl/database_manager.php: call to database_manager->execute_sql()
      line 588 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
      line 600 of /lib/ddl/database_manager.php: call to database_manager->change_field_type()
      line 2438 of /lib/db/upgrade.php: call to database_manager->change_field_precision()
      line 1530 of /lib/upgradelib.php: call to xmldb_main_upgrade()
      line 356 of /axesadmin/index.php: call to upgrade_core()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cprudhoe Clarence Prudhoe
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: