I two different instance with EspoCRM, both where upgraded to 6.1.0. But I'm having login issue on one of them. I get to enter username and password, but after that it does nothing. Also no error in logs.
Login issue after upgrading to 6.1.0
Collapse
X
-
Hi,
You can try to reset the password with this way https://docs.espocrm.com/administrat...st-cant-log-in.Comment
-
No, didn't help. Console error:
Error 401: Unauthorized. espo.min.js:674:41
setupAjax espo.min.js:674
jQuery 5
dispatch
handle
trigger
x
bComment
-
Also I have following error in espo logs:
[2021-01-28 12:46:03] ERROR: CronManager: Failed job running, job [6012b0a2a914c1f1e]. Error Details: Job CheckEmailAccounts 5877717e31e9e39e6: [0] cannot login, user or password wrong at /var/www/html/application/Espo/Modules/Crm/Jobs/CheckEmailAccounts.php:74 [] []Comment
-
What type of Authentication you have been using before the upgrade (Espo, LDAP). Open the config.php file in the /data directory. Find the 'authenticationMethod' parameter and set to 'Espo' like:
Code:'authenticationMethod' => 'Espo',
Please note if you reseted the password via CLI then you need to log in with the new password you applied.Comment
-
Even before i click on Login, in web browser console I have errors:
GET https://xxx.xxx.xxx/api/v1/App/user[HTTP/1.1 401 Unauthorized 111ms]
POST https://xxx.xxx.xxx/api/v1/App/action/destroyAuthTokenComment
-
-
If it's a production I'd recommend to restore a backup (hope you made). Then try to upgrade a test instance to figure out what went wrong.Last edited by yuri; 01-28-2021, 02:23 PM.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Try setting the log level to INFO. And then check what is in log after trying to log in.If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
What PHP version do you have?If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
I have the same problem.
The log file are empty (warning).
After reset folder permissions and delete cache (data\cache\) became the following messages from the page (firefox web developer):
Code:XHRGET https://xxxxxx/api/v1/App/user [HTTP/1.1 401 Unauthorized 440ms] XHRPOST https://xxxxxx/api/v1/App/action/destroyAuthToken [HTTP/1.1 401 Unauthorized 440ms] Error 401: Unauthorized.
Apache
Windows 2012 r2
MariaDB1 PhotoComment
Comment