I put the /var/www/5-0-0-Patch-3.zip ( this is where openemr lives) in a ubuntu 16.04 box and run localhost/openemr/sql_patch.php from my browser. The UI did not go more that
Updating version indicators…
Database Patch 0 finished.
The version.php file read:
v_major = ‘5’;
v_minor = ‘0’;
v_patch = ‘0’;
v_tag = ‘’;
v_real_patch = ‘0’;
v_database = 206;
v_acl = 3;
v_offsite_portal = ‘1.47’;
v_js_includes = 19
version Table = v_major 5, v_minor 0, v_patch 0, v_realpatch 0, v_database 206, v_acl 3
I believe that the patch is was not applied.
Some Thoughts will help !
Hi @robertovasquez ,
Ensure you follow the instructions here:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches#Linux
and ensure use sudo on the unzip command
sudo unzip 5-0-0-Patch-3.zip
-brady
if you download it from your browser then
sudo unzip ~/Downloads/5-0-0-Patch-3.zip -d /var/www/openemr
should put the new files in the sql_patch.php directory
from the unzip man page
[-d exdir]
An optional directory to which to extract files. By default,
all files and subdirectories are recreated in the current direc‐
tory; the -d option allows extraction in an arbitrary directory
(always assuming one has permission to write to the directory).
This option need not appear at the end of the command line; it
is also accepted before the zipfile specification (with the nor‐
mal options), immediately after the zipfile specification, or
between the file(s) and the -x option. The option and directory
may be concatenated without any white space between them, but
note that this may cause normal shell behavior to be suppressed.
In particular, -d ~'' (tilde) is expanded by Unix C shells into the name of the user's home directory, but
-d~‘’ is
treated as a literal subdirectory ``~‘’ of the current direc‐
tory.
Thanks Stephen, Brady
I was so efficient that I put the 5-0-0-Patch-3.zip outside openemr . The patch was pushed into openemr now.