iHRIS Installation on Ubuntu 20.04

268 views
Skip to first unread message

Jason Ndemueda

unread,
Jun 14, 2021, 7:59:38 AM6/14/21
to ih...@googlegroups.com
Hi All,

I have installed iHRIs on ubuntu 20.04, and have all the required packages installed. I'm running PHP 7 instead of 5 . iHRIS verssion is 4.2.

when I run the site update I'm getting the below error:

"Required module I2CE could not be enabled/upgraded. Failing system update"


regards
Jason

--

Jason N Ndemueda|System Developer

IntraHealth International Because Health Workers Save Lives

t. +264 (061) 303799m. +264 814464232jnde...@intrahealth.org | skype: jasonndemueda

Robin Kumar

unread,
Jun 14, 2021, 8:17:03 AM6/14/21
to ih...@googlegroups.com
Hi,

You may try to iHRIS 4.2 install.  The instructions are available here:


Sent from my iPhone

On 14-Jun-2021, at 5:29 PM, Jason Ndemueda <ndemued...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "Global iHRIS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ihris+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ihris/CAGdJtpAHZoAwcLm7xEZ%3DbvStgvKiZVy6ANfPUMoF83-o-iZ%3DEQ%40mail.gmail.com.

Jason Ndemueda

unread,
Jun 14, 2021, 8:25:13 AM6/14/21
to ih...@googlegroups.com
when i run it on 4.2 and 4.3 it gives me a different error bellow

Fatal Error:Array
(
[type] => 2
[message] => "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
[file] => /var/lib/iHRIS/releases/4.3/i2ce/lib/I2CE_Util.php
[line] => 468
)

Jason Ndemueda

unread,
Jun 14, 2021, 9:08:35 AM6/14/21
to ih...@googlegroups.com
Hi All,

I manage to fix the error by running the this command : { sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y }

So the site loaded but brought another error of an uncaught exception see bellow:

"Fatal Error:Array
(
[type] => 1
[message] => Uncaught Error: Call to undefined method iHRIS_UUID_Map::generateUUID() in /var/lib/iHRIS/releases/4.3/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php:74
Stack trace:
#0 /var/lib/iHRIS/releases/4.3/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php(526): iHRIS_CSDCache::generateUUIDasOID()
#1 /var/lib/iHRIS/releases/4.3/ihris-manage/modules/CSDUpdatedServices/lib/iHRIS_Module_ManageCSD.php(77): iHRIS_CSDCache::intialize_csd_cache_metadata()
#2 /var/lib/iHRIS/releases/4.3/ihris-manage/modules/CSDUpdatedServices/lib/iHRIS_Module_ManageCSD.php(36): iHRIS_Module_ManageCSD->intialize_csd_cache_metadata()
#3 /var/lib/iHRIS/releases/4.3/i2ce/lib/I2CE_Updater.php(1068): iHRIS_Module_ManageCSD->post_update()
#4 /var/lib/iHRIS/releases/4.3/i2ce/lib/I2CE_Updater.php(716): I2CE_Updater::postUpdateModule()
#5 /var/lib/iHRIS/releases/4.3/i2ce/lib/I2CE_Updater.php(281): I2CE_Updater::_updateModules()
#6 /var/lib/iHRIS/releases/4.3/i2ce/lib/I2CE_Updater.php(156): I2CE_Updater::install()
#7 /var
[file] => /var/lib/iHRIS/releases/4.3/ihris-common/modules/CSD/modules/CSDCache/lib/iHRIS_CSDCache.php
[line] => 74
) "


Any one with an idea how to resolve this?

regards
Jason

Sovello Hildebrand Mgani

unread,
Jun 14, 2021, 11:36:05 AM6/14/21
to ih...@googlegroups.com
You can try enabling uuid module, hoping php-uuid is already installed

sarfaraz laghari

unread,
Oct 15, 2021, 6:03:08 AM10/15/21
to Global iHRIS Community
I also have issue while installation on fresh ubuntu 20.02
error.png
Reply all
Reply to author
Forward
0 new messages