Upgrading 4.1.1 to ver5


#1

Hello,

Am running into some problems upgrading my OpenEMR.

My current system is a cloud server:
Ubuntu 12.04 running OpenEMR 4.1.1 (11)

Wish to now upgrade to OpenEMR 5.0.1.
Following instructions on https://www.open-emr.org/wiki/index.php/Ubuntu_Package_Upgrade_to_5.0.1_with_PHP5
but get the error:

sudo dpkg -i openemr-php5_5.0.1-4_all.deb** dpkg-deb: error: `openemr-php5_5.0.1-4_all.deb’ is not a debian format archive dpkg: error processing openemr-php5_5.0.1-4_all.deb (–install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: openemr-php5_5.0.1-4_all.deb

Tried sudo apt-get install -f
but it just comes up with:

sudo apt-get install -f** Reading package lists… Building dependency tree… Reading state information… 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.

Would really appreciate some help on this, pls.


(Stephen Waite) #2

looks like your download failed

https://sourceforge.net/projects/openemr/files/OpenEMR%20Ubuntu_debian%20Package/5.0.1/


#3

Re-downloaded and tried to run, this time getting the error,

This package does not support upgrading your current version of OpenEMR

And now when I try to run OpenEME, get the message

PHP version needs to be at least 5.6.0.

So it’s obviously made some changes to my current install.:thinking:


#4

Just took a look at the URL and see I’m now being rediredcted to
http://server_ipnumber/openemr/setup.php?site=default
instead of the usual login page


#5

Output from php -v …

PHP 5.3.10-1ubuntu3.26 with Suhosin-Patch (cli) (built: Feb 13 2017 20:37:53)
Copyright © 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies


#6

No trying to update OS and get

Now updating apt apt-transport-https apt-utils dpkg grub-common grub-pc grub-pc-bin grub2-common isc-dhcp-client isc-dhcp-common libapt-inst1.4 libapt-pkg4.12 makedev psmisc ubuntu-minimal ubuntu-standard unattended-upgrades update-manager-core …

Installing package(s) with command apt-get -y install apt apt-transport-https apt-utils dpkg grub-common grub-pc grub-pc-bin grub2-common isc-dhcp-client isc-dhcp-common libapt-inst1.4 libapt-pkg4.12 makedev psmisc ubuntu-minimal ubuntu-standard unattended-upgrades update-manager-core ..

dpkg: dependency problems prevent configuration of openemr:
 openemr depends on php-gettext; however:
  Package php-gettext is not installed.
 openemr depends on php5-ldap; however:
  Package php5-ldap is not installed.
dpkg: error processing openemr (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 openemr
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 openemr : Depends: php-gettext but it is not going to be installed
           Depends: php5-ldap but it is not going to be installed
 ubuntu-minimal : Depends: ubuntu-advantage-tools but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

#8

ok, so I started had taken a snapshot of the server before I embarked on doing to upgrade.

So I now restored the snapshot and this time did the upgrade again, looks like the upgrade process completed successfully (pls see image)

Only thing is, now when I try to access OpenEMR using http://ip_number/openemr I’m redirected to http://ip_number/openemr/interface/login/login.php?site=default
which displays a blank page.

Would really appreciate some help on this, pls.


#9

just in case, php error logs atachederror.log.tar.gz (238.5 KB)