Difference between revisions of "Ubuntu Package Upgrade to 4.1.1"
Bradymiller (talk | contribs) |
Bradymiller (talk | contribs) |
||
Line 1: | Line 1: | ||
= Overview = | |||
This is pertinent for all users who have OpenEMR version 3.0.1 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 on Ubuntu/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 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 and you previously installed openemr at directory /var/www/openemr . In both Ubuntu and Debian, recommend upgrading via command line. | This is pertinent for all users who have OpenEMR version 3.0.1 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 on Ubuntu/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 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 and you previously installed openemr at directory /var/www/openemr . In both Ubuntu and Debian, recommend upgrading via command line. | ||
Line 5: | Line 5: | ||
In OpenEMR, go to administration menu and select Backup. Then click 'Continue' and save the backup file to your computer.'''</span> | In OpenEMR, go to administration menu and select Backup. Then click 'Continue' and save the backup file to your computer.'''</span> | ||
= Upgrade = | |||
== Command line Ubuntu Upgrade == | == Command line Ubuntu Upgrade == | ||
1. '''Download and Upgrade (commands are in red):''' | 1. '''Download and Upgrade (commands are in red):''' | ||
Line 65: | Line 65: | ||
::''(server IP address can be found using 'ifconfig' command)'' | ::''(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 4.1.1. Instruction to do this can be found on the [[OpenEMR_Patches|OpenEMR Patches]] page. | After finishing above upgrade, recommending getting the most recent patch for version 4.1.1. Instruction to do this can be found on the [[OpenEMR_Patches|OpenEMR Patches]] page. | ||
= Support = | |||
Support:<br> | Support:<br> | ||
http://sourceforge.net/projects/openemr/forums<br> | http://sourceforge.net/projects/openemr/forums<br> |
Revision as of 23:30, 4 September 2012
Overview
This is pertinent for all users who have OpenEMR version 3.0.1 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 on Ubuntu/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 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 and you previously installed openemr at directory /var/www/openemr . In both Ubuntu 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.
Upgrade
Command line Ubuntu Upgrade
1. Download and Upgrade (commands are in red):
- wget downloads.sourceforge.net/openemr/openemr_4.1.1-1_all.deb
- sudo apt-get update
- sudo dpkg -i openemr_4.1.1-1_all.deb
- (If there was an error(s), then issue the following command (type 'Y' after): sudo apt-get install -f )
2. Now need to secure the patient documents directory (This step is pertinent if you are upgrading from version 4.1.0 or less):
- Modify the /etc/apache2/httpd.conf file with a text editor (note adding sites/*/ into the paths; if already contain sites/default/ paths, then still replace with below):
<Directory "/var/www/openemr/sites/*/documents"> order deny,allow Deny from all </Directory> <Directory "/var/www/openemr/sites/*/edi"> order deny,allow Deny from all </Directory> <Directory "/var/www/openemr/sites/*/era"> order deny,allow Deny from all </Directory>
- Restart Apache (commands are in red):
- sudo /etc/init.d/apache2 restart
3. 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_4.1.1-1_all.deb
- su
- apt-get update
- dpkg -i openemr_4.1.1-1_all.deb
- (If there was an error(s), then issue the following command (type 'Y' after): apt-get install -f )
2. Now need to secure the patient documents directory (This step is pertinent if you are upgrading from version 4.1.0 or less):
- Modify the /etc/apache2/httpd.conf file with a text editor (note adding sites/*/ into the paths; if already contain sites/default/ paths, then still replace with below):
<Directory "/var/www/openemr/sites/*/documents"> order deny,allow Deny from all </Directory> <Directory "/var/www/openemr/sites/*/edi"> order deny,allow Deny from all </Directory> <Directory "/var/www/openemr/sites/*/era"> order deny,allow Deny from all </Directory>
- Restart Apache (commands are in red):
- /etc/init.d/apache2 restart
3. 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 4.1.1. Instruction to do this can be found on the OpenEMR Patches page.
Support
Support:
http://sourceforge.net/projects/openemr/forums
Authors:
Brady Miller <brady@sparmy.com> http://www.bradymd.com/appliance/
Amalu Obinna <amaluobinna@aol.com>