I’m helping my friend upgrade his OpenEMR instance to the latest and greatest. We installed 5.0.2 via an AMI on the AWS marketplace. I’ve found these instructions on the docker page for OpenEMR:
- Automatic upgrading of OpenEMR is supported when upgrade from
5.0.2+(note this is not supported in the
flex*series). In your docker-compose.yml file, you can basically change the
6.0.0image and then do a
docker-compose up. This will only work if you have set a shared volume for the
/var/www/localhost/htdocs/openemr/sitesdirectory (it will not work if either you didn’t set a shared volume or you set the shared volume to be the entire
/var/www/localhost/htdocs/openemrdirectory). Before you do this, recommend backing everything up.
The bit about setting a shared volume I’m afraid I don’t grok. Is this something that would’ve been done by AWS when setting up the image for the first time? If I can’t go this route, should I go the upgrading Linux route involving just manually moving files around inside the docker image itself?