You're looking at an older version of Totara.

Please see Totara 14 help for the latest version.

On this page

Search

Prerequisites

Before upgrading to Totara, please ensure that your server meets the minimum requirements described in the Server system requirements.

Migrating from Moodle 3.4.9 to Totara 13

  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 (Site administration > Reports > Live Logs).
  2. Enable maintenance mode in Moodle (Site administration > Server > Maintenance Mode).
  3. Back up the Moodle database.
  4. Back up the moodledata directory.
  5. Back up the Moodle source code directory.
  6. Replace or merge the Moodle code.

    • If your Moodle site is not customised you can replace your Moodle code folder with the new Totara code folder and copy your old config.php file to the new folder. Do not copy the new code on top of the existing code folder.

    • If you have customised Moodle you will need to merge your existing Moodle source code and new Totara code. This is best accomplished using a version control tool like GIT or SVN. You will need to:
      • Reuse the existing Moodle's config.php file
      • Ensure any themes are updated to work with Totara
      • Include any existing modules and filters remain in the code
      • Resolve any merge conflicts caused by existing local customisations

  7. Navigate to admin/index.php using a web browser and perform the install process.
  8. Click Yes on the Upgrade page.
  9. Confirm the server status checks.
  10. Confirm the plugin status checks.
  11. Proceed with the initial database upgrades.
  12. Edit the New Admin Settings page if required.
  13. Continue the database upgrades.
  14. Check for warnings or errors on the upgrade review page.
  15. Edit the New Site Settings page if required.
  16. Test the site functionality. The site should now be displayed with the Totara logos and theme.
  17. Disable server maintenance mode.
  18. Congratulations, your site is now running Totara.

Migrating from Moodle 3.5, 3.6, 3.7, and 3.8

It is also possible to migrate from Moodle 3.5, 3.6, 3.7 and 3.8 to Totara 13 using a CLI-only process, using a pre-migration script to transform the database to the Moodle 3.4.9 format. The requirements for this process are as follows:

  • Moodle 3.4.9 (build: 20190513)
  • Oracle database is not supported
  • MSSQL only: Database user requires additional permissions: ALTER SETTINGS(SERVER), and full text search must be enabled
  • All other requirements listed in INSTALL.txt

You can find additional information in the MOODLEUPGRADE.txt file, which is included in the Totara 13 release.

Follow these steps to complete the migration:

  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 (Site administration > Reports > Live Logs).
  2. Enable maintenance mode in Moodle (Site administration > Server > Maintenance Mode).
  3. Back up the Moodle database.
  4. Back up the moodledata directory.
  5. Back up the Moodle source code directory.
  6. Verify that the full site backup can be restored on another server. We recommend to test the migration on a restored copy of the server first to see if you encounter any issues.
  7. If your Moodle version is below 3.4.9 then you must first upgrade to the 3.4.9 Moodle release before migrating to Totara.
  8. Make a list of all add-ons and customisations used on your site and confirm that they are compatible with Totara.
  9. Replace the Moodle source code with the latest Totara 13 source code, and only keep the original config.php file. Do not apply any customisations or add-ons yet.

  10. If your Moodle version is above 3.4.9 then ensure that Moodle is upgraded to one of the releases supported by the pre-migration script above.
  11. If necessary execute the pre-migration script admin/tool/premigration/cli/util.php from command line to transform the database to the Moodle 3.4.9 format.
  12. Perform a standard upgrade via command line or web interface.
  13. Re-enable external web access.
  14. Apply your local customisations and add in any required plugins, ensuring they are compatible with Totara as you go.
  15. Test your site's functionality to ensure that it works as expected.
  16. Disable server maintenance mode.
  17. Congratulations, your site is now running Totara.

Transforming the Moodle database

The process for migrating from newer versions of Moodle (higher than 3.4.9) to Totara requires you to execute a pre-migration step to transform the database to the Moodle 3.4.9 format.

The list of supported releases is updated regularly, and the following releases are currently supported in the pre-migration script:

  • Moodle 3.5.13 (Build: 20200713)

  • Moodle 3.5.14 (Build: 20200914)

  • Moodle 3.6.10 (Build: 20200511)

  • Moodle 3.7.7 (Build: 20200713)

  • Moodle 3.7.8 (Build: 20200914)

  • Moodle 3.8.4 (Build: 20200713)

  • Moodle 3.8.5 (Build: 20200914)

  • Moodle 3.9.1 (Build: 20200713)

  • Moodle 3.9.2 (Build: 20200914)

Migrating from older versions of Moodle

There are two paths for migrating from older versions of Moodle to Totara.

You must either upgrade to Moodle 3.4 and then to Totara 13

OR

Migrate from the version of Moodle you are running to the noted version of Totara, and then upgrade to Totara 13.

  • Migrate from Moodle 3.0 to Totara 9 then upgrade to Totara 13
  • Migrate from Moodle 3.2 to Totara 10 then upgrade to Totara 13
  • Migrate from Moodle 3.3 to Totara 12 then upgrade to Totara 13

Provide feedback about this page using the link in the bottom right of this page. 

 Still have questions? 

Why not post them in the forums on the Totara Community?



  • No labels