Difference between revisions of "Linux Upgrade 5.0.1 to 5.0.2"

From OpenEMR Project Wiki
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=== Upgrade ===
=== Upgrade ===
# Move current (5.0.0) /openemr directory to a backup directory
# Move current (5.0.1) /openemr directory to a backup directory openemr_bk
# Unpackage 5.0.1 openemr into web directory and rename the directory to openemr
# Unpackage 5.0.2 openemr into web directory and rename the directory to openemr
# Move following directories from old 5.0.0 version to /openemr directory:
# Copy following directories from old 5.0.1 version to /openemr directory (copy in the same order as listed below):
#:openemr/sites/default/documents  
#:openemr_bk/sites/default/documents (COPY TO) => openemr/sites/default/documents
#:openemr/sites/default/edi
#:openemr_bk/sites/default/edi (COPY TO) => openemr/sites/default/documents/edi
#:openemr/sites/default/era
#:openemr_bk/sites/default/era (COPY TO) => openemr/sites/default/documents/era
#:openemr/sites/default/letter_templates
#:openemr_bk/sites/default/letter_templates/custom_pdf.php (COPY TO) => openemr/sites/default/custom_pdf.php
# Record the openemr/sites/default/sqlconf.php file variables from your old 5.0.0 version, and type these into the openemr/sites/default/sqlconf.php file in new openemr version
#:openemr_bk/sites/default/letter_templates (COPY TO) => openemr/sites/default/documents/letter_templates
#:openemr_bk/sites/default/procedure_results (COPY TO) => openemr/sites/default/documents/procedure_results
#* Example commands for ubuntu:
#::<pre>cp -r openemr_bk/sites/default/documents openemr/sites/default/</pre>
#::<pre>cp -r openemr_bk/sites/default/edi openemr/sites/default/documents/</pre>
#::<pre>cp -r openemr_bk/sites/default/era openemr/sites/default/documents/</pre>
#::<pre>cp openemr_bk/sites/default/letter_templates/custom_pdf.php openemr/sites/default/</pre>
#::<pre>cp openemr_bk/sites/default/letter_templates openemr/sites/default/documents/</pre>
#::<pre>cp openemr_bk/sites/default/procedure_results  openemr/sites/default/documents/</pre>
# Record the openemr/sites/default/sqlconf.php file variables from your old 5.0.1 version, and type these into the openemr/sites/default/sqlconf.php file in new openemr version
# In the openemr/sites/default/sqlconf.php file, set the $config variable (found near bottom of file within bunch of slashes) to 1 ($config = 1;).
# In the openemr/sites/default/sqlconf.php file, set the $config variable (found near bottom of file within bunch of slashes) to 1 ($config = 1;).
# Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.0 and click 'Upgrade Database'
# Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.1 and click 'Upgrade Database'
# Configure optional settings in openemr/sites/default/config.php files
# Configure optional settings in openemr/sites/default/config.php files
 
<br>


=== Download and install most recent patch ===
=== Download and install most recent patch ===
:After finishing above upgrade, recommending getting the most recent patch for version 5.0.1. Instruction to do this can be found on the [[OpenEMR_Patches|OpenEMR Patches]] page.
:After finishing this upgrade to OpenEMR version 5.0.2, it is recommended that you check if there are any patches to apply.  If so, install the most recent patch for version 5.0.2. Instruction to do this can be found on the [[OpenEMR_Patches|OpenEMR Patches]] page.
<br>
<br>


=== Meaningful Use 2 Specific Instructions ===
=== Meaningful Use 2 Specific Instructions ===
*[[OpenEMR 5.0.1 MU2 Install Instructions]]
*[[OpenEMR 5.0.2 MU2 Install Instructions]]
<br>
<br>


=== Using OpenEMR ===
=== Using OpenEMR ===
:See the [[OpenEMR_5.0.1_Users_Guide|OpenEMR 5.0.1 User Guide]]
:See the [[OpenEMR_5.0.2_Users_Guide|OpenEMR 5.0.2 User Guide]]
<br>
<br>


=== Securing OpenEMR ===
=== Securing OpenEMR ===
:See the [[Securing OpenEMR|Securing OpenEMR Guide]]
:See the [[Securing OpenEMR|Securing OpenEMR Guide]]
<br>
===Calendar Glitch===
If your calendar had not been properly set up and this message appears after the upgrade, "This appointment slot is already used. Use it anyway?"; see  [https://sourceforge.net/p/openemr/discussion/202505/thread/8935a604/ this forum discussion]for the solution.
<br>
<br>
<br>
<br>
Support:<br>
http://sourceforge.net/projects/openemr/forums<br>
<br>
<br>
[[Category:Upgrade]][[Category:Linux Package]]
[[Category:Upgrade]][[Category:Linux Package]]

Latest revision as of 22:46, 4 January 2020

Upgrade

  1. Move current (5.0.1) /openemr directory to a backup directory openemr_bk
  2. Unpackage 5.0.2 openemr into web directory and rename the directory to openemr
  3. Copy following directories from old 5.0.1 version to /openemr directory (copy in the same order as listed below):
    openemr_bk/sites/default/documents (COPY TO) => openemr/sites/default/documents
    openemr_bk/sites/default/edi (COPY TO) => openemr/sites/default/documents/edi
    openemr_bk/sites/default/era (COPY TO) => openemr/sites/default/documents/era
    openemr_bk/sites/default/letter_templates/custom_pdf.php (COPY TO) => openemr/sites/default/custom_pdf.php
    openemr_bk/sites/default/letter_templates (COPY TO) => openemr/sites/default/documents/letter_templates
    openemr_bk/sites/default/procedure_results (COPY TO) => openemr/sites/default/documents/procedure_results
    • Example commands for ubuntu:
    cp -r openemr_bk/sites/default/documents openemr/sites/default/
    cp -r openemr_bk/sites/default/edi openemr/sites/default/documents/
    cp -r openemr_bk/sites/default/era openemr/sites/default/documents/
    cp openemr_bk/sites/default/letter_templates/custom_pdf.php openemr/sites/default/
    cp openemr_bk/sites/default/letter_templates openemr/sites/default/documents/
    cp openemr_bk/sites/default/procedure_results  openemr/sites/default/documents/
  4. Record the openemr/sites/default/sqlconf.php file variables from your old 5.0.1 version, and type these into the openemr/sites/default/sqlconf.php file in new openemr version
  5. In the openemr/sites/default/sqlconf.php file, set the $config variable (found near bottom of file within bunch of slashes) to 1 ($config = 1;).
  6. Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.1 and click 'Upgrade Database'
  7. Configure optional settings in openemr/sites/default/config.php files


Download and install most recent patch

After finishing this upgrade to OpenEMR version 5.0.2, it is recommended that you check if there are any patches to apply. If so, install the most recent patch for version 5.0.2. Instruction to do this can be found on the OpenEMR Patches page.


Meaningful Use 2 Specific Instructions


Using OpenEMR

See the OpenEMR 5.0.2 User Guide


Securing OpenEMR

See the Securing OpenEMR Guide