Situation
I was testing the backup/restore capabilities of OpenEMR Cloud Standard edition from AWS Marketplace, and after another new clean install I noticed that the OpenEMR server is not running. I completely deleted the entire CF stack and tried to install again from the same marketplace product. No luck. Tried with versions 7.0.1-1
and 7.0.2
. Also tried this on another AWS account. The ‘docker logs’ command show the issue below (see logs).
I checked the docker-compose.yaml
file - all variables are properly set. But within the container the /var/www/localhost/htdocs/openemr/sites/default/sqlconf.php
is not updated and contains the defaults. I tried to echo
the environment variables from the ‘openemr.sh’ file, like MYSQL_HOST or MYSQL_ROOT_USER, nothing is shown. Maybe this will help with anything.
Btw, I asked my coworker to try installing this as well today, and the deployment fails with the same error. I don’t see what could be wrong, as the CF template parameters are pretty straightforward and the deployments succeeds, this is the server which does not start.
OpenEMR Version
7.0.1-1, 7.0.2
Browser:
I’m using: Safari
Operating System
I’m using: macOS Sonoma 14.3
Search
This issus seems to be new. I tried to install also from the CF template for version 7.0.1 which was successfully deployed several months ago - same error.
Logs
Couldn't set up. Any of these reasons could be what's wrong:
- You didn't spin up a MySQL container or connect your OpenEMR container to a mysql instance
- MySQL is still starting up and wasn't ready for connection yet
- The Mysql credentials were incorrect