Ubuntu Package Upgrade to 5.0.0 with PHP7
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 system, 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, or 4.2.2 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, or 4.2.2 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.0, 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.0-2_all.deb
- sudo apt-get update
- sudo dpkg -i openemr-php7_5.0.0-2_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.0-2_all.deb
- su
- apt-get update
- dpkg -i openemr-php7_5.0.0-2_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.0. Instruction to do this can be found on the OpenEMR Patches page.
Meaningful Use 2 Specific Instructions
Using OpenEMR
- See the OpenEMR 5.0.0 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:
http://sourceforge.net/projects/openemr/forums
Authors:
Brady Miller <brady@sparmy.com>
Amalu Obinna <amaluobinna@aol.com>