Topic: Info: Fusioninventory and wrong entry in glpienv.php

Hallo,
I have new installed OCS and GLPI with Remi's repository on CentOS 7.
In this procedure I found two things:

1. At the site https://blog.remirepo.net/post/2017/09/ … ion-9.2-en you can see that the Fusioninventory plugin for GLPI (glpi-fusioninventory-9.2.0.1.0-1) should be available in the repo.
But it's not, or do I have a mistake?
# yum --enablerepo=remi,remi-test install glpi-fusioninventory-9.2.0.1.0-1
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirrors.psw.services
* epel: epel.besthosting.ua
* extras: centos.bio.lmu.de
* remi: fr.mirror.babylon.network
* remi-php72: fr2.rpmfind.net
* remi-safe: fr.mirror.babylon.network
* remi-test: fr2.rpmfind.net
* updates: centos.mirror.net-d-sign.de
No package glpi-fusioninventory-9.2.0.1.0-1 available.
Error: Nothing to do

2. After installation of OCS Inventory plugin for glpi, there is a mistake in a path inside the file: /usr/share/glpi/plugins/ocsinventoryng/scripts/glpienv.php
The path in the file is: include GLPI_ROOT . "/config/based_config.php";
But it must be: include GLPI_ROOT . "/inc/based_config.php";

For your information. If the place of this topic is wrong, please move it to the right place.
Many thx in advance.

@Remi, great work of you. Your repo is amazing. Many thx.

nice greetings

Re: Info: Fusioninventory and wrong entry in glpienv.php

1/ strange, as I see it

https://rpms.remirepo.net/enterprise/7/ … ntory.html

# yum list --enablerepo=remi,remi-test glpi-fusioninventory
Available Packages
glpi-fusioninventory.noarch                                                             1:9.2.0.1.0-2.el7.remi                                                             remi-test
Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Info: Fusioninventory and wrong entry in glpienv.php

2/ already fixed upstream but not yet released

https://github.com/pluginsGLPI/ocsinven … 31ab464aee

I will rebuild with the fix applied

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Info: Fusioninventory and wrong entry in glpienv.php

IN fact... 1.4.3 is released but https://github.com/pluginsGLPI/ocsinven … issues/136

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Info: Fusioninventory and wrong entry in glpienv.php

glpi-ocsinventoryng-1.4.3-1 is now available in the repo.

Desktop: Fedora 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: Info: Fusioninventory and wrong entry in glpienv.php

Hi Remi,
many thx for the information about the fix.
Ok, I found now glpi-fusioninventory, sorry for the issue.
I know my mistake now, I wanted to install: glpi-fusioninventory-9.2.0.1.0-1
But it's only glpi-fusioninventory
Sorry for that, m8.
Nice greetings