Upgrade Level Up XP
Upgrade XP by itself, or upgrade XP and XP+ together when both are installed.
Before you upgrade
Read the upgrade notes for any extra steps and the release notes for details about each version.
Get the updates
| Plugin | Code name | How to obtain |
|---|---|---|
| XP (required) | block_xp | Download the ZIP file from the Level Up website, CAMP, or the Moodle plugins directory. You can also use the Git method below. |
| XP+ (if installed) | local_xp | Download local_xp.zip from your licence download link. If you lost the link, use the licence recovery tool. Your licence determines which versions you can download. |
If you use XP+, obtain updates for both plugins before you start. XP and XP+ must have the same major version. Do not continue the Moodle upgrade until you update the files for both plugins.
Upgrade
Choose the method that you use to manage the plugin files.
- ZIP upload
- Server files
- Git
This method is not available on all Moodle sites. Its availability depends on the site configuration and hosting provider.
- Sign in to your Moodle site and open Site administration > Plugins > Install plugins.
- Upload the XP ZIP file.
- If XP+ is installed, return to Site administration > Plugins > Install plugins and upload
local_xp.zip. - Follow the Moodle upgrade process.
- Replace
[public]/blocks/xpwith the contents of the XP ZIP file. - If XP+ is installed, replace
[public]/local/xpwith the contents oflocal_xp.zip. - Confirm that each plugin folder contains a
version.phpfile. - Open Site administration > Notifications and follow the Moodle upgrade process.
This method upgrades XP only.
- From the Moodle root directory, go to
[public]/blocks/xporblocks/xp. - Fetch the release tags from the official XP repository.
- Check out the latest release tag.
- If XP+ is installed, replace
[public]/local/xpwith the contents oflocal_xp.zip. - Open Site administration > Notifications and follow the Moodle upgrade process.
The following commands fetch the release tags from the official repository and check out the latest tag.
cd public/blocks/xp 2>/dev/null || cd blocks/xp || exit 1
git fetch --tags
git checkout "$(git tag --list 'v*' --sort=-v:refname | head -n 1)"
After the upgrade, open Site administration > Plugins > Plugins overview and confirm the installed versions.