I'm new to Drupal and still trying to configure my site. Recently I recieved a notice that I needed to backup and update the database for it was out of date. I started through the steps but couldn't finish the process. Presently I can't get into the site because it is in "Maintenance Mode" and I get no login panel.
What can I do? How do I get back in and continue?

Comments

apsivam’s picture

webshaq’s picture

apsivam,

That works, Thanks.

jswaby’s picture

log in as admin using example.com/user

======
Jason

webshaq’s picture

Thanks Jason,

That worked.

karolus’s picture

I just had a similar issue with a D7 site I was performing maintenance on. Logging in via http://example.com/user and http://example.com/?q=user wasn't working. What did, though, was http://example.com/user/login.

Hope this helps...

michaellenahan’s picture

For the benefit of anyone who comes across this page via a google search:

I was unable to get my Drupal 7 site out of maintenance mode despite clearing the checkbox and saving the admin/config/development/maintenance page.

The thing that fixed it for me was clearing the cache: admin/config/development/performance

Magnus Lien’s picture

I experienced this issue when migrating a site to my local MAMP environment.

The reason was that I used Backup and Migrate to export the database. The module put the site in maintenance mode as it does the backup and this configuration is persisted in the database backup file.

I could access the domain/user login page but after logging in I was sent back to the main page without any login confirmation and still stuck in maintenance.

I solved it by adding $cookie_domain = 'localhost'; to sites/default/settings.php. Make sure to comment out the existing cookie domain setting.

Chimos’s picture

This solved my problem, thanks!
Testing a backup, I was stuck in maintenance mode after logg in as admin. I updated the info about the database in settings.php but forgot to update $cookie_domain = .newdomain.com below.

drueven’s picture

Seems in my case it was ajax-related and this worked for me in Chrome:

  1. Open tab in private mode
  2. Turn off javascript
  3. Go to site/user and login
  4. Turn off maintenance mode