ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Maintenance Mode (Feature #1202)

Added by Denny Schierz at 2013-01-11 09:29 am. Updated at 2013-01-13 05:14 pm.

Status:Open Start date:2013-01-11
Priority:Normal Due date:
Assignee:- % Done:


Target version:-
Remote issue URL: Affected version:



every time I have to upgrade/update Chiliproject, I block the 80/443 port for web access, but that isn't very nice, because the students don't know, why they can't reach the site (because, the don't follow us via twitter or reading news), so it would be nice, if I have a "Maintenance mode" in Chiliproject. I can configure a ip/hostname/range from where I can fully reach the service, but all others get only a blank page with some information. Also the access to git/svn should be included.

Redirect the Ports do a different IP/Host isn't an option.


Updated by Felix Schäfer at 2013-01-11 10:08 am

This in my opinion is a concern of the webserver and not of the application.

I personally have something like this in my apache config, which shows users a (static) 503 page when the file tmp/stop.txt exists in ChiliProject:

ErrorDocument 503 /503.html

RewriteEngine on

RewriteCond %{DOCUMENT_ROOT}/../tmp/stop.txt -f
RewriteRule ^(.*)$ /$1 [R=503,L]

The rewrite rules could probably be adapted to allow normal access from a specific IP/IP range, but I've never had the use for it.

Updated by Luke Carrier at 2013-01-13 05:14 pm

For reference, here's a very similar setup for nginx with the added ability to limit access by IP. This is handy for upgrading, installing plugins and the like:

server {
    # snip

    location / {
        # Maintenance mode; uncomment this and add your IP
        #allow x.x.x.x;
        #deny all;

        # snip

    # If the upstream is down or we're in the deny list, show a friendly message
    error_page 403 502 503 /error/offline.html;
    error_page 504         /error/timeout.html;

    location /error {
        root /home/chiliproject;
        allow all;

Also available in: Atom PDF