Restore process is stuck on a specific question

Restore process is stuck on a specific question

by curt bixel -
Number of replies: 0

Upgrading from moodle 2.6 to 2.9.   at Cloudways on VPS 2000.  

Getting following error messages:

[Mon Jun 08 02:02:46 2015] [error] [client 108.50.213.27] Default exception handler: error/error_question_answers_missing_in_db Debug: \nError code: error_question_answers_missing_in_db\n$a contents: stdClass Object\n(\n    [filequestionid] => 21907\n    [dbquestionid] => 51866\n    [answer] => <p>two</p>\n)\n\n* line 185 of /backup/moodle2/restore_qtype_plugin.class.php: restore_step_exception thrown\n* line 137 of /backup/util/plan/restore_structure_step.class.php: call to restore_qtype_plugin->process_question_answer()\n* line 103 of /backup/util/helper/restore_structure_parser_processor.class.php: call to restore_structure_step->process()\n* line 178 of /backup/util/xml/parser/processors/grouped_parser_processor.class.php: call to restore_structure_parser_processor->dispatch_chunk()\n* line 91 of /backup/util/helper/restore_structure_parser_processor.class.php: call to grouped_parser_processor->postprocess_chunk()\n* line 148 of /backup/util/xml/parser/processors/simplified_parser_processor.class.php: call to restore_structure_parser_processor->postprocess_chunk()\n* line 92 of /backup/util/xml/parser/processors/progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()\n* line 190 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()\n* line 278 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->publish()\n* line ? of unknownfile: call to progressive_parser->end_tag()\n* line 179 of /backup/util/xml/parser/progressive_parser.class.php: call to xml_parse()\n* line 158 of /backup/util/xml/parser/progressive_parser.class.php: call to progressive_parser->parse()\n* line 110 of /backup/util/plan/restore_structure_step.class.php: call to progressive_parser->process()\n* line 181 of /backup/util/plan/base_task.class.php: call to restore_structure_step->execute()\n* line 177 of /backup/util/plan/base_plan.class.php: call to base_task->execute()\n* line 167 of /backup/util/plan/restore_plan.class.php: call to base_plan->execute()\n* line 333 of /backup/controller/restore_controller.class.php: call to restore_plan->execute()\n* line 224 of /backup/util/ui/restore_ui.class.php: call to restore_controller->execute_plan()\n* line 111 of /backup/restore.php: call to restore_ui->execute()\n, referer: http://moodle-1840-17483-40651.cloudwaysapps.com/backup/restore.php

[Mon Jun 08 02:02:46 2015] [error] [client 108.50.213.27] Potential coding error - existing temptables found when disposing database. Must be dropped!, referer: http://moodle-1840-17483-40651.cloudwaysapps.com/backup/restore.php


I have traced the source of the problem to a question, but the question seems to be not quite a question, but a random call for a question.  Here is what I could find in the database by searching for the database question id as displayed in the error message


edit51866252251866Random (ALPHA - 2.1, 2.2, 2.3 and sub-categories)10 01.00000000.0000000random1curt-bixel.com+131001024448+ivKKXycurt-bixel.com+131001024448+XuFQk001380595488138059548844

(1 row) whole result


Any idea how to remedy this problem?


Average of ratings: -