Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37596

Scheduled maintenance mode

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.4.1
    • Administration
    • MOODLE_24_STABLE
    • MOODLE_25_STABLE
    • w04_MDL-37596_m25_schedmaint
    • Hide

      1/ use the web UI to enable old-style maintenance mode where only admin may login, disable afterwards
      2/ use the admin/cli/maintenance.php mode to enable/disable the old-style maintenance mode
      3/ use the admin/cli/maintenance.php mode to enable/disable the CLI maintenance mode (nobody can access server via web interface, only CLI operation allowed)
      4/ use the admin/cli/maintenance.php mode to schedule the CLI maintenance mode - verify it shows the header message before it and switches to CLI maintenance mode afterwards
      5/ disable maintenance mode using admin/cli/maintenance.php
      6/ verify the CLI maintenance message is taken from admin setting, template file ($CFG->dataroot/climaintenance.template.html) and lang pack in this order

      Show
      1/ use the web UI to enable old-style maintenance mode where only admin may login, disable afterwards 2/ use the admin/cli/maintenance.php mode to enable/disable the old-style maintenance mode 3/ use the admin/cli/maintenance.php mode to enable/disable the CLI maintenance mode (nobody can access server via web interface, only CLI operation allowed) 4/ use the admin/cli/maintenance.php mode to schedule the CLI maintenance mode - verify it shows the header message before it and switches to CLI maintenance mode afterwards 5/ disable maintenance mode using admin/cli/maintenance.php 6/ verify the CLI maintenance message is taken from admin setting, template file ($CFG->dataroot/climaintenance.template.html) and lang pack in this order

      It would be useful if maintenance mode could be scheduled, rather than switched on manually. This would be extremely useful for scheduled maintenance where you know beforehand what time you will be putting the server into maintenance mode.

      Users could then be shown warning notices saying something like "This server will go offline in 12 minutes"

            skodak Petr Skoda
            maherne Michael Aherne
            Sam Hemelryk Sam Hemelryk
            Andrew Davis Andrew Davis
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.