背景

Moodle 3.0以上版本才可以使用Moodle App，不然只能使用Moodle classic

升级过程

Upgrade Moodle following these steps:

Move your current Moodle files:

Only use sudo if the stack was installed as root.
Replace the installdir placeholder with the full installation directory for your Bitnami stack.sudo mv installdir/apps/moodle/htdocs/ installdir/apps/moodle/htdocs.backup
Download the new Moodle version. An example is shown below (the XX placeholder in the command refers to the Moodle version number).

wget http://download.moodle.org/download.php/direct/stableXX/moodle-latest-XX.tgz
Create a new folder and uncompress the files:

Only use sudo if the stack was installed as root.
Replace the installdir placeholder with the full installation directory for your Bitnami stack.sudo mkdir installdir/apps/moodle/htdocs/sudo tar -xzvf moodle-latest-XX.tgz -C installdir/apps/moodle/htdocs/ --strip 1
Copy your previous configuration file and your modules or themes:

Only use sudo if the stack was installed as root.
Replace the installdir placeholder with the full installation directory for your Bitnami stack.sudo cp -a installdir/apps/moodle/htdocs.backup/config.php installdir/apps/moodle/htdocs/sudo cp -a installdir/apps/moodle/htdocs.backup/theme/MY_THEME nstalldir/apps/moodle/htdocs/theme/sudo cp -a installdir/apps/moodle/htdocs.backup/mod/MY_MOD installdir/apps/moodle/htdocs/mod/
NOTE: Replace the MY_THEME and MY_MOD placeholders with the directory or path names for your downloaded and installed themes and modules (these are different from the ones shipped by Bitnami).
Configure file permissions as follows:

IMPORTANT: To change permissions file, in case you have installed the solution as root, use MYUSER:daemon as system user and group, respectively. Otherwise, simply use MYUSER:MYUSER.
Only use sudo if the stack was installed as root.
Replace the installdir placeholder with the full installation directory for your Bitnami stack.
sudo chown bitnami:daemon -R installdir/apps/moodle/htdocs/
sudo find installdir/apps/moodle/htdocs/ -type f -exec chmod 664 {} \;
sudo find installdir/apps/moodle/htdocs/ -type d -exec chmod 775 {} \;
Navigate to the application from a browser and follow the steps to upgrade the database to the latest version.