Cannot start Docker

we can try debugging by using the nano text editor which is hopefully installed in your docker

  1. logout of openemr
  2. in terminal : docker exec -it $(docker ps | grep _openemr | cut -f 1 -d " ") nano src/Common/Crypto/CryptoGen.php
  3. hold the <Ctrl> key and hit the / (forward slash)
  4. type 466 and hit enter to go to that line #
  5. 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));
  1. <Ctrl> x to save, Y to save modified buffer, enter to use the file name
  2. refresh openemr login page ( this will look for keys)
  3. 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