maintenance.html missing

maintenance.html missing

by Verity Web Services -
Number of replies: 1

Whenever I try to put Moodle  3.3.2 in Maintenance Mode, non-logged in users get a 404 error message.

The error logs indicate that maintanance.html is missing:

2017/09/13 19:55:22 [error] 23151#23151: *3047 open() "/home/mysite/moodle/maintenance.html" failed (2: No such file or directory) while sending to client, client: 2601:3c4:201:658f:383d:352c:e7e2:1ae3, server: edu.mysite.xyz, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "edu.mshealthcarealliance.org", referrer: "https://edu.mysite.xyz/"

That file does not exist in the moodle folder or sub-folders in any version I have had.

Any idea why this is happening and what I can do to resolve it?

Average of ratings: -
In reply to Verity Web Services

Re: maintenance.html missing

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

There's no such file (correctly) in Moodle. 

The only reference I can think of to maintenance.html is that you can add it as a file in your 'moodledata' area as one option for setting maintenance mode. See - https://docs.moodle.org/33/en/Maintenance_mode.

My best guess is that something other than (core) Moodle is causing this but I'm not sure what.