command ‘den’ from snap den (1.2.0-0)
command ‘dub’ from snap dub (1.18.0)
command ‘edb’ from deb edb-debugger
command ‘dex’ from deb dex
command ‘derb’ from deb icu-devtools
command ‘deb3’ from deb quilt
command ‘dep’ from deb go-dep
command ‘debc’ from deb devscripts
command ‘debi’ from deb devscripts
command ‘xdeb’ from deb xdeb
command ‘dub’ from deb dub
command ‘dab’ from deb bsdgames
I did step by step installation couple time, and it’s works without any problems, and I posted tested step by step instruction in this post.
But, it only for test version, not the stable one. Every time we logout from computer, its stops running, and we need to input codes to terminal again, to restart it.
I also need some information how to restore my uploaded data to docker.
Hi @ncavalier ,
I just linked to this thread from the main Docker thread. Recommend starting another thread regarding upgrade, so will then have a nice thread documenting that.
thanks,
-brady
mkdir testopenemr
cd testopenemr
wget https://gist.githubusercontent.com/bradymiller/b629738d5d9aee6c2e8c036e7916c719/raw/1e5b63b3963334a11c7d54e6c466cbf9197ac4ff/openemr-501-docker-example-docker-compose.yml
mv openemr-501-docker-example-docker-compose.yml docker-compose.yml
docker-compose up -d
(NOTE that above is installing OpenEMR 5.0.1!)
Copy files. Will be copying the sites directory from your current install (5.0.1) into the sites directory of the docker.
Copy database. Will dump your current database into a file. Then will truncate (ie. clear it) the database on the docker. Then will import the database from the file into the docker.
Then will edit the docker-compose.yml file and change the 5.0.1 to a 5.0.2.
Then will run docker-compose up -d and viola then magic will happen with 5.0.1 being upgraded to 5.0.2 in several seconds
This gives you a general idea. Step 1 is done from above. Now we need to work on the other steps, which can all be done via command line
And will get to learn some good commandline skillsets (doing mysqldump and import, copying files into a docker, running commands in the docker without even going into the docker; very fun stuff). First steps are to ensure you have access to your sites directory in your current OpenEMR and what OS your current OpenEMR is in. Just let me know these things.
Hi Brady, I played around with openemr 502 on docker and removed and installed again it works very good, But when tried to install ver 501 ( the code you provided) returned error result - could you please check if you posted correct address for ver 501. thanks Robert.
I confirmed above code works for 501. Ensure you aren’t using a port in the docker-compose.yml that is conflicting with a already used port. If still issues, then post the error here.
Thanks Brady it works well.
I tried to put patch 7 on 501 because it has patch 6 - in order to upgrade to 502 all patches should be installed. Could not do it. I think it would be good idea to post along that how to install docker compose to post how to patch database, how to restore and how to upgrade on the docker.
Hi Brady
I did successfully installation of 5.0 1. (6)
Your instruction works perfectly, no any errors.
Next step need more detailed information about restoring tar file.
Rather than rely on that tar, would actually be best to bypass that and get the files and database directly from the source (the original openemr instance), since the Backup within OpenEMR is not perfect (for example, it can have issues when the database/instance is too large).