I would like to know exactly how it works I can see that it creates a file maintenance.html in the site data root but is there some thing else ?
We want to use a cluster so it's very important to know exactly how it works.
another point :
The doc tells that it prevents users from login it doesn't seem to be right because the message appear just when we want to enter a course.
is it supposed to work like that or is it a bug?
thanks in advance
Yes, it's only supposed to work when entering a course. The front of the site still functions normally.
I've had the same issue. Try deleting the "maintenance.htm" file. On the "Administration" page go to "site files" in the Miscellaneous section. You should se a file called "maintenance.htm" or something close to it. Delete that file. Hopefully it will work for you as well.
If you are stuck in Maintenance Mode – please read following:
I have learnt that
When one Enables the Maintenance Mode, it creates a file called maintenance.html/htm in the site files' directory.
The site is in Maintenance Mode until that file exists
When one Disables the maintenance mode, the system deleted the file and moodle comes out of Maintenance Mode.
Stuck in Maintenance Mode
You can go to the site files or access Moodle Data folder and delete the file from folder “1”. As an admin, I was able to access every thing myself, but uses were still stuck there. It is a good idea to test it with other logins and access the courses.
If you are not able to delete or upload new files, than it is a side effect from Moodle data folders’ permissions issue. The web server user should be the owner of the data folder not root or system admin etc., i.e. on Linux and apache web server, you should change mode to apache user (whatever name you have given it) to 700 (only apache user has full access)
Some thing like this
chown –R apache:apache /full_moodle_data_folder_location_address
chmod –R 700 /full_moodle_data_folder_location_address
if using a desktop change them via folder properties.
I just upgraded to Moodle 1.8 and am stuck in maintenance mode. I ftp'ed to the website and did not see a "1" folder in the Moodle folder. Where would the maintenance.htm file be in a 1.8 install? Thanks
The file is named maintenance.html
Anyone know a solution for this?
One could routinely put moodle into maintenance mode, by writing a script which placed maintenance.html into the /1/ folder and removed it when done?
That's exactly how it's meant to be used. I think Penny wrote it.
Could there be a problem with my installation?
Rev. Don Bell
In the past I have waited until the site is quiet to turn on maintenance mode, but as the site gets more use, those quite times are harder to find. Any Suggestions?
Moodle version Moodle 2.4.1+
Sorted… had to leave the problem and get back to it logically… after a couple of hours break…
Logged onto server, changed the "moodle" file back to previous version, logged on as myself and disabled "maintainance mode".
Changed moodle file to latest (just updated) version, - maintainance mode no longer active.
Unfortunately, my password was no longer accepted, used "forgotten password" to validate and change password… all ok now… (so far…)
Thank you for listening to me, helped me get my thinking hat on…
Just for those (like me) who have Moodle version 2.+ and arrive to this post by search engines.
I recomend this post https://moodle.org/mod/forum/discuss.php?d=251954#p1220345
... i know, i know, 2 years later... just trying to help in this kind of unclosed posts
Bye, saludos desde Bogota, Colombia