0

New installation of Magento2 on Ubuntu, the homepage and admin page loads, but doesn't accept the user/pass entered. There's no error message displayed either. Tried:

  • different browsers, clearing cache & cookies
  • timezone is correctly set on server.
  • resetting password directly from db

    UPDATE admin_user SET password = MD5('NEWPASSWORD') WHERE username = 'ADMINUSERNAME';

Any help would be appreciated.

5
1

Looks like cookies cannot be set and thus admin session cannot be started. If base URL is set to localhost (http://localhost/admin) cookies won't work. Reinstall Magento using virtual host or at least 127.0.0.1.

4
  • Hi Alex, the base url was set to nfcshop.ca and we're using virtual host. The database is external, but we didn't get any error messages during install and admin credentials were actually saved to the db. Where else can I ensure cookies are set? – OverAir Dec 21 '15 at 18:39
  • Are you able to create customer account on the store front and log in using that account? – Alex Paliarush Dec 21 '15 at 19:14
  • Hi Alex, looks like your on to something here. Because no, creating an account from the home page doesn't seem to work either. Just brings me to the Login or Register new account page. – OverAir Dec 21 '15 at 19:18
  • Try to debug to understand if PHP can actually start a session. – Alex Paliarush Dec 21 '15 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.