Questions tagged [maintenance-mode]

Use this tag for questions about putting your application on maintenance mode and/or displaying maintenance pages to end-users. For frameworks, services, and platforms that have built-in mechanisms for doing either of those, please check if there are more specific tags that can be used, and if so, add those tags as well.

For applications that are currently live in production environments, it is a common scenario that the application would need to be temporarily unavailable to end-users, because it needs to undergo maintenance activities, such as installing software updates, patching of critical bugs, replacing or restarting certain components, or cleaning-up of files/folders or data.

For such cases, it is common practice to put the application into "maintenance mode", wherein end users accessing the application would not be able to use any of the application features, and instead would see or get an "This site is under maintenance" page or response. This prevents data corruption and bad user experience, while the application is being updated.

Please make sure to also add the tags related to the framework, library, service, or platform related to the application.

132 questions
2
votes
1 answer

Images display directory in php file

i have a maintenance page 503.php. I tried to get the images to be displayed but it did not show. I tried path and html img way, but it did not work. Below are the codes and also anyone helps me explain how to included images in php file? My website…
Andy
  • 23
  • 6
2
votes
3 answers

Add Maintenance Mode to Spring (Security) app

I'm looking for a way to implement a Maintenance Mode in my Spring app. While the app is in Maintenance Mode only users role = MAINTENANCE should be allowed to log in. Everyone else gets redirected to login page. Right now I just built a…
Benjamin M
  • 23,599
  • 32
  • 121
  • 201
2
votes
2 answers

how to make prestashop maintenance mode work with dynamic IP?

Prestashop's maintenance mode works with a whitelist of IP addresses. The problem is that too often my clients don't have a static public IP available, they are on dhcp. Anyone knows of any way to make the frontend available anyway?
Luca Reghellin
  • 7,426
  • 12
  • 73
  • 118
2
votes
3 answers

Wordpress maintenance mode .htaccess

I have tried multiple ways to host a maintenance page while I update a WordPress blog but to no avail. I get an Internal Server Error. RewriteEngine On # Add all the IP addresses of people that are helping in development # and need to be able to…
Michael
  • 4,282
  • 9
  • 55
  • 89
2
votes
1 answer

Disabling website to everyone except portal administrators or host users in DotNetNuke 7?

Is it possible to disable a DNN portal, or an entire DNN installation to everyone except administrator / host users? I need to update a DNN website and apply new themes to differant sections of the website, however this will take some time on the…
Alex
  • 1,549
  • 2
  • 16
  • 41
2
votes
2 answers

How to lock down a web application for maintenance without loss of unsaved work?

I have a large web application in ASP .NET (not that the technology matters here) that does not currently have a way to be locked down for maintenance without current users losing their work. Since I have not implemented something like this before,…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
2
votes
6 answers

How to make website unavailable for others while developing it online?

Is it possible to make the website unavailable while editing it, while online? If so, what is the method called and how is it done? I have a webhosting company so it's not my own server!
user188962
2
votes
3 answers

Sitecore CMS: maintenance page for a load-balaced website

I'd like to implement a "Website under maintenance" page on a Sitecore powered website, where CMS editors can switch on/off the maintenance mode. During the maintenance mode all requests are forwarded to the maintenance page. A solution with…
lekso
  • 1,731
  • 3
  • 24
  • 46
2
votes
3 answers

how to set maintenance mode for entire website with htaccess

i have found this code for htaccess to disable the entire website (for maintenance mode): Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !/offline.php$ RewriteRule .* /offline.php [R=307,L] Now in my offline.php…
ipel
  • 1,326
  • 1
  • 18
  • 43
2
votes
2 answers

set TYPO3 into maintenance mode

I added the following code to the localconf.php: $TYPO3_CONF_VARS['BE']['adminOnly'] = '2'; $TYPO3_CONF_VARS['FE']['pageUnavailable_force'] = '1'; $TYPO3_CONF_VARS['FE']['pageUnavailable_handling'] =…
testing
  • 19,681
  • 50
  • 236
  • 417
2
votes
4 answers

Laravel 4: php artisan down not defined

I've updated my Laravel installation with the following commands today (which is a few days after Laravel 4's release date): php composer self-update php composer update You can have a look at my composer.json file here:…
Martin
  • 691
  • 1
  • 9
  • 18
2
votes
2 answers

GAE/P - schedule downtime for maintenance

I'm doing some refactoring of my entities and I'd like to temporarily shut down all access to my app engine app (except for admin) to prevent users modifying any entities while I am performing the maintenance. What is a straightforward way to do…
new name
  • 15,861
  • 19
  • 68
  • 114
2
votes
0 answers

Is there a way to schedule Heroku maintenance mode in advance?

We have an app running on heroku that we need to put into maintenance mode for an hour during the night while Amazon performs maintenance on the RDS instance we are using. Does anyone know of a good way to schedule this? I could create a cron job on…
Paul Leader
  • 1,015
  • 6
  • 9
1
vote
1 answer

Using Microsoft.EnterpriseManagement Namespaces, Why is the PartialManagementObject.StopMaintenanceMode function ignoring the endTime parameter

I'm using PartialMonitoringObject.StopMaintenanceMode to set maintenance modes on Microsoft System Center Operations Manager 2007 R2, check here. No matter what I do, it seems to be ignoring the end time and ending my maintenance window immediately…
Jason
  • 121
  • 8
1
vote
1 answer

Apache2 mod_rewrite to custom maintenance.html page

I have the following situation. I have for my webapp under /var/www the folder "my_project". Now I want to display a maintenance page using mod_rewrite. For this I have placed under /var/www the file "maintenance.html". Additionally I added the…
schwaluck
  • 115
  • 9
1 2
3
8 9