Decryption and Key creation issues (Blank Screen - Is Not file permissions)

I’m getting a blank page when I bring up the login screen.
https://prodgcp.duxlinkhealth.com/interface/login/login.php?site=default

I’ve already made sure that the dir/files permissions are correct by running.
find documents -type f -exec chmod 666 {} + -o -type d -exec chmod 775 {} +
Yet the problem still persist.

OpenEMR Version
I’m using OpenEMR version 6

Browser:
I’m using: FireFox 85, Chrome 88

Operating System
I’m using: Ubuntu 20.04LTS

Logs
Did you check the logs? Yes
Was there anything pertinent in them? Yes

[Mon Feb 15 14:46:35.682042 2021] [mpm_prefork:notice] [pid 1340556] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon Feb 15 14:46:35.682200 2021] [core:notice] [pid 1340556] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 15 14:46:50.160487 2021] [php7:notice] [pid 1340557] [client :60250] OpenEMR Error : Decryption failed authentication.
[Mon Feb 15 14:46:50.160536 2021] [php7:notice] [pid 1340557] [client :60250] OpenEMR Error : Key creation is not working - Exiting.```

You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

If the file keys were not generated from the database key then this can happen. Generally happens when restoring database or such.

Try deleting sites/default/documents/logs_and_misc/methods/sixa and sixb then clear browser and login.

3 Likes

that got rid of the white screen but on TOTP it simply spins.

Looks like I deleted the db entry for the admin in the login_mfa_registrations table. Which why this is simply spinning. How can I fix it?

There’re a couple forum threads around dealing with this issue. Check around…

Hi Team,

can any one help me to resolve below error
“It was not possible to parse your key, reason: error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe crypt
error”

I don’t understand why this error is come
Please help em anyone.

this is like magic!
It has restored my website. Thank you so much.