Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46921

2.2.7 to 2.4.1 upgrade error

$
0
0
by Michael Dahle.  

I attempted to upgrade from 2.2.7 to 2.4.1 (this included needing to set up a new db and import the tables and data to meet the db requirements).

It looked like it got 100% through the conversion but then gave me an error (see below) and now I am stuck on a page that says "Site is being upgraded, please retry later." There are no login boxes/options on the page.

I am over my head here. Any one able to help?

The error message:

Upgrading to new version

You are not logged in. (Login)

 

 

 

 

System

Converted unsigned/lob columns in MySQL database - 285/285.



 100%

DDL sql execution error

More information about this error

Debug info: Binary logging not possible. Message: Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'
CREATE UNIQUE INDEX mdl_coursect_cousec_uix ON mdl_course_sections (course, section)
Error code: ddlexecuteerror

Stack trace:

  • line 432 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown

  • line 860 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 817 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()

  • line 393 of /lib/db/upgrade.php: call to database_manager->add_index()

  • line 1493 of /lib/upgradelib.php: call to xmldb_main_upgrade()

  • line 284 of /admin/index.php: call to upgrade_core()


Viewing all articles
Browse latest Browse all 46921

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>