Tabel "qtype_randomsamatch_options" already exists

Tabel "qtype_randomsamatch_options" already exists

by Klaas Hobo -
Number of replies: 1

Hi all,

Ik want to migrate a Moodle 2.6 installation to Moodle 3.x and run into this problem. I could not find any solution for this?
The problemen arises when I do an upgrade and need to login again. There is the screen of all kind of plugins etc to update and that looks fine but when I want to continue I get this message and cannot move on. Any suggestions?

Debug info: can not rename table
Error code: ddltablealreadyexists
Stack trace:
  • line 505 of /lib/ddl/database_manager.php: ddl_exception thrown
  • line 54 of /question/type/randomsamatch/db/upgrade.php: call to database_manager->rename_table()
  • line 531 of /lib/upgradelib.php: call to xmldb_qtype_randomsamatch_upgrade()
  • line 1601 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 438 of /admin/index.php: call to upgrade_noncore()

Average of ratings: -