Answers.Body: <p>The error came from the Backup &amp; Migrate Module : I had an error when I wanted to access the "Schedule" folder.
  When I unstalled the Module, the error disappeared.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-05T14:53:00.813Z
Answers.LastActivityDate: 2018-11-05T14:53:00.813Z
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.Body: <p>I had a problem with the Backup and Migrate module where this would happen. There is a setting to put into maintenance mode while the backup is running. But the backup would error out and never turn off maintenance mode.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-15T21:25:35.373Z
Answers.LastActivityDate: 2018-10-15T21:25:35.373Z
Answers.UserDisplayName: Scott Pulver
Answers.Body: <p>Can be a number of reasons with Drupal, I would imagine it's a probably on the Drupal side and not Civicrm though.</p>
  
  <p>There could be something doing it in a module etc. etc, have to look at error log around the time it switches into maintenance. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T11:39:20.070Z
Answers.LastActivityDate: 2018-10-11T11:39:20.070Z
Answers.UserDisplayName: EagleUK
Answers.Body: <p>Go to Reports -> check the dblog (Recent Log Messages) and see if you can find out what and when is putting your site into maintenance mode.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-12T08:46:19.643Z
Answers.Text: dblog (https://xxx.com/admin/reports/dblog) does not show any item regarding maintenance (even when I personnaly change the maintenance mode).
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-11T13:03:58.120Z
Answers.LastActivityDate: 2018-10-11T13:03:58.120Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>My site goes to maintenance mode spontaneously almost every day. I am advised by users.</p>
  
  <p>Everything works fine when I put it out of maintenance mode.</p>
  
  <p>Any explanation is welcome</p>
  
  <p>(Drupal 7.59 / Civicrm 5.4.0)</p>
  
Tags: <system>
Title: My site goes to maintenance mode spontaneously
ThreadText: # My site goes to maintenance mode spontaneously
  
  (Asked by: username_0 on 2018-10-11)
  
  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 / Civicrm 5.4.0)
  
  **Tags:** system
  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_0 on 2018-11-05. Score: 2 | Accepted answer
  
  The error came from the Backup & Migrate Module : I had an error when I wanted to access the "Schedule" folder.
  When I unstalled the Module, the error disappeared.
  
  
  ---
  
  ### Answer by username_1 on 2018-10-15. Score: 2
  
  I had a problem with the Backup and Migrate module where this would happen. There is a setting to put into maintenance mode while the backup is running. But the backup would error out and never turn off maintenance mode.
  
  
  ---
  
  ### Answer by username_2 on 2018-10-11. Score: 1
  
  Can be a number of reasons with Drupal, I would imagine it's a probably on the Drupal side and not Civicrm though.
  
  There could be something doing it in a module etc. etc, have to look at error log around the time it switches into maintenance.
  
  
  ---
  
  ### Answer by username_3 on 2018-10-11. Score: 1
  
  Go to Reports -> check the dblog (Recent Log Messages) and see if you can find out what and when is putting your site into maintenance mode.
  
  > **Comments:**
  > **username_0**: dblog (https://xxx.com/admin/reports/dblog) does not show any item regarding maintenance (even when I personnaly change the maintenance mode).  
  
  ---
  
  