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.1
to5.0.2+
(note this is not supported in theflex*
series). In your docker-compose.yml file, you can basically change the5.0.1
or5.0.2
to6.0.0
image and then do adocker-compose up
. This will only work if you have set a shared volume for the/var/www/localhost/htdocs/openemr/sites
directory (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/openemr
directory). 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?
Thanks!
Jonas