Moodle 3.6 is Available — Here’s How to Install / Upgrade on Ubuntu 16.04 / 18.04 / 18.10

Moodle, an open source course manage system (CMS) has been updated to version 3.6, and this brief tutorial is going to show students and new users how to install or upgrade on Ubuntu 16.04 / 18.04 LTS servers…

This release brings some major features that includes, enhanced course overview and new dashboard blocks, Nextcloud integration, Support for Open Badges version 2 specification and many more….

Moodle version 3.6 also comes with new Messaging interface, with options to control who can message you and a really exciting new, work-in-progress setting, Context freezing, allowing you to make courses, course content and other areas of Moodle ‘read only’…

For more about this release, please check its release notes..;
Below are some highlights of some of the features and fixes introduced with this version:

  • Performance improvements to cache flags
  • New messaging UI with messaging drawer
  • Grace period when displaying “In progress” courses in course overview block
  • Data deletion of existing deleted users
  • Privacy setting for restricting who can message you
  • Notifications not sent for group conversations

If you want to install Moodle on Ubuntu with either Apache2 or Nginx support, two post below should help you… They show you how to install Moodle on Ubuntu using Apache2 or Nginx…

Installing Moodle with Apache2 Support

If you want to install Moodle with Apache2 support, the post below should be a great place to start… It shows you how to install Apache2, MariaDB and PHP…

Install / Upgrade Moodle Latest from Github on Ubuntu 16.04 / 18.04 LTS with Apache2, MariaDB, PHP 7.2 Support

Installing Moodle with Nginx HTTP Support

For those who want to install Moodle with Nginx HTTP support, the post below should help… It shows you how to intall Nginx with PHP-FPM support…

Setup / Upgrade Moodle Latest from Github on Ubuntu 16.04 / 18.04 with Nginx, MariaDB and PHP 7.2-FPM Support

The two post above show you how to install Moodle… If you already have Moodle install and you wish to upgrade, then read the steps below:

Upgrading Moodle

For students and new users who already have Moodle installed and wish to upgrade, assuming that you followed the steps above to install, run the commands below to backup your old Moodle folder…

sudo mv /var/www/html/moodle /var/www/html/moodle_bak

Then download the latest copy of Moodle and move it in the webserver root directory…

cd /tmp && wget https://download.moodle.org/download.php/direct/stable35/moodle-latest-35.tgz
tar -zxvf moodle-latest-35.tgz
sudo mv moodle /var/www/html/moodle

Next, copy Moodle config file, theme and data folder… If you updated your themes… a theme content should be there…. If you also installed additional modules… you should find them in the /mod directory… copy them to the new Moodle folder….

sudo cp /var/www/html/moodle_bak/config.php /var/www/html/moodle
sudo cp -pr /var/www/html/moodle_bak/theme/mytheme /var/www/html/moodle/theme/mytheme
sudo cp -pr /var/www/html/moodle_bak/mod/mymod /var/www/html/moodle/mod/mymod

After that, update the web server permissions…

sudo chown -R www-data:www-data /var/www/html/moodle/
sudo chmod -R 755 /var/www/html/moodle/

Restart your web server…

The last step is to trigger the upgrade processes within Moodle….. If you put your site into Maintenance mode earlier; take it out now!

Once you browse to the server IP or hostname, Moodle should prompt you to begin upgrading your database… After upgrading the database, logon to Moodle and go to:

Administration > Site administration > Notifications.

Moodle will automatically detect the new version and perform all the SQL database or file system upgrades that are necessary. If there is anything it can’t do itself (very rare) then you will see messages telling you what you need to do.

Assuming all goes well (no error messages) then you can start using your new version of Moodle and enjoy the new features!

Moodle Upgrade ubuntu

That’s it!

You may also like the post below:

Install Refinery CMS (Ruby On Rails) on Ubuntu 16.04 / 18.04 / 18.10

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.