Restore error when import old course from 1.9.3+

Restore error when import old course from 1.9.3+

by Brad Meyer -
Number of replies: 1

Our moodle admin is trying to import a course into 2.3.4+ from 1.9.3+ and is getting the following error:

[31-Jan-2013 19:18:31 UTC] Default exception handler: error/file_invalid_path Debug:
Error code: file_invalid_path
$a contents: C:\moodledata/temp/backup/00749b9d6a214b58ad86ff7f052a0e73/course_files\filename.docx
* line 1215 of \backup\converter\moodle1\lib.php: moodle1_convert_exception thrown
* line 1302 of \backup\converter\moodle1\lib.php: call to moodle1_file_manager->migrate_file()
* line 578 of \backup\converter\moodle1\handlerlib.php: call to moodle1_file_manager->migrate_directory()
* line 566 of \backup\converter\moodle1\handlerlib.php: call to moodle1_files_handler->migrate_course_files()
* line 312 of \backup\converter\moodle1\handlerlib.php: call to moodle1_files_handler->process()
* line 371 of \backup\converter\moodle1\lib.php: call to moodle1_root_handler->on_root_element_start()
* line 756 of \backup\converter\moodle1\lib.php: call to moodle1_converter->path_start_reached()
* line 228 of \backup\util\xml\parser\processors\simplified_parser_processor.class.php: call to moodle1_parser_processor->notify_path_start()
* line 102 of \backup\util\xml\parser\processors\simplified_parser_processor.class.php: call to simplified_parser_processor->process_pending_startend_notifications()
* line 92 of \backup\util\xml\parser\processors\progressive_parser_processor.class.php: call to simplified_parser_processor->process_chunk()
* line 169 of \backup\util\xml\parser\progressive_parser.class.php: call to progressive_parser_processor->receive_chunk()
* line 212 of \backup\util\xml\parser\progressive_parser.class.php: call to progressive_parser->publish()
* line ? of unknownfile: call to progressive_parser->start_tag()
* line 158 of \backup\util\xml\parser\progressive_parser.class.php: call to xml_parse()
* line 137 of \backup\util\xml\parser\progressive_parser.class.php: call to progressive_parser->parse()
* line 150 of \backup\converter\moodle1\lib.php: call to progressive_parser->process()
* line 129 of \backup\converter\convertlib.php: call to moodle1_converter->execute()
* line 209 of \backup\util\helper\convert_helper.class.php: call to base_converter->convert()
* line 421 of \backup\controller\restore_controller.class.php: call to convert_helper::to_moodle2_format()
* line 35 of \backup\restore.php: call to restore_controller->convert()

[31-Jan-2013 19:18:32 UTC] Potential coding error - existing temptables found when disposing database. Must be dropped!

 

The admin said that this worked all the way up through 2.3.2+. Any thoughts? Is this even possible still?

Average of ratings: -
In reply to Brad Meyer

Re: Restore error when import old course from 1.9.3+

by HJWUCGA INC. -

Hello Brad,

Why not try this... if works to import into 2.3.2+, then I would import it into an instance of this version. After a successful import, back up the file and use this backup file to restore into 2.3.4+.

Let us know how it went.