I need help upgrading my 5.0.2 Docker installation on Lubuntu 20.04 LTS to version 6.0.0. I find these instructions at the bottom of this page:
Automatic upgrading of OpenEMR is supported when upgrade from 5.0.1 to 5.0.2+ (note this is not supported in the flex* series). In your docker-compose.yml file, you can basically change the 5.0.1 or 5.0.2 to 6.0.0 image 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/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.
Please can some kind soul give me some help? To begin with, how do I set a shared volume for the directory in question? (In my case it is /home/robert/openemr.)
Nobody knows? Someone must. Or is the question just too stupid? To clarify, what is unclear to me is the wording “set a shared volume for the … … directory”. I have googled this and what I find is lots of how-to guides to “sharing a folder over a local network”. Is this the same thing? I could just try it out, but given that the instructions above warn me to back everything up before going ahead, I am hesitant. Thank you.
But even so, I’m not sure what you’re suggesting I do here and now. That was an initial installation. I now need to upgrade. The upgrade instructions I posted above are not clear to me. The wording:
“set a shared volume for (such-and-such) a directory”
“do a docker-compose up”
I do not know what these phrases mean or how to carry them out.
Thank you, simple! I realise I omitted the ‘-d’ but it worked anyway. What was the ‘-d’ for? And what was all that about “setting a shared volume”? I suggest those upgrade instructions need a tweak.