Login issue after upgrading to 6.1.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yuri
    commented on 's reply
    Maybe some files were cached. Not sure what it could be. I tested on PHP 7.4 a lot, never had this issue.

  • vvlada
    commented on 's reply
    PHP 7.4.10, CentOS
    Last edited by vvlada; 01-28-2021, 03:55 PM.

  • yuri
    replied
    What PHP version do you have?

    Leave a comment:


  • vvlada
    commented on 's reply
    I will wait for other to get into trouble and you to solve it in some of the next releases...

  • vvlada
    commented on 's reply
    Restore done. Everything works.

  • yuri
    replied
    Try setting the log level to INFO. And then check what is in log after trying to log in.

    Leave a comment:


  • yuri
    replied
    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.

    Leave a comment:


  • vvlada
    replied
    Here are Firefox console errors, even before login, so there is something with API and .js...

    Leave a comment:


  • vvlada
    commented on 's reply
    Yes, users are not deleted, exists in table and have deleted = 0

  • Maximus
    replied
    Could you open your Espocrm DB -> table 'user' -> check whether your user (e.g. admin):
    1. Exists in the table
    2. Has 'delated' = 0

    Leave a comment:


  • vvlada
    replied
    Yes, authenticationMethod is Espo, and yes, I used new password.

    Leave a comment:


  • vvlada
    replied
    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/destroyAuthToken

    Leave a comment:


  • Maximus
    replied
    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',
    After, refresh a login page and try to login again.
    Please note if you reseted the password via CLI then you need to log in with the new password you applied.

    Leave a comment:


  • vvlada
    replied
    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 [] []

    Leave a comment:


  • vvlada
    replied
    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
    b

    Leave a comment:

Working...