Questions tagged [maintenance-mode]

Drupal allows a restrict set of users to access the site when maintenance tasks run: the maintenance mode.

Filter by
Sorted by
Tagged with
5 votes
8 answers
14k views

How can get my site out of maintenance mode?

I moved my site from one server to another in the same way I moved another site. But it won't get out of maintenance mode. I can access phpMyAdmin and I can access the server files easily. I've ...
Gramredhel's user avatar
10 votes
7 answers
44k views

How do I turn off maintenance mode?

Does anyone know how to turn off maintenance mode? I tried accessing http://www.example.com/?q=user/login, but that gives me a blank page. I tried executing this SQL query, but it didn't affect any ...
John's user avatar
  • 1,491
9 votes
1 answer
9k views

Drupal 8 maintenance page theming [closed]

I want to customize the maintenance page in Drupal 8. How do I theme it?
Shawn Conn's user avatar
  • 26.8k
5 votes
2 answers
8k views

How to theme the maintenance mode page?

What would be the best practice for theming the maintenance mode page in Drupal 7?
Peter Smeekens's user avatar
4 votes
1 answer
2k views

Should a site be in maintenance mode when running the Drush Up command?

I'm not asking if I can update my website with Drush. I'm not asking if Drush can make it in maintenance mode. My question is ... if I'm using the command drush up to update my Drupal core or a ...
itsdarrylnorris's user avatar
15 votes
1 answer
10k views

Site stuck in maintenance mode

I have put a site in maintenance mode. Before I could visit the administration pages as user #1 (which was the user account I was already using before to put the site in maintenance mode), I had to ...
apaderno's user avatar
  • 97k
11 votes
1 answer
478 views

Multiple (and differents) crons?

In a normal production webiste, there are many tasks that need to be done via crontab, but lets say you dont want all of these tasks to run on every cron. For example, i would love to have: A cron ...
Strae's user avatar
  • 890
5 votes
2 answers
3k views

How do I serve up a themed 500 error response page?

Has anyone developed a custom themed page for 500 errors on a Drupal 8 site? There is no maintenance offline template equivalent, and core out of the box simply delivers an unstyled stack trace. We've ...
ben.hamelin's user avatar
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 ...
atwixtor's user avatar
  • 164
4 votes
5 answers
782 views

What are the ways/strategies to maintain Drupal sites a over period of 10-15 years?

We have started using Drupal as a PHP programming framework (and not just as a CMS). As result, we have many projects running on Drupal (6 or 7). Typically, after 2-3 years a project gets over and no ...
Ajinkya Kulkarni's user avatar
3 votes
5 answers
1k views

How to restore complete database keeping the site in maintenance mode in Drupal 7

I need to restore complete database in a regular basis (weekly). I am using pure PHP + system call to mysqldump and mysql to backup and restore full database. The restore process takes 2 minutes. What ...
Cesar's user avatar
  • 31
3 votes
3 answers
9k views

How to change my maintenance page?

As the title explains, I want to make a custom maintenance page, different from the default one. For that I've read this tutorial: Theming the Drupal maintenance page. I copied the file /module/...
mohammed amine bourkadi's user avatar
2 votes
4 answers
3k views

Log in problem in maintenance mode

I have a maintenance site problem. I can't go to the login page. I tested in my localhost in maintenance and I could log in on /user. I copied file system and database online but here I can't access ...
Shyghar's user avatar
  • 1,074
2 votes
1 answer
186 views

What happens when a site goes in maintenance mode while a user is editing an node content?

Let's imagine a user is editing a node content. In the mean time, a Drupal administrator puts the site in maintenance mode. Does the user have a chance to save his work (assuming it does not have the ...
Jérôme Verstrynge's user avatar
1 vote
1 answer
2k views

"Maintenance mode" message is shown when the site isn't in maintenance

I get the "Operating in maintenance mode. Go online." message and the Drupal 7 site isn't in maintenance mode. The message doesn't appears all the time; sometimes it goes away when I refresh ...
Rosamunda's user avatar
  • 1,289
1 vote
3 answers
350 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 ...
ja_him's user avatar
  • 347
1 vote
1 answer
1k views

Site turned to maintenance mode without changing any settings

I have a client who's site maintenance came up without anyone touching it. What would cause something like this? I have theories that it's the backup module. Would that be possible? I just went ...
chrisjlee's user avatar
  • 6,540
0 votes
1 answer
747 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 ...
ja_him's user avatar
  • 347