-l List contents (with -q for short form)
-n Never overwrite files (default: ask)
-o Overwrite
-p Print to stdout
-q Quiet
-x FILE Exclude FILEs
-d DIR Extract into DIR
OpenEMR Version
I’m using OpenEMR version 5.0.1(4) -> trying to get to 5.0.1(5)
Operating System
I’m using: aws (Standard) with a t2.medium (ubuntu)
first I downloaded the 5-0-1-Patch-5.zip and then moved it into ~/.
Then, I ran the following as root:
PATCHFILE=5-0-1-Patch-5.zip
OE_INSTANCE=$(docker ps | grep _openemr | cut -f 1 -d " ")
/etc/cron.daily/duplicity-backups
I made a snapshot of RDS.
docker exec -it $OE_INSTANCE wget https://www.open-emr.org/patch/$PATCHFILE
docker exec -it $OE_INSTANCE unzip -o $PATCHFILE
docker exec -it $OE_INSTANCE rm $PATCHFILE
Then I visited http:///sql_patch.php in my browser and proceeded