# Password/Login issue after upgrade to 6.0.0

**URL:** <https://community.open-emr.org/t/password-login-issue-after-upgrade-to-6-0-0/16318>\
**Category:** Support\
**Tags:** installation\
**Created:** [March 23, 2021, 1:45pm UTC](https://community.open-emr.org/t/password-login-issue-after-upgrade-to-6-0-0/16318 "2021-03-23T13:45:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ycharles](https://community.open-emr.org/letter_avatar_proxy/v4/letter/y/9d8465/32.png) [@ycharles](https://community.open-emr.org/u/ycharles)\
**Post date:** [March 23, 2021, 1:45pm UTC](https://community.open-emr.org/t/password-login-issue-after-upgrade-to-6-0-0/16318/1 "2021-03-23T13:45:10Z")

</div>

After upgrading from 5.0.2 to 6.0.0, users can’t login. Goes back to login screen with no UI error message.  
This only happens with upgrade, not fresh install.  
To try to remedy, so far I’ve deleted content of ‘key’ in database as well as content of ‘sites/default/documents/logs\_and\_misc/methods’. I also cleared browser cache.  
No success

**Operating System**  
Server: CentOS 7.0  
PHP: 7.3.27

**Logs**  
[Mon Mar 22 23:06:41.921757 2021] [proxy\_fcgi:error] [pid 4880:tid 140064461915904] [client 192.168.123.1:49936] AH01071: Got error ‘PHP message: OpenEMR WARNING: Unable to resolve hashing preference, so using PHP Default’, referer: [https://xxx.xxx.xxx.xxx/interface/login/login.php?site=default](https://xxx.xxx.xxx.xxx/interface/login/login.php?site=default)

---

<div class="post-metadata">

**Author:** ![growlingflea](https://community.open-emr.org/user_avatar/community.open-emr.org/growlingflea/32/15498_2.png) [@growlingflea](https://community.open-emr.org/u/growlingflea)\
**Post date:** [March 24, 2021, 1:19am UTC](https://community.open-emr.org/t/password-login-issue-after-upgrade-to-6-0-0/16318/2 "2021-03-24T01:19:41Z")

</div>

OK. Did you run the the php\_upgrade script? Make sure you back up your database first!!!

![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/9/9dc5e74653f15058d6929c7becc928b1ea49a0d6.png)

Then run the sql\_patch.php script:

![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/6/6ae57a3289616915d62a47360e03e3be62191981.png)

---

<div class="post-metadata">

**Author:** ![ycharles](https://community.open-emr.org/letter_avatar_proxy/v4/letter/y/9d8465/32.png) [@ycharles](https://community.open-emr.org/u/ycharles)\
**Post date:** [March 24, 2021, 2:39am UTC](https://community.open-emr.org/t/password-login-issue-after-upgrade-to-6-0-0/16318/3 "2021-03-24T02:39:45Z")

</div>

Yes I did. My 3 previous attempts included patch 1. I patched the system again just before replying and now I’m on 6.0.0(1) Same issue.

---

<div class="post-metadata">

**Author:** ![brady.miller](https://community.open-emr.org/user_avatar/community.open-emr.org/brady.miller/32/10178_2.png) [@brady.miller](https://community.open-emr.org/u/brady.miller)\
**Post date:** [March 24, 2021, 6:05am UTC](https://community.open-emr.org/t/password-login-issue-after-upgrade-to-6-0-0/16318/4 "2021-03-24T06:05:36Z")

</div>

hi @ycharles ,

Strongly recommend avoiding removal of anything in key table since could potentially lose a large amount of data.

The error you are seeing makes me think your upgrade did not work (after upgrade, it then brings in the new globals, and it appears this has not happened).

After a failed login, recommend checking out the most recent entry in logs table in the comments column (it is encoded in base64, so will need to decode it to see it).
