Difference between revisions of "Ubuntu Package Upgrade to 4.1.2"

From OpenEMR Project Wiki
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Overview =
= Overview =
<span style="color:red"><b>This package has been confirmed to work with Ubuntu 12.04 and less versions and is NOT compatible with Ubuntu 14.04 and higher (a fixed package is under development)</b></span>
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 or 4.1.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 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 or 4.1.1 and you previously installed openemr at directory /var/www/openemr . In Ubuntu, Mint 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 or 4.1.1 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 or 4.1.1 and you previously installed openemr at directory /var/www/openemr . In both Ubuntu and Debian, recommend upgrading via command line.


<span style="color:red;">'''Backup before upgrade:<br>
<span style="color:red;">'''Backup before upgrade:<br>
Line 8: Line 6:


= Upgrade =
= Upgrade =
== Command line Ubuntu 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_4.1.2-2_all.deb'''</span><br>
:<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr_4.1.2-3_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_4.1.2-2_all.deb'''</span>
:<span style="color:red;">'''sudo dpkg -i openemr_4.1.2-3_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. Now need to secure the patient documents directory ('''This step is pertinent if you are upgrading from version 4.1.0 or less'''):
2. '''Then login to OpenEMR:'''
: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):
<pre><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></pre>
:Restart Apache (commands are in red):
::<span style="color:red;">sudo /etc/init.d/apache2 restart</span>
3. '''Then login to OpenEMR:'''
<!-- :Desktop - Click in Ubuntu menu Applications-> Office-> Electronic Medical Records - OpenEMR
<!-- :Desktop - Click in Ubuntu menu Applications-> Office-> Electronic Medical Records - OpenEMR
::''(can also login to OpenEMR by browsing to http://localhost/openemr)''-->
::''(can also login to OpenEMR by browsing to http://localhost/openemr)''-->
Line 39: Line 21:
== 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_4.1.2-2_all.deb'''</span><br>
:<span style="color:red;">'''wget downloads.sourceforge.net/openemr/openemr_4.1.2-3_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_4.1.2-2_all.deb'''</span>
:<span style="color:red;">'''dpkg -i openemr_4.1.2-3_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. Now need to secure the patient documents directory ('''This step is pertinent if you are upgrading from version 4.1.0 or less'''):
2. '''Then login to OpenEMR:'''
: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):
<pre><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></pre>
:Restart Apache (commands are in red):
::<span style="color:red;">/etc/init.d/apache2 restart</span>
3. '''Then login to OpenEMR:'''
<!-- :Desktop - Click in Debian menu Applications-> Office-> Electronic Medical Records - OpenEMR
<!-- :Desktop - Click in Debian menu Applications-> Office-> Electronic Medical Records - OpenEMR
::''(can also login to OpenEMR by browsing to http://localhost/openemr)''-->
::''(can also login to OpenEMR by browsing to http://localhost/openemr)''-->
Line 74: Line 40:


= Securing OpenEMR =
= Securing OpenEMR =
:See the [[Securing OpenEMR|Securing OpenEMR Guide]]
See the [[Securing OpenEMR|Securing OpenEMR Guide]]


= Support =
= Support =

Latest revision as of 10:06, 19 June 2014

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 or 4.1.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 or 3.1.0 or 3.2.0 or 4.0.0 or 4.1.0 or 4.1.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.

Upgrade

Command line Ubuntu/Mint Upgrade

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

wget downloads.sourceforge.net/openemr/openemr_4.1.2-3_all.deb
sudo apt-get update
sudo dpkg -i openemr_4.1.2-3_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_4.1.2-3_all.deb
su
apt-get update
dpkg -i openemr_4.1.2-3_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 4.1.2. Instruction to do this can be found on the OpenEMR Patches page.

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.

Securing OpenEMR

See the Securing OpenEMR Guide

Support

Support:
http://sourceforge.net/projects/openemr/forums


Authors:
Brady Miller <brady@sparmy.com> http://www.bradymd.com/appliance/
Amalu Obinna <amaluobinna@aol.com>