• Support
  • Migrate to new Moodle version with Multiple files

Hi.
I currently have The following version for a number of moodleboxes:
MoodleBox plugin version: 2.4.2 (2019100700)
MoodleBox version: 3.5.1 (2019-11-30)
Kernel version: Linux 4.19.75-v7I+ armv7I

I have them running on a pi 4B that was purchased a couple years ago. For some reason, this same image will not work on a new pi 4B purchased recently. They are both pi 4Bs. The current image for moodblebox (4.3.0) works fine on both pi's. So we need to purchase a number of new pi's for the project, but now our existing image doesn't work with new pis. So we were planning to export the courses & import to a new image. So one question. In addition to the courses, We have several hundred files uploaded to the image that we would like to copy over as well, without having to upload them one by one. Do you know if this is possible? Or would it be better to try to update the image manually?
Thanks

  • Ian and Ratna replied to this.
  • doxendine The Pi4 boards being manufactured now are hardware revision 1.5. This hardware revision requires updated OS boot files, and this affects customized or older images like the one you may be using.

    Here is a link that describes the two file sets in the card image that must be updated: https://forums.raspberrypi.com/viewtopic.php?f=28&t=315742#p1890907. The post is from July 19, 2021, and lists start.elf and fixup.dat as the two sets to update.

    This is very useful. Thanks a lot.

    doxendine It is strange that the same MoodleBox, v3.5.1 (30 Nov 2019), should run on only old RPi 4 B but not on a current 4 B. What exactly is the difference. Does the SD card refuse to boot? Or does it boot and throws an error message on the console? If so, what is the message? (Connect a monitor to the RPi.)

    I notice that 3.5.1 is still Rasbpbian and from 3.6 it is the RaspberryPi OS. I wouldn't know what difference that should make.

    Anyway, to continue with a site in that old MoodleBox on a new RPi 4 B, the safest is to make a fresh (4.3.0) MoodleBox and migrate the Moodle site from the old MoodleBox to the new one. That is exactly what the link Ian posted does, specific to MoodleBox. The original documentation generic to Moodle is https://docs.moodle.org/en/Moodle_migration.

    Yes, course-wise https://docs.moodle.org/en/Course_backup and https://docs.moodle.org/en/Course_restore is an alternative, but it is not exactly the same.

    About copying the files, haven't we discussed it and you've found a solution https://discuss.moodlebox.net/d/318-share-multiple-files-at-once ?

    Thank you. I forgot that exporting a course will also copy all the files. As for the difference in the boards, below is the response from one of the Pi distributors. But both pis work now that we updated everything.

    The Pi4 boards being manufactured now are hardware revision 1.5. This hardware revision requires updated OS boot files, and this affects customized or older images like the one you may be using.

    Here is a link that describes the two file sets in the card image that must be updated: https://forums.raspberrypi.com/viewtopic.php?f=28&t=315742#p1890907. The post is from July 19, 2021, and lists start.elf and fixup.dat as the two sets to update.

      doxendine The Pi4 boards being manufactured now are hardware revision 1.5. This hardware revision requires updated OS boot files, and this affects customized or older images like the one you may be using.

      Here is a link that describes the two file sets in the card image that must be updated: https://forums.raspberrypi.com/viewtopic.php?f=28&t=315742#p1890907. The post is from July 19, 2021, and lists start.elf and fixup.dat as the two sets to update.

      This is very useful. Thanks a lot.