magento2: Admin Login doesn't work after updating to 2.1.0
Hey there,
after an update to v2.1.0 via composer and CL setup:upgrade/ setup:di:compile we aren’t able to log in our admin area while frontend logins seems to work.
The error message is
Your current session has been expired.
We’re saving sessions as files. I noticed that the DB got some entries in admin_user_session, all containing the wrong (localhost) IP (fixed). This is related to our haproxy->varnish->nginx->php7.0-fpm setup, but did work before… So my first question, does this table normally appear even if M2 stores session as files?
As M2.1.0 required an update from PHP-FPM 7.0.4 -> 7.0.8 this could also be issued by the php update. 2nd question: did anybody stumple upon the same problems?
Best regards Jan
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 33 (12 by maintainers)
Commits related to this issue
- Merge pull request #5309 from magento-tsg-csl3/2.3-develop-pr37 [TSG-CSL3] For 2.3 (pr37) — committed to magento/magento2 by zakdma 4 years ago
Can be temporary fixed by setting the
so this issue should be related to localization/time…
I had the same issue. Adding
admin/security/session_lifetimeto86400incore_config_dataand flushing the cache solved it.same problem and fixed( using Asia timezone, web installation and install use domain with non default port)
first step: find “admin/security/session_lifetime” in table core_config_data. if not exist create one and set value to 86400
second step: clean cache (remove var/cache)
login and fix
@sIiiS - https://alankent.me/2015/04/25/use-of-localhost-when-installing-magento-2-quick-note/
@gewaechshaus, this solution doesn’t work for me!
Admin Side login that time session expired
msg is :
give solution