Hi,
I'm having the following problem during the upgrade process between Moodle 2.6.1 and 2.7.2.
After starting the database upgrade process I'm receiveing the following error:
Table "qtype_randomsamatch_options" exists already
Debug info:can not rename table
Error code: ddltablealreadyexists
Stack trace:
- line 500 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 535 of \lib\upgradelib.php: call to xmldb_qtype_randomsamatch_upgrade()
- line 1615 of \lib\upgradelib.php: call to upgrade_plugins()
- line 434 of \admin\index.php: call to upgrade_noncore()
I have deleted this table, just to check whether it will be possible to finish the installation process. Hovewer, then I'm getting the problem with the next table:
Table "quiz_slots" exists already
Debug info:can not rename table
Error code: ddltablealreadyexists
Stack trace:
- line 500 of \lib\ddl\database_manager.php: ddl_exception thrown
- line 524 of \mod\quiz\db\upgrade.php: call to database_manager->rename_table()
- line 697 of \lib\upgradelib.php: call to xmldb_quiz_upgrade()
- line 420 of \lib\upgradelib.php: call to upgrade_plugins_modules()
- line 1615 of \lib\upgradelib.php: call to upgrade_plugins()
- line 434 of \admin\index.php: call to upgrade_noncore()
Do you know any solution for this or any reason why it happens? I need to update the productive system within 3-5 days, therefore I will appreciate for any suggestion regarding this case.
Best regards,
Paul