Install latest patch as by Dec 20-2011

blankev wrote on Monday, December 19, 2011:

I did find the UBUNTU 11.01 install of my OpenEMR4.1 (the local-host folder) now I want to execute the download and extract of the patch bu I have no permission for pasting and extracting in the folder  var/www/openemr

using:

UBUNTU 11.01
OpenEMR version 4.1

What do I have to do to get the right permissions to extract the patch in the right place?

I stopped APACHE2 and tried. I looked for a get file but I have to little knowledge of UBUNTU to get it working.

Please HELP!

Pimm

ajperezcrespo wrote on Monday, December 19, 2011:

Hi Pimm,

   try this from a term (after placing the patch in /var/www/openemr)

cd   /var/www/openemr
sudo unzip  4-1-0-Patch-5.zip (Over write all)
sudo rm -fr /var/www/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled/

or if you really wanna be risky.

sudo su
cd   /var/www/openemr
unzip  4-1-0-Patch-5.zip (Over write all)
rm -fr /var/www/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled/

In both instances you will need to run the sql upgrade.

Open web browser and go to http://your_server_name_or_ip/openemr/sql_patch.php

BTW: Always back up prior to any updates.

Alfonso

blankev wrote on Tuesday, December 20, 2011:

I am sure it has something to do with my First install in Ubuntu 11.01 but I keep getting this error message:

**Extraction not performed

You don’t have the right permissions to extract archives in the folder “file:///var/www/openemr”**

So can you please explain where do I have to make the changes to make a copy=> paste for downloads to the var/www/openemr       folder?

I am an administrator, but do not own the folders of OpenEMR? How can I make a change and become an owner of the files needed for extraction of the Patch.zip file?

Tnx in advance, Pimm

yehster wrote on Tuesday, December 20, 2011:

Pimm,
Suggest that you use the man pages of your ubuntu system.
type
man <command>
and read up on sudo, chmod, chgrp chown
Alfonso’s instructions would have worked if you tried them