Difference between revisions of "Ubuntu Package Upgrade to 5.0.1 with PHP7"
Bradymiller (talk | contribs) |
Bradymiller (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
== 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-php7_5.0.1- | :<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr-php7_5.0.1-4_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-php7_5.0.1- | :<span style="color:red;">'''sudo dpkg -i openemr-php7_5.0.1-4_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 27: | Line 27: | ||
== 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-php7_5.0.1- | :<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr-php7_5.0.1-4_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-php7_5.0.1- | :<span style="color:red;">'''dpkg -i openemr-php7_5.0.1-4_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 05:37, 14 October 2018
Overview
- This package works with Ubuntu 16.04(and later versions), Debian 9(and later version), and Mint 18(and later versions). For lesser versions of these operating systems (note that PHP 5.6 is required), then use the following PHP5 compatible package:
- 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, or 5.0.0 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, or 5.0.0 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-php7_5.0.1-4_all.deb
- sudo apt-get update
- sudo dpkg -i openemr-php7_5.0.1-4_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-php7_5.0.1-4_all.deb
- su
- apt-get update
- dpkg -i openemr-php7_5.0.1-4_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.1. Instruction to do this can be found on the OpenEMR Patches page.
Meaningful Use 2 Specific Instructions
Using OpenEMR
- See the OpenEMR 5.0.1 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>