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

Restoring from Canvas imscc, browser is referencing pictures to $IMS_CC_FILEBASE

$
0
0
by marcel montel.  

I have exported my courses from Canvas V13 and imported them into MOODLE_29_STABLE.

The course is imported OK, but all the pictures are referenced to in the browser as e.g <moodle url>/mod/page/%24IMS_CC_FILEBASE%24/term3.png 404 (Not Found)

I had a peek inside the imscc export and all files are exported inside a folder named web_resources.

Now if i search for a term3.png it shows up here:
/var/moodledata/temp/backup/319c274489687642e3261e992cfd3037/web_resources/term3.png

I read some post on this , and it looks like the common cartridge specification expects IMS-CC-FILEBASE not IMS_CC_FILEBASE, (https://git.psu.edu/oit-web-systems/psu-canvas-lms/commit/d1b508676bf2713cdb09bed7145899728b102ac7
) so i tried to sed replace all IMS_CC_FILEBASE with IMS-CC-FILEBASE, pack it up again and restore it, but to no avail, it now just references the files to img src=%24IMS-CC-FILEBASE%24/term2.png" alt="term2.png" instead...


Please help!

BR
Marcel

 


Viewing all articles
Browse latest Browse all 6587

Trending Articles



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