What is proper path / sequence of upgrading from Ubuntu 14.04 LTS/ OEMR 4.2.1 to Ubuntu 16.04 LTS/ OEMR 4.2.2

hamdpa wrote on Monday, May 30, 2016:

Hello to all!
Trying to Upgrade from PHP 5 / Ubuntu 14.04 LTS server / OEMR 4.2.1 to PHP 7 / Ubuntu 16.04 LTS server / OEMR 4.2.2. First brought up Ubuntu 14.04 LTS to date. Then tried upgrading up to 16.04 LTS. Not working. Should I first upgrade with the Ubuntu openemr-php5_4.2.2-1 package, then upgrade php 5 to 7 or upgrade from Ubuntu 14.04 LTS to Ubuntu 16.04 LTS? Or is there a better sequence?

Thank you,

Henry

bradymiller wrote on Monday, May 30, 2016:

Hi,

I’d recommend trying to upgrade to 4.2.2 in Ubuntu 14.04 via openemr-php5_4.2.2-1 package. And then from there, upgrading to Ubuntu 16.04. After done upgrading to 16.04, would then ensure you have all the required OpenEMR dependencies (they are different in php5 and php7 and are why there are 2 different packages) by doing (I am assuming you are using mysql and not mariadb):

sudo apt-get install apache2 mysql-server libapache2-mod-php libdate-calc-perl libdbd-mysql-perl libdbi-perl libhtml-parser-perl libtiff-tools libwww-mechanize-perl libxml-parser-perl php php-mysql php-cli php-gd php-xsl php-curl php-mcrypt php-soap php-json php-gettext imagemagick php-mbstring php-zip

For details on dependency differences between php5 and php7 check out this wiki section:
http://www.open-emr.org/wiki/index.php/OpenEMR_System_Architecture#OpenEMR_Dependencies

-brady
OpenEMR

hamdpa wrote on Tuesday, May 31, 2016:

Hi Brady,
Thank you for the help. I did the Ubuntu 14.04 openemr-php5_4.2.2-1 package. Got some errors and did the “sudo apt-get install -f”.
Got the congratulations screen below attachment.
Then got the errors below attachement.
The login page does not show any version #, thus not certain it is now running 4.2.2-1.
Looking around within the program appears to be ok.
Have not continued with Ubuntu 14 to 16 upgrade yet.

Please advise,

Henry

hamdpa wrote on Tuesday, May 31, 2016:

bradymiller wrote on Tuesday, May 31, 2016:

Hi,

Need to login to OpenEMR to see the version now (click the About link at top right). I am assuming the error you got was before you did “sudo apt-get install -f”; correct?

-brady
OpenEMR