Difference between revisions of "Ubuntu Package Upgrade to 4.0.0"

From OpenEMR Project Wiki
m (8 revisions: Ubuntu_Package_Upgrade_to_4.0.0)
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:


== Command line Ubuntu Upgrade ==
== Command line Ubuntu Upgrade ==
'''Commands (commands are in red):'''
'''Download and Upgrade (commands are in red):'''
:<span style="color:red;">wget downloads.sourceforge.net/openemr/openemr_4.0.0-1_all.deb</span><br>
:<span style="color:red;">wget downloads.sourceforge.net/openemr/openemr_4.0.0-1_all.deb</span><br>
:<span style="color:red;">sudo aptitude update</span><br>
:<span style="color:red;">sudo aptitude update</span><br>
:<span style="color:red;">sudo dpkg -i openemr_4.0.0-1_all.deb</span>
:<span style="color:red;">sudo dpkg -i openemr_4.0.0-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>)
'''Now need to secure the patient documents directory (it was moved in upgrade to version 4.0):'''
:Modify the /etc/apache2/httpd.conf file with a text editor (note adding sites/default/ into the paths):
<pre><Directory "/var/www/openemr/sites/default/documents">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/edi">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/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>
'''Then login to OpenEMR:'''
'''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
Line 17: Line 33:
:Server - From another computer browse to server at http://server_IP_address/openemr .
:Server - From another computer browse to server at http://server_IP_address/openemr .
::''(server IP address can be found using 'ifconfig' command)''
::''(server IP address can be found using 'ifconfig' command)''




== Command line Debian Upgrade ==
== Command line Debian Upgrade ==
'''Commands (commands are in red):'''
'''Download and Upgrade (commands are in red):'''
:<span style="color:red;">wget downloads.sourceforge.net/openemr/openemr_4.0.0-1_all.deb</span><br>
:<span style="color:red;">wget downloads.sourceforge.net/openemr/openemr_4.0.0-1_all.deb</span><br>
:<span style="color:red;">su</span><br>
:<span style="color:red;">su</span><br>
Line 27: Line 42:
:<span style="color:red;">dpkg -i openemr_4.0.0-1_all.deb</span>
:<span style="color:red;">dpkg -i openemr_4.0.0-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>)
'''Now need to secure the patient documents directory (it was moved in upgrade to version 4.0):'''
:Modify the /etc/apache2/httpd.conf file with a text editor (note adding sites/default/ into the paths):
<pre><Directory "/var/www/openemr/sites/default/documents">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/edi">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/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>
'''Then login to OpenEMR:'''
'''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
Line 42: Line 73:
Brady Miller <brady@sparmy.com> http://www.bradymd.com/appliance/<br>
Brady Miller <brady@sparmy.com> http://www.bradymd.com/appliance/<br>
Amalu Obinna <amaluobinna@aol.com><br>
Amalu Obinna <amaluobinna@aol.com><br>
[[Category:Upgrade]][[Category:Ubuntu Package]][[Category:Debian Package]]

Latest revision as of 21:26, 24 April 2012

Overview

This is pertinent for all users who have OpenEMR version 3.0.1 or 3.1.0 r 3.2.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 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.


Command line Ubuntu Upgrade

Download and Upgrade (commands are in red):

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

Now need to secure the patient documents directory (it was moved in upgrade to version 4.0):

Modify the /etc/apache2/httpd.conf file with a text editor (note adding sites/default/ into the paths):
<Directory "/var/www/openemr/sites/default/documents">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/edi">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/era">
order deny,allow
Deny from all
</Directory>

Restart Apache (commands are in red):

sudo /etc/init.d/apache2 restart

Then login to OpenEMR:

Desktop - Click in Ubuntu menu Applications-> Office-> Electronic Medical Records - OpenEMR
(can also login to OpenEMR by browsing 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

Download and Upgrade (commands are in red):

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

Now need to secure the patient documents directory (it was moved in upgrade to version 4.0):

Modify the /etc/apache2/httpd.conf file with a text editor (note adding sites/default/ into the paths):
<Directory "/var/www/openemr/sites/default/documents">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/edi">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/openemr/sites/default/era">
order deny,allow
Deny from all
</Directory>

Restart Apache (commands are in red):

/etc/init.d/apache2 restart

Then login to OpenEMR:

Desktop - Click in Debian menu Applications-> Office-> Electronic Medical Records - OpenEMR
(can also login to OpenEMR by browsing 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)


Support

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


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