Difference between revisions of "Ubuntu Package Upgrade to 5.0.2"

From OpenEMR Project Wiki
 
Line 11: Line 11:
== Command line Ubuntu/Mint Upgrade ==
== Command line Ubuntu/Mint Upgrade ==
1. '''Download and Upgrade (commands are in red):'''
1. '''Download and Upgrade (commands are in red):'''
:<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr_5.0.2-1_all.deb'''</span><br>
:<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr-5.0.2-1_all.deb'''</span><br>
:<span style="color:red;">'''sudo apt-get update'''</span><br>
:<span style="color:red;">'''sudo apt-get update'''</span><br>
:<span style="color:red;">'''sudo dpkg -i openemr_5.0.2-1_all.deb'''</span>
:<span style="color:red;">'''sudo dpkg -i openemr-5.0.2-1_all.deb'''</span>
::'' (If there was an error(s), then issue the following command (type 'Y' after):''<span style="color:red;"> '''sudo apt-get install -f''' </span>)
::'' (If there was an error(s), then issue the following command (type 'Y' after):''<span style="color:red;"> '''sudo apt-get install -f''' </span>)
2. '''Then login to OpenEMR:'''
2. '''Then login to OpenEMR:'''
Line 24: Line 24:
== Command line Debian Upgrade ==
== Command line Debian Upgrade ==
1. '''Download and Upgrade (commands are in red):'''
1. '''Download and Upgrade (commands are in red):'''
:<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr_5.0.2-1_all.deb'''</span><br>
:<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr-5.0.2-1_all.deb'''</span><br>
:<span style="color:red;">'''su'''</span><br>
:<span style="color:red;">'''su'''</span><br>
:<span style="color:red;">'''apt-get update'''</span><br>
:<span style="color:red;">'''apt-get update'''</span><br>
:<span style="color:red;">'''dpkg -i openemr_5.0.2-1_all.deb'''</span>
:<span style="color:red;">'''dpkg -i openemr-5.0.2-1_all.deb'''</span>
::'' (If there was an error(s), then issue the following command (type 'Y' after):''<span style="color:red;"> '''apt-get install -f''' </span>)
::'' (If there was an error(s), then issue the following command (type 'Y' after):''<span style="color:red;"> '''apt-get install -f''' </span>)
2. '''Then login to OpenEMR:'''
2. '''Then login to OpenEMR:'''

Latest revision as of 06:28, 4 August 2019

Overview

This is pertinent for all users who have OpenEMR version 3.0.1, 3.1.0, 3.2.0, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 5.0.0, or 5.0.1 on Ubuntu/Mint/Debian, and is basically a automated upgrade process (I do recommend backing OpenEMR up via the first step to avoid data loss). Note, you do not need to have the package installed previously to do an upgrade; it will work without the package being previously installed if you are using OpenEMR version 3.0.1, 3.1.0, 3.2.0, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 5.0.0, or 5.0.1 and you previously installed openemr at directory /var/www/openemr . In Ubuntu, Mint and Debian, recommend upgrading via command line.

Backup before upgrade:
In OpenEMR, go to administration menu and select Backup. Then click 'Continue' and save the backup file to your computer.

This can take a long time:
If upgrading from a version below 5.0.0 to 5.0.1, then this can take anywhere from several minutes to several hours! This is because the database is being converted from MyISAM to InnoDB.

Upgrade

Command line Ubuntu/Mint Upgrade

1. Download and Upgrade (commands are in red):

wget downloads.sourceforge.net/openemr/openemr-5.0.2-1_all.deb
sudo apt-get update
sudo dpkg -i openemr-5.0.2-1_all.deb
(If there was an error(s), then issue the following command (type 'Y' after): sudo apt-get install -f )

2. Then login to OpenEMR:

Desktop - Browse to http://localhost/openemr .
Server - From another computer browse to server at http://server_IP_address/openemr .
(server IP address can be found using 'ifconfig' command)

Command line Debian Upgrade

1. Download and Upgrade (commands are in red):

wget downloads.sourceforge.net/openemr/openemr-5.0.2-1_all.deb
su
apt-get update
dpkg -i openemr-5.0.2-1_all.deb
(If there was an error(s), then issue the following command (type 'Y' after): apt-get install -f )

2. Then login to OpenEMR:

Desktop - Browse to http://localhost/openemr .
Server - From another computer browse to server at http://server_IP_address/openemr .
(server IP address can be found using 'ifconfig' command)

Download and install most recent patch

After finishing above upgrade, recommending getting 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

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 this forum discussionfor the solution.

Support

Support:
https://community.open-emr.org/


Authors:
Brady Miller <brady@sparmy.com>
Amalu Obinna <amaluobinna@aol.com>