Questions tagged [maintenance-mode]
Drupal allows a restrict set of users to access the site when maintenance tasks run: the maintenance mode.
108 questions
0 votes
0 answers
18 views
Is there a way to access the login page on a site in maintenance mode? [duplicate]
I put my new site in maintenance mode and then I made the mistake of logging out. Is there a way to log in, now that the site is in maintenance mode?
0 votes
0 answers
238 views
Getting " Specified URL cannot be found" error while clearing cache
I am working on Maintenance mode screen. I have added outage message in the field, ticked "Put site into maintenance mode" button and save the configuration. Once i clear the cache i am ...
-2 votes
1 answer
117 views
Not allowing the user to access the website within the given time period [closed]
My client want to offline the site for 12:00 AM to 06:00 AM and show this message to users. How can I achieve this in drupal8
0 votes
2 answers
544 views
How can I render a specific node as the content for the maintenance page?
Given a nid X, how do I have Drupal render it as the content for the maintenance page?
6 votes
1 answer
863 views
How can I exclude certain routes from maintenance mode?
I am trying to make certain routes exempt from maintenance mode by adding the option _maintenance_access to the route and setting it to TRUE. I think (although I'm not 100%) that this works because in ...
0 votes
1 answer
284 views
Disable "Operating in maintenance mode. Go online."
The solution for Drupal 7 is using the following code, as per answer of How can I disable the message “Operating in maintenance mode. Go online.” in maintenance mode? function mytheme_preprocess_page(...
1 vote
3 answers
3k views
Is there a way to run drush updb without going to maintenance mode
I have a live site which runs on drupal 8. I am using drush 8.5.3 with the installation. Whenever I run drush updb the site automatically goes to maintenance mode. Is there a way to do this without ...
-1 votes
1 answer
81 views
Drupal maintenance over several environments [closed]
I have a production environment for a Drupal 7 site. This environment is replicated to a staging environment, which we use for testing updates to modules and drupal core (same major version). We ...
0 votes
1 answer
855 views
Get out of maintenance mode using database query (without using drush or admin area)
I understand there are very many stackoverflow questions on this very topic. How can get my site out of maintenance mode? for example. However I've never seen one that explains how to turn off ...
0 votes
0 answers
76 views
Maintenance Mode Screen Does Not Display
I'm using Drupal 8 with a purchased theme. I'm not 100% tech literate so apologies in advance if my question sounds dumb. After Drupal and the theme were initially installed I had no problems. After ...
0 votes
1 answer
278 views
Is it necessary to clear site caches after putting site into maintenance mode?
I enabled maintenance mode on a Drupal 7 site; however, when I checked the homepage as an anonymous user, I noticed that the original homepage was still being displayed rather than the maintenance ...
4 votes
1 answer
1k views
Is it normal that a site changes to maintenance mode during a module update?
I have created a custom module with a .install file, which includes some hook_update_N() hooks, used to update existing nodes. Whenever I run drush updb, the site automatically enters maintenance mode ...
-2 votes
3 answers
136 views
My Site goes to Maintenance spontaneously
My site goes to maintenance mode spontaneously almost every day. I am advised by users. Everything works fine when I put it out of maintenance mode. Any explanation is welcome (Drupal 7.59)
0 votes
1 answer
851 views
What makes a maintenance mode message display, when a site is not in maintenance mode?
What makes a maintenance mode message display, when a site is not in maintenance mode? In this instance, it appears that it was because a contrib module was throwing a recoverable fatal error. So ...
2 votes
3 answers
481 views
Maintenance page being rendered as an entire page load after the main page load
I've noticed that I've got a maintenance page being rendered in its entire HTML markup format after my pages. The site is not in maintenance mode, and this is not intentional behaviour. I'm trying to ...