General plugins (Local): Maintenance mode (live check)

Maintained by Picture of Ulm University Ulm University, Picture of Alexander Bias Alexander Bias
Moodle plugin which shows the Moodle maintenance announcement even if there is no full page load
23 sites
8 fans

Moodle has a built-in maintenance mode feature which is described on With the maintenance mode, an admin is able to suspend the usage of a Moodle installation to perform updates and other maintenance tasks. The maintenance mode can be either basically controlled in the GUI on /admin/settings.php?section=maintenancemode (on / off only) or can be fully controlled via CLI on /admin/cli/maintenance.php (on / off / scheduled).

As soon as the maintenance mode is scheduled and as long as the maintenance mode is active, a user gets a warning message about the maintenance period. Unfortunately, this warning message is only output on a full page reload. If a user is working in Moodle without reloading the page, for example because he is typing a long forum post, he might not notice that there is a maintenance period scheduled or being activated. Following the forum post example, if the user sends the forum post form after he has finished typing and after maintenance mode has been activated, Moodle does not process the forum post anymore and the post is probably lost.

To prevent problems like these, this plugin adds a live check for a scheduled or activated maintenance mode and will show a maintenance announcement even if there is no full page load.

Please see README file for details about the usage and features of this plugin.

No support in the comments section on this page

Please note that we don't provide any support for this plugin in the comments section on this page anymore.

We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.

Thanks for your cooperation.


Screenshot #0


Picture of Ulm University
Ulm University (Lead maintainer)
Picture of Alexander Bias
Alexander Bias: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Plugins bot
    Tue, 25 Apr 2017, 8:40 PM
    Approval issue created: CONTRIB-6872
  • Picture of Frank K.
    Fri, 7 Jul 2017, 9:36 PM

    I was looking for this functionality. I had problems with using maintnance mode, but your plugin fixed a lot of things. Thanks for such a wonderful piece of code smile

    Regards, Franky
  • Picture of Anu Varghese
    Tue, 2 Jan 2018, 11:53 AM
    Since I was looking for a plugin which shows Moodle maintenance announcement, this piece of information is very useful for me. Could you please provide the steps to install it along with its features? Eagerly waiting for your updated post to get it. cheapest cable tv
Please login to post comments