Project

General

Profile

Actions

Feature #6935

closed

Create alternate index.html for under maintenance message

Added by Lauren Walker almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
01/07/2016
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

For developers to use while the site is down/being upgraded

Actions #1

Updated by Lauren Walker almost 9 years ago

  • Status changed from New to Resolved

I added an index-msg.html to the webapp directory to use when the site is being upgraded. It just has a simple "Site is offline, please check back soon" message.

This message can be activated by running a simple shell script - toggle-index.sh, which I added to a scripts directory in MetacatUI. This script will toggle between the two index.html files. This will make it easier and faster to put the under maintenance msg online and then turning the app back on during an upgrade. Example:

before Metacat upgrade
$ bash toggle-index.sh /var/www/www.site.com
--> Under maintenance msg is ON

After Metacat upgrade
$ bash toggle-index.sh /var/www/www.site.com
--> Under maintenance msg is OFF, site is back online

Actions

Also available in: Atom PDF