cancel
Showing results for 
Search instead for 
Did you mean: 

Installed latest community edition but can not login

SOLVED

Installed latest community edition but can not login

Hello,

I installed Magento on Ubuntu server  18.04. I had given e-mail id and password while installing. When I try to login in I get The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later. I have installed Magento for learning purpose. My server doesnt have a registered domain name and hence mail server. Hence I cant use the forgot password feature as no mail can be sent to the account.

   Another alternative is to re-install Magento, how do I do it as when I point browser to http://server/magento the install script isnt run but login page appears.

Thanks for any reply.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Installed latest community edition but can not login

Hi @deepakdeshp 

 

Try to login as new user - that means you are trying to create a customer ? - if yes then you can easily create new customer account from the frontend - without having domain as well.

 

Same way if you are trying to create new login user from the backend - then first logged in with the existing admin then add new admin user from the backend itself and assign role to that specific user as an admin only.

 

So you will able to add that as well without domain.

 

Please let me know if you are looking something else.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

View solution in original post

6 REPLIES 6

Re: Installed latest community edition but can not login

Hi ,

First check var folder permission. It should be 777.

sudo chmod -R 0777 var/

Or you can create new admin user using following command:

php bin/magento admin:user:create

For help you can add
php bin/magento admin:user:create --help

For more info:
https://devdocs.magento.com/guides/v2.3/install-gde/install/cli/install-cli-subcommands-admin.html

I hope it will help you!

Re: Installed latest community edition but can not login

Thanks for the reply. I am getting error

 export PATH=$PATH:/var/www/html/magento/bin
uma@ubuntu:/var/www/html/magento$ magento setup:upgrade 
An exception was raised while creating "Request"; no instance returned
uma@ubuntu:/var/www/html/magento$ sudo magento setup:upgrade
sudo: magento: command not found
uma@ubuntu:/var/www/html/magento$ magento setup:upgrade
An exception was raised while creating "Request"; no instance returned
uma@ubuntu:/var/www/html/magento$ magento -help
An exception was raised while creating "Request"; no instance returned
uma@ubuntu:/var/www/html/magento$ magento
An exception was raised while creating "Request"; no instance returned
uma@ubuntu:/var/www/html/magento$ ls -ld /var
drwxr-xr-x 14 root root 4096 Jul 28  2018 /var
uma@ubuntu:/var/www/html/magento$ ls -ld var 
drwxr-xr-x 8 www-data www-data 4096 Aug 11 02:51 var
uma@ubuntu:/var/www/html/magento$ sudo chmod -R 777 var
uma@ubuntu:/var/www/html/magento$ magento setup:upgrade
uma@ubuntu:/var/www/html/magento$ bin/magento admin:user:create –admin-firstname=uma --admin-lastname=uma –admin-email=uma.uma@gmail.com
An exception was raised while creating "Request"; no instance returned

Re: Installed latest community edition but can not login

I reinstalled Magento from scratch and I can login as admin. I am trying to login as a new user, but my server doesnt have a domain name , ANybody has any idea how to manage it?

Thanks for any replies.

Re: Installed latest community edition but can not login

Hi @deepakdeshp 

 

Try to login as new user - that means you are trying to create a customer ? - if yes then you can easily create new customer account from the frontend - without having domain as well.

 

Same way if you are trying to create new login user from the backend - then first logged in with the existing admin then add new admin user from the backend itself and assign role to that specific user as an admin only.

 

So you will able to add that as well without domain.

 

Please let me know if you are looking something else.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Installed latest community edition but can not login

Thank you Manthan,

I was able to create a customer from the web. The application doesnt work with Chromium but did work with Firefox.

Re: Installed latest community edition but can not login

Hi @deepakdeshp 

 

Happy to help and keep helping others Smiley Happy

if issue solved,Click Kudos & Accept as Solution