Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6586

course restore fails with Error code: file_invalid_path

$
0
0
by Heather P.  

Moodle version 2.4.1 accepted the course restore from Moodle 1.9.11 with no problems.

A fresh install of Moodle 2.4.2 gave me the error as stated in the subject line. Following the hunt round Moodle.org I've upgraded it to a Moodle 2.4.3 and tried again. Same course as worked in 2.4.1

I've purged the cache to ensure I don't have debris hanging about, but I'm still getting :-

Debug info:
Error code: file_invalid_path
$a contents: [tempdir]/backup/f48b6874e86e21e97bd7f12397372b77/course_files/bksb_live\Bksb_Live_initial_assessment.docx
Stack trace:
line 1216 of \backup\converter\moodle1\lib.php: moodle1_convert_exception thrown
line 1309 of \backup\converter\moodle1\lib.php: call to moodle1_file_manager->migrate_file()
line 1319 of \backup\converter\moodle1\lib.php: call to moodle1_file_manager->migrate_directory()
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 757 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()

This makes me think something else has changed between 2.4.1 and 2.4.3

I'm using Windows 2008 R2 with MySQLIIS 7.5 and free TDS.

Any ideas what I need to do to make it work or is it actually a Moodle code issue?

Thanks

Heather

 

P.S. It looks like this issue in the Moodle Tracker

https://tracker.moodle.org/browse/MDL-37879

Except that I didn't have it in a Moodle 2.4.1 but I do in a Moodle 2.4.3


Viewing all articles
Browse latest Browse all 6586

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>