Hi
I am trying to upgrade from moodle version 2.2 to version 2.7 and keep getting a DLL execution error.
I am on a linux cloud server.
The upgrade gets 80% of the way through and then fails with the following message:
DDL sql execution error
More information about this error
Debug info: Lost connection to MySQL server during query
ALTER TABLE `mdl_sessions` MODIFY COLUMN `id` bigint(10) signed NOT NULL AUTO_INCREMENT, MODIFY COLUMN `state` bigint(10) signed NOT NULL DEFAULT '0' , MODIFY COLUMN `userid` bigint(10) signed NOT NULL , MODIFY COLUMN `timecreated` bigint(10) signed NOT NULL , MODIFY COLUMN `timemodified` bigint(10) signed NOT NULL
Error code: ddlexecuteerror
Stack trace:
•line 449 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
•line 905 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
•line 161 of /lib/db/upgradelib.php: call to mysqli_native_moodle_database->change_database_structure()
•line 233 of /lib/db/upgrade.php: call to upgrade_mysql_fix_unsigned_and_lob_columns()
•line 1560 of /lib/upgradelib.php: call to xmldb_main_upgrade()
•line 361 of /admin/index.php: call to upgrade_core()
The website then reads "Site is being upgraded, please retry later."
Prior to the upgrade all the lights were green other than the following which were amber:
Plugin
Status
php_extension
intl
should be installed and enabled for best results
Intl extension is used to improve internationalization support, such as locale aware sorting.
php_setting
opcache.enable
PHP setting should be changed.
PHP opcode caching improves performance and lowers memory requirements, OPcache extension is recommended and fully supported.
Any help would be appreciated.
Thanks