We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 6320 - Add "System is down for maintenance" option
Add "System is down for maintenance" option
Status: NEW
Product: OJS
Classification: Unclassified
Component: Installer
All All
: P3 enhancement
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2010-12-29 14:48 PST by James MacGregor
Modified: 2015-03-16 06:39 PDT (History)
3 users (show)

See Also:
Version Reported In:
Also Affects:


Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2010-12-29 14:48:04 PST
When the "installed" parameter in config.inc.php is set to "Off", any page view is automatically redirected to index.php/index/install. It would be nice to refine this a bit. How about the following: 

-- don't redirect; but for any page that is not index.php/index/install, display a message such as "The system is currently down for maintenance; please check back shortly."

-- to install/upgrade the system, a user will have to specifically visit index.php/index/install, where they will find the install/upgrade page. (This is actually how Wordpress does it, IIRC.) 

The benefit of this approach is that users visiting the site during an upgrade won't accidentally (and confusingly) stumble upon the install page. It's maybe a little less convenient for admins (they have to type in the install URL manually), but I think that's not such a problem.
Comment 1 Marc Bria 2012-03-07 03:13:21 PST
+1 to this !!

In confidence, I was surprised when I realized how is it working now. :-)

Letting visitors see the install and update page is not a good idea... more than this is a VERY BAD idea. :-D

Maintenance mode page is also useful in magazine migrations when you need to block or redirect former OJS to the new one.

Right now, the only option I know is replacing index.php with your own page.

A text area somewhere in the config pages letting admins add a personalized text will be great.

Thanks for the great job,
Comment 2 Alec Smecher 2012-03-07 09:32:23 PST
This would be easy enough to add to 2.4.