Health center

Administration tools ::: tool_health
Maintained by Vincent Schneider
The health center is a tool for detecting miscellaneous problems on your site.
Latest release:
765 sites
135 downloads
11 fans
Current versions available: 2

Note: The Health center tool has been removed from new installations of Moodle 4.0. The code for this tool is currently available in the Plugins directory.

The link to the health plugin can be found under the Administration navigation node "Server".

The current list of health checks is:

  • Extra characters at the end of config.php or other library function
  • $CFG->dataroot does not exist or does not have write permissions
  • cron.php is not set up to run automatically
  • PHP: session.auto_start is enabled
  • PHP: file_uploads is disabled
  • PHP: memory_limit cannot be controlled by Moodle
  • SQL: using an account without password
  • Random questions data consistency
  • Multi-answer questions data consistency
  • Question categories tree structure
  • Course categories tree structure

Screenshots

Screenshot #0

Contributors

Vincent Schneider (Lead maintainer)
Moodle HQ: Original authors and maintainers
Please login to view contributors details and/or to contact them

Comments RSS

Birta athugasemdir
  • Plugins bot
    fim., 24. mar. 2022, 17:50
    Approval issue created: CONTRIB-8889
  • Jarosław Maciejewski
    mán., 28. mar. 2022, 23:09
    Hello,
    Thanks for your plugin.
    But I have question: What your plugin don't support Moodle from version 3.11 only from 4.0, which this version is not publish?
  • Sara Arjona Téllez
    mán., 28. mar. 2022, 23:51
    Hi Jaroslaw!
    One of the projects that we've implemented in Moodle 4.0, which will be released soon, is the plugins review: https://docs.moodle.org/dev/Core_plugins_review_for_Moodle_4.0
    In this project, we've removed several plugins from the standard Moodle package and moved them to the plugins directory. So this plugin is included in Moodle 3.11 (that's why there is no version for Moodle 4.0) but you can install it from 4.0 onwards if you are interested in using it.

  • Visvanath Ratnaweera
    mið., 3. jan. 2024, 18:16
    I ran it today on a Moodle 3.9.25 (Build: 20231211), LAMP Debian 11 (PHP 7.4.33) overpowered hardware. mysite/admin/tool/health/ kept on loading with two MariaDB threads totaling 150% but never loaded.
  • C’est moi (il y a quelques années) :-)
    mið., 16. okt. 2024, 17:21
    I ran it today on several platforms using Moodle 4.3.8, and it incorrectly reports "cron.php is not set up to run automatically".

    I hope a developper will take care of this useful plugin, to make it compatible with recent Moodle versions, and improve it.
  • Vincent Schneider
    sun., 16. mar. 2025, 02:19
    The cron issue has been resolved in the latest version, v1.1.0. Additionally, I've optimized the problem-loading process to address the slow loading issue. If this problem exists further, please create a GitHub issue so I can investigate it.
  • C’est moi (il y a quelques années) :-)
    þri., 25. mar. 2025, 00:13
    Thanks Vincent for these corrections and improvments, making this plugin more efficient (and made me discover the setting $CFG->expectedcronfrequency in config.php). And allowing to translate everything is also nice (will have to take time to complete the whole french translation).
Please login to post comments