How to upgrade from 3.8 to 3.11

Keywords: Moodle - Microsoft Azure - How to - Upgrade
Description:
We are currently hosting Moodle™ LMS for Microsoft Azure Multi-Tier Solutions in version 3.8 and would like to upgrade to latest 3.11. When i run the environment check, it shows the below:
mariadb (5.5.5-10.1.43-MariaDB)
version 10.2.29 is required and you are running 10.1.43

Is there any guide to upgrade MariaDB version?

Thank you.

Hi @senghong.voon,

Bitnami stacks are configured to work out of the box, with all components preconfigured. Unfortunately upgrading individual components is not supported. We recommend launching a new Bitnami Moodle instance, which always use the latest most secure components, and then migrate your data to the new instance.

https://docs.bitnami.com/azure/how-to/migrate-moodle/

Regards,
Michiel

Hi Michiel,

By launching a new Bitnami Moodle instance, do you mean i need to deploy the new Bitnami Multitier VM from Azure portal?

Regards,
Voon

Hi @senghong.voon,

Yes, sorry, that’s what I meant.

Regards,
Michiel

Hi Michiel,

The new instance moodle default is in 3.11 version?

So the steps will be:

  1. Backup existing 3.8 moodle database and folder - /bitnami/moodledata
  2. Launch new Azure Bitnami Instance.
  3. Restore the database backup and move the moodledata folder to the new instance.
  4. Upgrade database.

Did i miss out any steps? Please correct me if I am wrong.

Regards,
Voon

Hi Michiel,

Also, can you teach me how to access the phpmyadmin to export the database?

i tried followed the link- https://docs.bitnami.com/azure/apps/moodle/get-started/access-phpmyadmin/, but it prompt me error-
image

Thanks.

Regards,
Voon

Hi @senghong.voon,

The final step is not necessary. If you launch the latest Bitnami Moodle MT solution, it will use the latest version of each component, so the database will already use the latest version.

Did you follow all the steps described in the guide? Are you using Windows or MacOS / Linux to set up the SSH tunnel?

Regards,
Michiel

Hi Michiel,

I am using Windows and Putty to setup the SSH tunnel. However, i deployed the Bitnami server using password instead of SSH public key. I am able to connect SSH using username and password, but not phpmyadmin. Do you have any alternative way that i can access phpmyadmin?

Regards,
Voon

Hi @senghong.voon,

For security reasons, phpMyAdmin is only accessible using the 127.0.0.1 hostname, so you need to use an SSH tunnel. I recommend setting up SSH access using a public key first:

https://docs.bitnami.com/azure/faq/get-started/connect-ssh/

Regards,
Michiel

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.