I just went to update Drupal 7.5 to 7.51 and fortunately the update worked. Unfortunately our site is now locked in maintenance mode and I was logged out of the system and cannot get back in as an admin or anything on the site for that matter.

We tried to do a site rewind to go back to our original settings before the update but still no luck. We also tried using /user and also /?q=user but this doesn't work either. The site seems to be stuck in some sort of page refresh loop. Does anyone have any suggestions of what else we should try or what we should do?


2 Answers 2


I am compiling here some points which I found. Following list I have ordered them from common to complex solution.

1. Clear cache:

First thing you can do is clear the cache. If you read the forum discussion on the Drupal forum page titled: Site stuck in maintenance mode!, you'll find various people solved this issue just by clearing the cache.

  • Through Admin UI: As per this comment just clear the cache by going at Administration/configuration/performance.

  • Using Drush: If you are using drush, you can do this by command drush cc all.

  • Other methods: If above both methods are not accessible for you, you can try other methods witch are listed in this article: [Drupal]Methods to clear Drupal caches

2. Login to site:

You can try some methods to login into site while still site in maintenance mode.

3. Changing Maintenance Mode setting:

@mixerowsky has very well explained various ways of changing the maintenance mode in his answer at this DA question: How can get my site out of maintenance mode?

  • 1
    Now you made it a real answer! (+ time to cleanup some comments around here?) Oct 28, 2016 at 17:02

One thing worth trying if you can't get on is to go to the database and empty the table for sessions. This should allow you to get back in. Don't delete the table, jsut empty is (delete from sessions in sql)

Also see https://www.drupal.org/node/124562

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.