Bitnami Helm Chart with Moodle failing to successfully deploy web server
search cancel

Bitnami Helm Chart with Moodle failing to successfully deploy web server

book

Article ID: 449729

calendar_today

Updated On:

Products

Bitnami Premium (Bitnami Secure Images)

Issue/Introduction

When installing Bitnami Helm Chart with Moodle and MariaDB web server fails to deploy. Helm Chart will show like it deploys successfully, but web server is unreachable responding with 500 errors.

Environment

Environment with:

Bitnami Helm Chart Moodle 33.2.5

Moodle 5.1,5.2

Cause

Moodle introduced a directory structure from version 5.0 to versions 5.1 and 5.2. This change may be causing compatibility issues with Bitnami Helm Chart Moodle 33.2.5.

If Bitnami Debug is turned on you can find errors like:

!!! detected incorrect $CFG->wwwroot in config.php, it must not contain trailing slash. !!!

 

Note: to enable Bitnami Debug with Helm use the following:

helm upgrade <RELEASE_NAME> bitnami/<CHART_NAME> --set diagnosticMode.enabled=true --set extraEnvVars[0].name=BITNAMI_DEBUG,extraEnvVars[0].value="true"

Resolution

Confirm the versions of Moodle and MariaDB being used. Verify if there are newer versions of these two dependencies available.

Upgrade Moodle and MariaDB to the latest versions and try installing / upgrading Bitnami Helm Chart again.