Okay, I'm attempting to upgrade moodle to 2.3.3. I have all of the other updates done I need to make it happy and now at the very end of all this "fun" I've had I am getting the following:
CREATE UNIQUE INDEX mdl_coursect_cousec_uix ON mdl_course_sections (course, section)
Error code: ddlexecuteerror
- line 413 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
- line 803 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 806 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
- line 400 of /lib/db/upgrade.php: call to database_manager->add_index()
- line 1481 of /lib/upgradelib.php: call to xmldb_main_upgrade()
- line 275 of /admin/index.php: call to upgrade_core()