Locked out of admin after server move.
paultanner - July 4, 2009 - 08:30
moving my app from 6.6 on old server.
before downloading the db contents (with mysqldump) I set the site offline as suggested
downloaded 6.13 to new server
uploaded database contents
started drupal update and entered the db credentials (these are different on new server)
after the update completed I tried to go to admin
however, all I get is the site offline message. No admin menu and no login prompt.
what has gone wrong?
Thx Paul

Go to http://yoursite.tld/user
Hi,
This has been asked many times. A simple search should have provided you with the solution. (Probably it would be a good idea if the site offline page contained a log in possibility to prevent this question being asked again and again.)
Go to this url to log in: http://yoursite.tld/user
Or, if your site does not have clean urls enabled: http://yoursite.tld/?q=user
Groen
Thanks
Hi Groen,
Thcx for the quick reply. Needless to say this solved it.
My apologies. I was searching for something related to the move or the upgrade.
Now I see it was the same on the old installation.
The upgrade doc says to put it in maintenance first. It coluld also tell you the consequences of that, i.e. how to log in after that.
Like others with the problem I had always remained logged in so had not seen this till I moved and upgraded.
Paul
Site Maintenance mode
Hi,
I don't mean to pick on you in particular, as this one question seems to provoke more forum posts than any other, but on the Site Maintenance page, where you put the site into offline mode, the on-screen instructions say:
"[...] Authorized users can log in during "Off-line" mode directly via the user login page." (with the 'user login' text linked to '/user')
... unfortunately, it doesn't say that in 24pt, bold, red type so that people notice it!
I agree to some extend
First of all, I do assume most people do overlook this remark. (I have to admit it could happen to me too.) But from the people that do read it, I assume most expect they can navigate to the user login page later. When they actually do see their site come up after migration/ upgrade or whatever, there is no site navigation or link or whatever and don't know how to login anymore.
Groen
Instructions
Hi,
The problem is that if you make the login link visible, you might have lots of users trying to connect at the point that you least want them to, so any on-screen text is a bit self-defeating.
I wonder whether it's worth opening an issue on the Drupal project to suggest adding a comment to the instructions in install.txt about what to do if you find yourself locked out of the site. But then again, I wonder how many people read the install.txt file as carefully as you!
Like I said, I didn't mean to pick on anybody, it's just that the forums posts get a bit repetitive whenever there's a Drupal upgrade! Although if so many people are running into the same problem (happened to me the first time I did an upgrade as well!), it does suggest that things could be improved. Maybe there's finally an argument for using the dreaded <blink> tag for that warning on the Site Maintenance page?!
The problem is that if you
I agree that you don't want to encourage non-admins to log in. Maybe limiting login to only certain roles when the site is offline would be an option?
If people don't read the remark when going offline, they probably won't read the install.txt carefully enough. I know, I usually skip the install.txt (me bad).
Haha! Couldn't agree more. The first agreeable use of the <blink> tag!
Groen