How to Install and Update Moodle Plugins Safely
All of our Moodle themes are now fully compatible with Moodle 5.3

How to Install and Update Moodle Plugins Safely

Administrator validating Moodle plugin packages through a protected compatibility check

A Moodle plugin runs inside the same application that handles accounts, courses and grades. Treat every installation as a code deployment: verify the source, check compatibility, test away from production, back up the site and know how to recover.

Choose the plugin carefully

Use Moodle Marketplace or a source explicitly provided by a trusted vendor. Confirm the exact Moodle versions supported, the current release date, maintenance activity, documentation, privacy implications, mobile support, external-service requirements and licence costs.

Reject instructions that require replacing or modifying Moodle core files without a compelling, reviewed reason. Core edits are difficult to maintain and can be overwritten during upgrade.

Check technical compatibility

  • Moodle major and minor version.
  • Required PHP and database versions.
  • Dependencies on other plugins.
  • Plugin type and correct component name.
  • Changes to scheduled tasks, web services or external accounts.
  • Compatibility with your theme and mobile-app use.

For Moodle 5.1 and later, contributed plugin locations are under the new public code directory. Follow the current plugin documentation rather than an old filesystem tutorial.

Test in staging first

Clone a representative site, disable outgoing integrations and install the plugin there. Test installation, configuration, capabilities, cron, backup/restore, uninstall behaviour and the target Moodle upgrade. Include student and teacher roles, not only administrator screens.

Back up before production

Capture the database, moodledata and code/configuration. A plugin can add database tables, tasks and configuration; restoring only its folder does not reverse a database upgrade.

Install through the administration interface

  1. Download the compatible ZIP from Moodle Marketplace or the approved vendor.
  2. Go to Site administration > Plugins > Install plugins.
  3. Upload the ZIP and review the validation report.
  4. Continue only when the component and destination are correct.
  5. Complete the database upgrade from Notifications.
  6. Configure permissions and settings, then run cron.

Moodle Marketplace replaced the old Plugins Directory. The direct-from-site installation flow is not currently the normal Marketplace route; download the package and upload it, or use an approved server/Composer deployment.

Install through the server

When code is deployment-managed, place the plugin in the correct type directory—such as mod, blocks, theme or local—with the expected directory name. Do not leave renamed old copies or ZIP files inside plugin directories because Moodle scans them.

Composer-managed sites should use Composer only for plugins that publish valid Moodle package metadata. Keep composer.json and the lock file together and avoid mixing installation methods for the same component.

Update a plugin safely

  1. Read release notes and breaking changes.
  2. Confirm the new release supports your Moodle version.
  3. Test the update and rollback on staging.
  4. Back up production.
  5. Enable maintenance mode if the change affects availability.
  6. Deploy the clean new plugin code.
  7. Run the database upgrade and cron.
  8. Purge caches and test the plugin’s critical paths.

Do not confuse disabling with uninstalling

Disabling a plugin usually stops its feature while retaining data. Uninstalling may remove database data, and deleting only the code can trigger missing-plugin warnings. Read the plugin’s removal documentation and preserve an export when records matter.

Post-install checks

  • No new warnings in Notifications or Environment.
  • Scheduled tasks run successfully.
  • Capabilities follow least privilege.
  • Privacy registry and data-export behaviour are understood.
  • Course backup and restore still work.
  • Error logs remain clean under representative use.

Final advice

Fewer well-maintained plugins are usually easier to secure and upgrade than a crowded site. When evaluating a contributed Moodle theme, check current compatibility and support at Themes Almond using the same discipline.

Source check: Verified against Moodle 5.3’s official Installing plugins and Plugins FAQ.

Leave a Reply

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