• Support
  • sudo apt-get update doesn't update to 4.1.0

Thanks for the upgrade ...

On checking after upgrading moodle and the moodlebox plugin are updated

However, the Kernel version is still 5.10.63-v71 armV71 and Moodle box version is still 4.0.0 - when I startup the moodlebox I can see that in fact it is 4.0.0.

The package that sudo apt-get update brings back is brcm080211

SUMMARY OF QUESTION
Is brcm080211 the latest as I figure I am grabbing the 4.0.0 package even though I am using
sudo apt-get update && sudo apt-get dist-upgrade ?

I'm afraid I don't understand what you exactly did. Please elaborate, with exact steps.

sudo apt-get update && sudo apt-get dist-upgrade -y applies package brcm080211 and the moodlebox update process does not update to 4.1.0 ...

the server is still, after the update, 4.0.0

Nicolas changed the title to sudo apt-get update doesn't update to 4.1.0 .

This is expected: MoodleBox is a complex combination of several different technologies, and it's very difficult to develop an automatic upgrade. Your command just updated the OS of the MoodleBox, nothing more.

Have a look at this discussion, that elaborate the how and why of this situation: https://discuss.moodlebox.net/d/18-upgrade-moodlebox.

I have updated moodle and the plugin no problem. I have run sudo apt-get update && sudo apt-get dist-upgrade -y
as well ok.
I just expected the moodlebox to move to 4.1.0.

If I installed from the 4.1.0 latest moodlebox download I imagine it would be 4.1.0

I suppose the question is ... am I on 4.10 or 4.0?

    jamesB If I installed from the 4.1.0 latest moodlebox download I imagine it would be 4.1.0

    Exact. The version number remains that of the original image. This is deliberate, so as to be able to provide better support, knowing exactly the environment.

    jamesB I suppose the question is ... am I on 4.10 or 4.0?

    You're on a MoodleBox 4.0.0, with an up-to-date OS and Moodle. ✨ 🍾

      Thanks so much for your direction - again, very much appreciate it.

      10 days later

      Hi jamesB,

      you are writing that you want to bring your MoodleBox 4.0.0 to 4.1.0. This would be a Moodle migration from one server to another server. Such a Moodle migration is shown in the documentation https://docs.moodle.org/311/en/Moodle_migration

      I wrote about this migration here in this forum on https://discuss.moodlebox.net/d/253-upgrade-to-moodlebox-3110-from-390/4 and the following entries.

      Yes, with every new MoodleBox release I migrate my complete Moodle with 50 users, 8 courses, 58 additional plugins, and a lot of content for my teachers workshops. And it works fine. :-)

      Best regards,
      Ralf

      Ralf Krause
      moodleSCHULE e.V.

      8 months later

      Hi Nicolas
      I have one question to better understand the update process. If I'm trying to update moodlebox from 4.3.0 to 4.4.0 & go through the update process, if I understand this correctly, the version number of moodlebox in the admin will still say 4.3.0, but will I have all the updates of 4.4.0. Such as the following for 4.4.0?

      • A new version of the MoodleBox plugin for Moodle, which provides an improved display of the shutdown and restart buttons at the bottom of the page.
      • Moodle version 4.0.2+ is installed.
      • A fix for the automatic login in console mode, a bug in Raspberry Pi OS.
      • Various improvements and corrections to the image building process.

      Thanks

      Short answer: it depends on what you update.

      Precisely, as explained by @Ratna, one can see MoodleBox as a multiple layers system.

      • Layer 1: the OS (RPi OS, based on Debian), which can be updated by the procedure documented here. This won't touch anything in Moodle, nor the MoodleBox plugin.
      • Layer 2: Linux software installed and configured for the MoodleBox features. Examples are: wireless chip firmware, hostapd, dnsmasq, php, mariadb, etc. This is the complex part and there's at the moment no way to update this layer automatically (I didn't find yet a good way to implement this, nor the time to do it; see this issue for more info about the feature).
      • Layer 3: the Moodle instance, which can be updated by the procedure documented here. This won't touch the MoodleBox plugin.
      • Layer 4: the MoodleBox plugin, which can be updated like any Moodle plugin within the Moodle interface.

      Anyway, the MoodleBox version number will indeed remained unchanged. This is intended, as a way to keep an info about the image on which the actual MoodleBox runs, independently from the various changes made.