default userpic

Lost Username and PW during upgrade

Vote 0 Votes

During an ongoing upgrade from MT 3.x to MT 4.2, I got as far as the "Time to Upgrade!" screen. When I attempted to move forward though ("Begin Upgrade"), I got an "Invalid login" message every time I entered any variety of possible usernames and passwords.

I then clicked on the "Forgot your password?" link and was presented with a field to enter an email address. No matter what email address I enter (and I've only had about 5 over the last 15 years), I keep getting an error message that says "User not found." I even tried Melody and Nelson as a UN and PW.

All my .cgi scripts have permissions set to 755.

Has anyone ever run into this problem before and be willing and able to offer some assistance as to how to even back out of this limbo I'm stuck in?

Reported on Movable Type 4.2

9 Replies

| Add a Reply
  • If you look in the database (mt_authors) to check what users are listed?

    • default userpic

      I see a table when I click on mt_authors in my mySQL db with columns named Field, Type, Collation, Attributes, Null, etc. What specifically should I be looking for? There are >20 fields in the table.

      • If you are using phpMyAdmin, you're probably looking in the wrong place then. Click on the Browse tab near the top of the page when viewing mt_author.

        • default userpic

          When I click on the browse tab when viewing "mt_author", I get the following result:

          "MySQL returned an empty result set (i.e. zero rows). (Query took 0.0058 sec)

          SQL query:
          SELECT *
          FROM `mt_author`
          LIMIT 0 , 30 "

          • Then that means someone or something deleted all of the users from your database. What happened before this problem started?

            • default userpic

              Nothing out of the ordinary happened to the site before this, other than I wanted to upgrade to MT 4.25 from the 3.x version I'd been using.

              I followed the instructions provided on MT's website and wound up with this stall in the upgrade process where no username, PW, or email for PW retrieval was recognized by the program/system.

              Do you think there's a way out of this? And thanks for your help.

  • Dear Lexiphane,

    This is an issue I've dealt with for some other movable type customers!

    Get in touch from my Web site contact page and I will check your issue and advice what needs to be done.

    http://www.pro-it-service.com/en/contact.html

    The job is pretty technical.

    Kind Regards,
    Mihai Bocsaru

  • Mihai took a look at my DB and confirmed that almost all of the required MT tables are empty, indicating my blog was deleted or something bad happened.

    I do have a backup file of the mysql db that I made before everything went south. If anyone can offer any guidance on how to restore the db and my site (even to point me in a helpful direction), I'd appreciate it. Thanks.

  • If it is a SQL file, you can either copy and paste the contents into the SQL command window of phpMyAdmin, or you can upload the file to your host, log in by SSH and run the following command:

    mysql -u USERNAME -p (-h HOSTNAME if your database isn't on "localhost") DATABASENAME < backup.sql

    Typically, that'd look like

    mysql -u MyUserName -p MyMovableTypeDatabaseName < backup.sql

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1428 5076

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

694 2908

Last Topic: Blogspot to Movable Type by sdude on Feb 8, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 565

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 717

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012