Skip to content

Upgrade fails #190

@dasistwas

Description

@dasistwas

Upgrade booking from:

2022030100 to 2022060200 results in error on Moodle 3.11 (branch USI)


mod_booking

DDL sql execution error

[More information about this error](http://docs.moodle.org/311/en/error/moodle/ddlexecuteerror)
Debug info: Unknown column 'parentid' in 'mdl_booking_options'
ALTER TABLE mdl_booking_options ADD semesterid BIGINT(10) DEFAULT 0 AFTER parentid
Error code: ddlexecuteerror
Stack trace:

    line 492 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
    line 1098 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 77 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
    line 547 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
    line 2390 of /mod/booking/db/upgrade.php: call to database_manager->add_field()
    line 877 of /lib/upgradelib.php: call to xmldb_booking_upgrade()
    line 576 of /lib/upgradelib.php: call to upgrade_plugins_modules()
    line 1929 of /lib/upgradelib.php: call to upgrade_plugins()
    line 713 of /admin/index.php: call to upgrade_noncore()

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions