I tried searching for similar issues, but I found none. Just want to ask if someone experience this problem. My site sometimes went on maintenance mode even though I'm not turning the maintenance mode on. And a weird part is that, when I go to drupalsite/user it didnt take me to the user login but bring me back to maintenance page again.

Does anyone have an idea what causes this issue?

Thanks!

Comments

Mackee’s picture

Just a follow up for anyone that might encounter this problem, I noticed that this issue happens when I use drupalchat module.

rfmarcelino’s picture

It's not just the chat module. I don't have it installed and still changes to maintenance automatically.
Any suggestion how to debug it?

yakbuttertea’s picture

Same here. Lately, my site has been switching to maintenance mode and staying on. Don't know why. Any ideas? Or where to look? I don't see anything special in the Log messages.
Thanks!

labuschagne’s picture

Hi

Does anyone have an answer to this one yet?

I am currently experiencing this on my Drupal 7.34 site http://pamphletsonly.co.za

Thanks

Andre

upunkt’s picture

You may have installed the Backup & Migrate module. Have a look at your settings profile(s). You may have selected the option to take the site offline during backup in advanced settings . This has been the cause for my auto-maintenance mode issue.

Khalid S’s picture

Having the same issue. If I clear theme-registry cache, it comes back.
www.carclick.com.au

walkerasindave’s picture

I am also having the same issue. Does anyone have any kind of resolution?

walkerasindave’s picture

For now I have added $conf['maintenance_mode'] = FALSE; to the settings.php. I hope this override works but is still less than ideal.

I can't seem to find any kind of log entries relating to entering/exiting maintenance mode. I would have thought that this is something that should be logged. Is there a way of adding it so entering/exiting maintenance mode adds a log entry against the user?

Thanks

billy_comic’s picture

I think it needs to be $conf['maintenance_mode'] = 0;

But, this can't be the solution for this? I'm having the same issue, but why is it happening? What could be causing this?

Seems like a really big bug that needs to be squashed but can't even find a starting point as reports are so broad.

Has anyone found a fix for this?

daxiuge’s picture

It is something error message in table watchdog . Like this:

a:6:{s:5:"%type";s:5:"Error";s:8:"!message";s:39:"Class 'DOMDocument' not found";s:9:"%function";s:17:"filter_dom_load()";s:5:"%file";s:55:"/var/www/html/smallairways/modules/filter/filter.module";s:5:"%line";i:1097;s:14:"severity_level";i:3;}