Why Moodle plugin compatibility decides the upgrade date
Each additional plugin on a Moodle site must be checked against the target release before the upgrade is scheduled. Core upgrades can go smoothly while a single unmaintained block, theme or local plugin stops the work, so the plugin inventory often sets the date more than the core version does. Start by listing every plugin installed beyond core, along with its version, maintainer and the Moodle versions it declares support for, and treat that list as the input to the schedule rather than a formality to finish afterwards.
The supported path is fixed by core requirements. Moodle 5.1 requires sites to be on Moodle 4.2.3 or later before upgrading, and Moodle 5.3 requires 4.4 or later, so a site still on an earlier 4.x release needs intermediate steps, and each step can invalidate plugin choices made for the previous one. Moodle ships major releases in April and October, which gives a planning rhythm: a plugin that needs a vendor update or a replacement may take longer to resolve than the time between two releases. Confirm the target release and its starting-point rule in the Moodle releases page before setting dates.
This does not mean any published plugin list applies to your site. The plugins directory shows what each maintainer declares for each version, and that declaration is the starting evidence, but it does not test your combination of plugins, your custom code or your configuration. For example, an authentication plugin such as the SAML2 Single sign on plugin lists its supported Moodle range in the directory, yet your identity provider settings still need a login test on the target version. Ask each plugin owner, or your internal developer, to confirm compatibility in writing for the exact release you plan to reach.
Which Moodle release changes affect plugins
This table compares the Moodle 5.1 and 5.3 changes that affect installed plugins, themes and authentication, and states what each one requires you to do. Read each row as a check to run against your own plugin inventory before choosing a target release. The main takeaway is that the document root move and the Classic theme removal can break plugins and custom themes even when the plugin code itself is unchanged.
| Release change | Impact on plugins and themes | Action needed before upgrade |
|---|---|---|
| Web server document root moves to /public (Moodle 5.1) | Sites that point the document root at the main Moodle folder may show directory listings or errors. Plugins installed before 5.1 may sit outside the layout the new routing expects. | Change the document root to /public, then confirm every earlier-installed plugin still loads on a test copy. |
| PHP 8.2 minimum, with 8.3 and 8.4 supported (Moodle 5.1) | Plugins that depend on older PHP functions or extensions can fail at load time even when Moodle itself starts. | Run each plugin's code and its listed Moodle version against the target PHP version in a test environment. |
| Database minimums: PostgreSQL 15, MySQL 8.4, MariaDB 10.11 or SQL Server 2017 (Moodle 5.1) | Plugins that run custom SQL or schema changes may use syntax or features that differ between database versions. | Review any plugin with custom database queries and confirm it has been tested on the target database version. |
| Classic theme removed from core (Moodle 5.3) | Any custom theme or child theme built on Classic stops working. Plugins that add blocks or templates to Classic-specific layouts may also fail. | Identify every theme and category or course that uses Classic, then plan the move to a Boost-based theme and test navigation and blocks. |
| PHP 8.3 minimum, with 8.4 supported, and PostgreSQL 17 (Moodle 5.3) | Plugins that were last tested on older PHP or PostgreSQL versions may not have been validated on these minimums. | Check each plugin's supported Moodle versions in the plugins directory and confirm a current release exists for 5.3. |
| Core authentication plugins remain available | Manual accounts, email self-registration, external database, LDAP, LTI, OAuth 2, Shibboleth and web services stay in core. Community plugins that wrap other sign-in methods must be checked separately. | Map each login method in use to a core option or to a community plugin with a listed version for the target release, such as auth_saml2 for SAML 2.0. |
| Community plugin version listing | The plugins directory shows which Moodle versions each plugin supports and who maintains it. For example, the SAML2 Single sign on plugin lists support for Moodle 2.7 through 5.1. | Confirm the target Moodle release appears in the listing. A plugin that stops at 5.1 needs an update, a replacement or retirement before a 5.3 move. |
How to audit each plugin against the target release
Start by building a complete inventory of every additional plugin on the site, not only the ones your team remembers installing. Export the list from the site's plugin overview in the administration area, then add any plugin that sits outside the standard plugin types, such as local plugins, custom themes and anything copied in by hand. For each entry, record the plugin's maintainer, the Moodle versions it lists in the plugins directory, its date of last update, the version currently installed, and whether the same function now exists in Moodle core. Core now covers some functions that used to need a plugin, so check the release notes for your target version before assuming a plugin is still required. Keep the inventory in a spreadsheet or repository file so each later step can reference the same row.
Treat a plugin that lists your target version differently from one that merely installs. A plugin can install cleanly on a newer release and still contain code that calls functions which changed, so a successful install proves very little. Look for an explicit listing of the target release in the plugins directory entry, and then check the plugin's own release notes or issue tracker for known problems. As a worked example, the SAML2 Single sign on plugin (auth_saml2), maintained by Catalyst IT, lists support for Moodle 2.7 through 5.1 in the Moodle plugins directory. That listing does not show support for a later release, so you must confirm the listing for your own target before you rely on it. Where the listing is missing, ask the maintainer in writing for a supported version and a test result, and record their answer in the inventory.
Assign each plugin one of three verdicts: replace, update or retire. Replace where the plugin has no listing for the target and a maintained alternative or core feature covers its function. Update where the plugin lists the target and the maintainer has released a matching version. Retire where the function is no longer needed or where the plugin is abandoned and has no replacement. Custom code written in-house needs its own check against the target's APIs, and the verdict should name the person who will test it. Record the verdict, the owner and the test that proves it in the same inventory row, because the upgrade test plan in a later step will rely on those entries.
Four plugin risks that block an upgrade
Most plugin failures during a Moodle upgrade come from four sources: versions that no longer match the target release, maintainers who stopped working on the code, functions that moved out of core, and local code that reaches into internal APIs. Each risk needs a different check and leaves different evidence, so record the findings for every plugin before choosing replace, update or retire.
Supported version gaps
A plugin must list support for the Moodle release you are moving to, not just the one you run today. Open the plugin's page in the plugins directory and compare its supported Moodle versions with your target, including any point releases you plan to skip past. Record the plugin version you have installed, the version the directory lists for your target, and the date you checked. If the target is missing, the plugin needs an update from its maintainer or a replacement before the upgrade window opens.
Plugins directory entry**Abandoned plugins** with no recent activity
A listed version can still be stale. Check the repository or release history for commits, tagged releases and issue responses over the period since the last Moodle release, and confirm the maintainer is still reachable. A plugin with no activity may install cleanly on the target version and then fail on the first task run or form submission. Record the last release date, the last commit date, the open issues related to the target version, and the name and contact of the maintainer.
Functions removed from core
Some plugins only existed to supply features that Moodle later removed from core, such as authentication plugins that left core. Compare each installed plugin against the release notes for every version between your current site and the target. Where a plugin's function was removed, record the replacement path, such as an additional plugin or a move to SAML or OAuth 2, and the users or courses it affects. Confirm the replacement can match existing accounts before you retire the old plugin.
Moodle 5.1 release notesLocal code using internal APIs
Custom local, block and activity plugins often call functions inside Moodle core that Moodle does not promise to keep stable. Search the code for calls to core classes, global functions and database tables that are not part of a documented API, and run the code against a staging copy of the target release. Record each internal call, the file that makes it, the owner who will fix it, and the test that proves the feature still works. Code with no owner should be retired or rewritten before the upgrade.
Choosing to replace, update or retire each plugin
Choose replace when Moodle core or a maintained plugin already covers the need that the current plugin serves. Replacement is usually the right answer for plugins that were removed from core, plugins whose maintainer no longer lists a version you can run, and plugins that duplicate a feature now shipped in core. A replacement is a new build with its own configuration, its own data mapping and its own tests, so it is rarely a quick swap. The decision should name the replacement, the data it will read or migrate, and the users who will notice the change.
- Core feature match: Confirm that the core feature handles the same workflow, not just a similar one, and list any gaps.
- Maintained alternative: Check the plugin's supported Moodle versions in the plugins directory and the date of its last release.
- Data mapping: Record how existing records, settings and user data will move to the replacement.
- Dependent content: Identify courses, templates or web service calls that reference the old plugin.
- Cutover plan: Note whether the old and new plugins can run side by side during testing.
Before approving a replacement, ask the business owner to confirm the new workflow in a test course and the platform team to confirm that the replacement's required server components are available.
Choose update when the plugin's maintainer lists the target Moodle version and the plugin's behavior still matches how your organization uses it. An update keeps configuration, data and course content in place, so it is usually the lowest-effort outcome. It is only safe when the listed version is genuinely the one you are upgrading to, and when the plugin's settings and output still meet the requirement. Read the release notes for the plugin version you will install, not only the most recent one.
- Listed version: Confirm the target Moodle version appears in the plugin's supported versions, not only in a changelog.
- Behavior check: Test the plugin's main workflow with real course data in a staging copy of the site.
- Dependency check: Confirm any external service, library or PHP extension it needs is available on the new stack.
- Settings review: Compare configuration before and after the update, since defaults can change between releases.
- Custom code: Flag any local overrides or patches that the update will overwrite or conflict with.
Before approving an update, ask the application owner to sign off on the test results and ask the platform team to confirm the upgrade order against the database and PHP minimums for the target release.
Choose retire when nobody uses the feature any more, or when the business process it supported has changed. Retirement is often the cheapest outcome, but it still needs a decision record, because learners, instructors or auditors may later ask why a function disappeared. Retiring a plugin also removes its database tables and settings in many cases, so data must be exported or archived before removal. Check usage before deciding rather than relying on memory of who used it.
- Usage evidence: Pull log and usage reports for the plugin's pages and web service calls over a representative period.
- Owner confirmation: Ask each course, department or program owner to confirm the feature is no longer needed.
- Data retention: Decide what must be exported or archived under your retention policy before the plugin is removed.
- User communication: Tell affected users which feature is removed and what replaces it, if anything.
- Removal steps: Record the uninstall order, the backups taken and the rollback path.
Before approving a retirement, ask the compliance lead to confirm the retention requirements and the data owner to confirm the archive location. Keep the usage evidence with the decision record.
Every plugin passes four checks before it gets a decision
The path starts with the inventory of every additional plugin and custom code folder on the site. Each item moves through a target-version support check in the plugins directory, then a core coverage check to see whether Moodle core already provides the function, then a custom code check. Each plugin ends in one decision: replace, update or retire. The decision is signed off, then tested in a non-production environment before anything changes on the live site. Nothing reaches production without passing that gate.
Each plugin moves through four checks, then one decision, sign-off and a test gate.
Running the plugin audit before the upgrade window
This sequence turns the plugin inventory into a tested, decided and recorded set of changes, so the production upgrade runs against plugins that are known to work on the target Moodle version. Each step ends with a check that tells you whether to move on or go back.
Freeze the plugin inventory
Record every additional plugin installed on the current site, including its plugin type, installed version, source, and any local changes or overrides. Pull the list from the site's plugins overview page and cross-check it against the plugin folders on disk and the database, since plugins can exist in one place and not the other. Store the inventory with the date and the current Moodle build number in version control or a shared document. The step is done when the list matches the files on the server and someone other than the author has checked it. Rollback: the inventory is read-only work, so nothing needs reverting, but keep the frozen copy so later changes can be compared against it.
Check each plugin against the target directory listing
For each plugin, open its entry in the Moodle plugins directory and note the supported Moodle versions, the maintainer, the last release, and any stated end of support. Mark each plugin as supported for the target release, supported only for an earlier release, abandoned, or replaced by a core feature. Check the target release's removal list too, since some plugin types and core features are removed in a given version. The step is done when every plugin has one of these statuses recorded against the target version. Rollback: nothing is changed at this stage, so no rollback is needed.
Build a staging copy on the target stack
Create a staging site from a recent backup of production, with the same plugins at their current versions. Run the upgrade on the PHP and database versions the target release requires, which the release notes list for each Moodle version. Confirm the staging web server routes to the correct document root, because some releases change the public directory. The step is done when the staging site starts on the target stack with no installation errors. Rollback: staging is disposable, so a failed build is rebuilt from the production backup without touching live users.
Test each plugin on staging and record results
Upgrade the staging copy and work through each plugin, checking that the upgrade completes without errors, that the admin settings page loads, and that the plugin's main function works with a test account and a test course. Check the Moodle logs and the server error log for warnings tied to the plugin. Record pass or fail, the error text, and the plugin version that passed. The step is done when every plugin has a recorded result on the target stack. Rollback: failed plugins are disabled in staging only, and the staging copy is restored from the backup for the next test run.
Decide replace, update or retire for each plugin
For each plugin that failed or lacks target support, choose one outcome: update to a version that supports the target release, replace it with a core feature or a different maintained plugin, or retire it and move its users or data to another route. Write the reason beside the decision, along with the owner who will carry it out. Escalate plugins with no clear replacement to the platform owner, since they may block the upgrade date. The step is done when every plugin has a signed-off decision. Rollback: decisions are documents, so changing one is a matter of revising the record and rerunning the test in staging.
Update or remove custom code
Apply the decided changes in a branch: upgrade plugin versions, remove retired plugins, and patch local overrides, custom themes, or local plugins that call functions changed in the target release. Keep each change small and tied to a plugin or decision so it can be reviewed and reverted on its own. Run the upgrade on staging again after the changes. The step is done when the code review is complete and the staging upgrade completes with no new errors. Rollback: revert the branch to the frozen version, then redeploy the staging copy from backup.
Retest the full site and record a rollback point
Run the full set of plugin tests from the earlier step on the updated staging site, plus a check of the main course, enrolment, and sign-in flows that the plugins touch. Take a full backup of the production database and data directory immediately before the production upgrade, and record the backup identifier, the Moodle build, and the plugin versions in the change record. The step is done when the retest passes and the backup has been verified by a test restore. Rollback: restore the verified backup and the frozen code version if the production upgrade fails, then rerun the checks on the restored site before reopening it to users.
Questions teams ask before auditing plugins
How much effort does a Moodle plugin audit take?
The effort depends mainly on how many additional plugins the site runs, how many of them carry custom code, and how well the current installation is documented. A site with a short list of well-maintained plugins can be audited quickly, while a site with years of local plugins, template overrides and forgotten experiments needs far more time to trace. Each plugin needs a check of its listing, its maintainer activity, its supported Moodle versions and whether its functions still exist in the target release. Ask any partner to break the quote into inventory, listing review, code review and decision records, so you can see which part drives the total. The cost is one-time for the audit itself, but the decisions it produces often lead to recurring work such as maintaining replacements.
Can our internal team run a plugin audit without a partner?
Yes, if the team has someone who can read Moodle code and who knows the business processes that depend on each plugin. The work is mostly systematic: list every installed plugin from the site administration plugins overview, record its version and source, check the plugins directory for supported Moodle versions, and look for signs of abandonment such as long gaps since the last release. The harder parts are custom code review and deciding whether a replacement really covers the business need. Teams without PHP and Moodle plugin experience usually need a developer for the code review step. Confirm who will own the decisions, since an audit that nobody signs off tends to leave the same risks in place.
What do business owners need to provide for the audit?
Business owners need to say which plugins their teams depend on, how often they use them, and what would stop working if a plugin disappeared. Engineers can find what is installed, but they cannot tell whether a rarely used report plugin supports an annual accreditation process or a payment flow. Ask owners for named contacts, the reports or workflows they rely on, and any deadlines tied to courses, assessments or external reporting. They also need to agree on the decision rule for each plugin: replace, update or retire. Without that agreement, the audit produces a list of findings rather than a plan. Plan for these conversations before the technical work starts, because they are often the slowest part.
What should we do when a plugin has no listing for the target version?
A missing listing for the target Moodle version is a signal to investigate, not an automatic reason to remove the plugin. First check whether the maintainer has published a newer release, whether the plugin has moved to a different repository, or whether the functionality now exists in Moodle core. Then review the plugin code for deprecated core APIs and for anything that depends on features removed in the target release. If the plugin is still needed and no maintained version exists, the options are to fork and maintain it internally, replace it with another plugin or a configuration change, or retire the feature. Each option carries a recurring maintenance cost, so record the reasoning in the decision log. The Moodle release notes for the target version are the right place to confirm what core now covers.
Which plugins are most likely to break during the upgrade?
Plugins that override core templates, hook into renderers, or call internal functions tend to break first because Moodle does not guarantee stability for those internals between major releases. Authentication and enrolment plugins also deserve early attention, because a broken login path stops everyone. Themes that extend older base themes need checking against the theme the target release supports. Plugins that were removed from core, or whose functions moved, need a replacement decision before the upgrade is scheduled. Test each high-risk plugin on a copy of the production database with the target PHP and database versions, since a plugin that installs cleanly can still fail in its settings pages or scheduled tasks.
Is a partner worth hiring for a Moodle plugin audit?
A partner is worth considering when the site has many plugins, carries custom code that nobody on the current team wrote, or has a fixed upgrade deadline that internal staff cannot meet alongside their normal work. The value is usually in a structured inventory, a consistent decision record for each plugin, and an independent review of custom code. DeployOpen plans, customizes, hardens, upgrades and documents self-hosted open-source platforms inside your own infrastructure, so an audit can feed directly into the upgrade plan. Most engagements are fixed-scope, so ask for the scope, deliverables and timeline in writing before work starts and compare them with a quote from your own team's estimate of the work.
What do we get at the end of a plugin audit?
A useful audit ends with a plugin register and a decision record for each item. The register lists every additional plugin with its type, installed version, source, maintainer, supported Moodle versions and owner. The decision record states whether the plugin will be replaced, updated or retired, the reason, the test evidence and the person who approved the decision. The register also flags custom code that needs ongoing maintenance and any plugin that blocks the upgrade. Ask for these artifacts in the quote, because they are what the upgrade team and any future auditor will need. The register is also the document that should be kept current after the upgrade, so assign someone to update it when plugins change.
Preparing backups and a test environment
Four checks give you a recovery point, an inventory of what is installed, a staging copy that matches the target stack, and named owners who sign off each plugin decision. Run them in this order, because the staging copy is only useful if the backup and inventory it is built from are complete.
Full database and data directory backup
Take a complete database dump and a copy of the Moodle data directory (moodledata) before touching any plugin. Plugin uninstalls and failed upgrades can alter tables and stored files, so a database dump without moodledata is not a usable restore point. Check the backup by restoring it to a scratch server and confirming that you can log in, open a course and download a file. Record the Moodle version, PHP version and database version alongside the backup so the restore target is unambiguous.
Code and plugin inventory export
List every installed plugin with its component name, type, version and source, then compare that list against the site's code directories and the Moodle plugins directory. Include local customizations made directly in core files, theme overrides and anything placed under local or theme folders. Export the list as a file you can diff later, because it becomes the working document for the replace, update or retire decisions. Note any plugin whose code is not in a version control system, since those files are the most likely to be lost.
Moodle plugin typesStaging copy on target versions
Build a staging site from the backup on the PHP and database versions the target Moodle release requires, not on the versions the production site runs today. For Moodle 5.1, check the minimums in the release notes, including the web server document root that must point to /public. Run the upgrade on staging with the full plugin list enabled, then review the administration notifications and the plugin check page. Staging results only count if the staging stack matches production closely enough to reproduce the same errors.
- Minimum PHP for 5.1
- 8.2
Sign-off list of owners
Name one owner for each plugin, custom theme and integration, plus a business owner who accepts any feature that disappears. Record the owner's decision (replace, update or retire) and the date it was approved, so the upgrade has a documented trail for auditors and change boards. Include the people who can test each integration, such as the identity team for SSO or the HR team for enrolment syncs. Without named owners, an unresolved plugin is usually discovered after go-live, when fixes are slower and riskier.
What makes the plugin audit longer
The main effort driver is how many additional plugins the site runs and how many of them the team must decide on. Each plugin needs its supported Moodle versions checked in the plugins directory, its maintainer and release history reviewed, and a written decision of replace, update or retire. A site with a handful of well-maintained plugins is a short exercise. A site with dozens of plugins, many installed years ago by former staff, takes much longer because each one needs its own evidence trail. Custom local code adds a second layer. Anything under local/, custom themes, or customized template overrides must be read against the target release, not only confirmed to install.
Dependencies on removed core features multiply the work. A plugin that relies on a feature leaving core, such as a removed authentication method or a retired theme, may need a replacement plugin, a configuration change and a retest of every user path it touches. Confirm the exact removals for your target release in the Moodle release notes before estimating, since a plugin can look compatible while still depending on code that is gone. The size of the course and user data also matters: a test copy with thousands of courses and years of logs takes longer to upgrade and check than a small sample, and the test must cover the plugins that write to course or user records.
Decision count is the final driver. Each replace, update or retire choice often needs sign-off from a business owner, such as the registrar for grade-related plugins, the learning design lead for activity plugins, or the security owner for authentication. Ask any partner for a fixed-scope written quote that lists the plugin count and the custom code included, the dependency checks to be run, the data set used for testing, the named decision owners and how many approval rounds are assumed, and whether retesting after fixes is included or priced separately.
How DeployOpen scopes and delivers the plugin audit
DeployOpen approaches the plugin compatibility check as a written, fixed-scope piece of work inside your own infrastructure. We inventory every additional plugin and custom change, test each against your target Moodle release, and agree a replace, update or retire decision for each item before the upgrade starts.
How we scope
- Confirm the current and target Moodle versions, and the release line you plan to move to.
- List every installed plugin type, including themes, local plugins and authentication plugins, from your site and servers.
- Agree in writing which plugins, custom code and integrations are covered, and what the audit deliverables are.
How we build
- Check each plugin's listed Moodle support in the plugins directory against your target version.
- Review custom code for calls to features removed from core, and flag plugins whose maintainers have stopped updates.
- Test candidate replacements or updated versions on a staging copy of your site before recommending a decision.
How we hand over
- Deliver an inventory with a replace, update or retire decision and a named owner for each plugin.
- Document the test results, known gaps and the configuration each retained plugin needs after the upgrade.
- Walk your administrators and developers through the findings so the decisions can be reviewed and signed off.
How we support
- Offer retesting of plugin changes after updates, replacements or a later Moodle point release.
- Available as a retainer for ongoing plugin checks and upgrade support once the initial audit is complete.
- Confirm with us which support terms, testing windows and response expectations apply before work begins.

