we can try debugging by using the nano text editor which is hopefully installed in your docker
- logout of openemr
- in terminal :
docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") nano src/Common/Crypto/CryptoGen.php
- hold the
<Ctrl>
key and hit the / (forward slash) - type 466 and hit enter to go to that line #
- insert this debugging line above that line
error_log("about to decrypt drive key " . file_get_contents($GLOBALS['OE_SITE_DIR'] . "/documents/logs_and_misc/methods/" . $label));
-
<Ctrl>
x to save, Y to save modified buffer, enter to use the file name - refresh openemr login page ( this will look for keys)
- back to terminal and look in error log with this command
docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") tail /var/log/apache2/error.log