UPGRADING A TOTARA SITE
=======================

These instructions detail the process for upgrading a Totara site to the latest
point release version. For upgrading a Moodle site see MOODLEUPGRADE.txt.

New requirements:

* PHP 5.6.5 or later, always use the latest release on Windows
* MS SQL Server 2014 or greater
* MariaDB 10.2.6 or greater
* MySQL 5.7.11 or greater
* intl PHP extension

NOTE: To upgrade you must be on Totara 9.0 or later.

For more information see http://docs.moodle.org/en/Upgrading

1.  Check the live logs to check if any users are currently using the site.
    The site will be offline while the upgrades are performed.
    Reports -> Live Logs

2.  Enable maintenance mode in Totara.
    Server -> Maintenance Mode

3.  Backup the Totara database.

4.  Backup the site data directory.

5.  Backup the Totara source code directory.

6.  Remove the old source code, and extract the new source code into the source code directory.
    Note: Do not copy the new code on top of the existing code folder.

7.  Navigate to the admin/index.php page. The upgrade process will
    automatically start.

8. Check for Warnings or Errors on the upgrade review page.

9. Edit new settings page if required.

10. Disable server maintenance mode.

11. Congratulations, your site is now upgraded. Read CHANGELOG.php for details on what is new.

