Difference between revisions of "Linux Upgrade 5.0.2 to 6.0.0"

From OpenEMR Project Wiki
(Created page with "=== Upgrade === # Move current (5.0.2) /openemr directory to a backup directory openemr_bk # Unpackage 6.0.0 openemr into web directory and rename the directory to openemr # Reco...")
 
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
# Move current (5.0.2) /openemr directory to a backup directory openemr_bk
# Move current (5.0.2) /openemr directory to a backup directory openemr_bk
# Unpackage 6.0.0 openemr into web directory and rename the directory to openemr
# Unpackage 6.0.0 openemr into web directory and rename the directory to openemr
# Record the openemr/sites/default/sqlconf.php file variables from your old 5.0.2 version, and type these into the openemr/sites/default/sqlconf.php file in new openemr version
# Copy following directory from old 5.0.2 version to /openemr directory:
# 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;).
#:openemr_bk/sites/default/documents (COPY TO) => openemr/sites/default/documents
# Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.2 and click 'Upgrade Database'
# Copy the openemr/sites/default/sqlconf.php file from your old 5.0.2 version into the 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;)
# Open openemr/sql_upgrade.php (http://localhost/openemr/sql_upgrade.php) in web browser, choose 5.0.2 and click 'Upgrade Database'. If you're using multi-sites, see [[OpenEMR Multiple Sites Module]].
# Configure optional settings in openemr/sites/default/config.php files
# Configure optional settings in openemr/sites/default/config.php files
<br>
<br>

Latest revision as of 21:22, 24 October 2021

Upgrade

  1. Move current (5.0.2) /openemr directory to a backup directory openemr_bk
  2. Unpackage 6.0.0 openemr into web directory and rename the directory to openemr
  3. Copy following directory from old 5.0.2 version to /openemr directory:
    openemr_bk/sites/default/documents (COPY TO) => openemr/sites/default/documents
  4. Copy the openemr/sites/default/sqlconf.php file from your old 5.0.2 version into the 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.2 and click 'Upgrade Database'. If you're using multi-sites, see OpenEMR Multiple Sites Module.
  7. Configure optional settings in openemr/sites/default/config.php files


Download and install most recent patch

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


Using OpenEMR

See the OpenEMR 6.0.0 User Guide


Securing OpenEMR

See the Securing OpenEMR Guide