cancel
Showing results for 
Search instead for 
Did you mean: 

Admin login not working on VM... tried about everything

Admin login not working on VM... tried about everything

Hi,

I am working on this since two days... no progress at all:

Situation is, we are stopping our online business and we will shut the productive site soon. The Magento version is 2.3.6-p1.

Currently, I am transferring this to a XAMPP virtual machine so that we will be able to retrieve orders, invoices over the next years whenever required for tax reasons.

Transfer to XAMPP is the same way that I used for transfer to a development domain (but which was on the same managed server).

 

Now, I have transferred all files, database to the new server, redeployed. Frontend is working, backend login screen is working as well. Whatever I try, there is no success in entering backend with correct user/password.

What I did until now (stepwise with re-deployment at all steps and retrying):

  • disabled MSP-Recaptcha
  • disabled all other captcha modules
  • unlocked admin user frequently (was never locked)
  • created new admin user
  • changed password with n98-magerun2
  • for sure changed the base-url, base-links, cookie-domain
  • deleted cookies forth and back
  • don't know what other steps tried in between.

Frustrating is, that a clean magento 2.3.6-p1 installation is working fine.

 

Is there any (maybe even dirty) solution what I have not tried yet? Or (even more dirty): Fully disable Admin credential necessity? The server will run in VM extremely limited times and there is no security risk at all (VM will be encrypted).

4 REPLIES 4

Re: Admin login not working on VM... tried about everything

What happens when you try to log in? Is there anything in the logs?

Founder at https://agency418.com

Re: Admin login not working on VM... tried about everything

thanks for helping.

 

There is nothing in the logs.

The screen shows the error message same as in case one enters a wrong password. Its in gerrman, but the message is like "The login at the account was wrong or your account is temporarily locked. Please try again later."

As said, all usual stuff tried already (new admin user, unlock account, disable all third-party modules, ....). A clean install of the same magento version works on the same virtual machine.

Re: Admin login not working on VM... tried about everything

bro i have this same problem. Please help me....its urgent

Re: Admin login not working on VM... tried about everything

I had this issue.If no cookie is being set in your browser for the admin.

 

Delete the vendor directory

rm -fr vendor

 

run 

composer  update

 

This will regenerate the vendor directory with the correct PHP version.