Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Maintenance mode.

Maintenance mode: Difference between revisions

From MoodleDocs
m (link to Japanese)
(location, setting maintenance mode)
Line 1: Line 1:
The idea of maintenance mode is to prevent any users other than admin to use the site while the maintenance process takes place.
Location: ''Administration > Server > Maintenance mode''


When students/guests/teachers try access a course in maintenance mode, they will obtain a message saying the course is in maintenance mode. A customized message may be added, perhaps stating when the site will be available again or giving the reason for doing maintenance.
 
Maintenance mode is for preventing any users other than administrators from using the site while maintenance is taking place.
 
When users attempt to access a course when your site is in maintenance mode, they obtain a message informing them that the site is in maintenance mode. If you wish, you can create a customized maintenance mode message, perhaps stating when the site will be available again or giving the reason for doing maintenance.
 
Note: The front page of your site will appear as normal when your site is in maintenance mode. Users will only see the maintenance mode message when they attempt to access a course.
 
==Setting maintenance mode==
 
To put your site in maintenance mode:
 
#Access ''Administration > Server > Maintenance mode''.
#Click the Enable button.


If for some reason the webinterface is not available you can also put the Moodle installation in maintenance mode by creating a file called ''maintenance.html'' in the folder called ''1'' in your moodle data folder. Any text in that file will be displayed to users trying to access anything other than the frontpage.
If for some reason the webinterface is not available you can also put the Moodle installation in maintenance mode by creating a file called ''maintenance.html'' in the folder called ''1'' in your moodle data folder. Any text in that file will be displayed to users trying to access anything other than the frontpage.

Revision as of 18:03, 5 October 2007

Location: Administration > Server > Maintenance mode


Maintenance mode is for preventing any users other than administrators from using the site while maintenance is taking place.

When users attempt to access a course when your site is in maintenance mode, they obtain a message informing them that the site is in maintenance mode. If you wish, you can create a customized maintenance mode message, perhaps stating when the site will be available again or giving the reason for doing maintenance.

Note: The front page of your site will appear as normal when your site is in maintenance mode. Users will only see the maintenance mode message when they attempt to access a course.

Setting maintenance mode

To put your site in maintenance mode:

  1. Access Administration > Server > Maintenance mode.
  2. Click the Enable button.

If for some reason the webinterface is not available you can also put the Moodle installation in maintenance mode by creating a file called maintenance.html in the folder called 1 in your moodle data folder. Any text in that file will be displayed to users trying to access anything other than the frontpage.

See also