Topic: Error while upgrading OCS Inventory plugin to 1.2.2

HI 

i have installed GLPI 0.90.3 on CentOS 7. while upgrading the OCS inventory plug-in to 1.2.2 i am getting following error.

"This plugin requires GLPI = 9.1".

wiki of the plugin says the current version is compatible with GLPI 0.90, but it seems it is not.

being Novice to GLPI, would request to help me to make it running smoothly.

Thanks in advance

CG

below is the details of my GLPI implementation.

 
GLPI 0.90.3 ( => /usr/share/glpi)

Server

 
Operating system: Linux abc.xyz.com 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64
PHP 5.4.16 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, apache2handler, bcmath, bz2, calendar, ctype, 

curl,
    date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imap, intl, json, ldap, 

libxml, lzf,
    mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, snmp, soap, 

sockets,
    sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, 

zlib)
Setup: max_execution_time="30" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files"
    upload_max_filesize="2M" 
Software: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_perl/2.0.9dev Perl/v5.16.3 ()
    Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Server Software: MariaDB Server
    Server Version: 5.5.47-MariaDB
    Server SQL Mode: 
    Parameters: glpi@localhost/glpi
    Host info: Localhost via UNIX socket
    
OK/etc/glpi : OK
OK/var/lib/glpi/files : OK
OK/var/lib/glpi/files/_dumps : OK
OK/var/lib/glpi/files/_sessions : OK
OK/var/lib/glpi/files/_cron : OK
OK/var/lib/glpi/files/_graphs/ : OK
OK/var/lib/glpi/files/_lock/ : OK
OK/var/lib/glpi/files/_plugins : OK
OK/var/lib/glpi/files/_tmp/ : OK
OK/var/lib/glpi/files/_rss/ : OK
OK/var/lib/glpi/files/_uploads/ : OK
OK/usr/share/glpi/files/_pictures : OK
OK/var/log/glpi : OK
Web access to files directory is protectedWeb access to files directory is protected : OK
OKSELinux mode is Disabled

Libraries

 
htmLawed version 1.1.21 in ()
phpCas version 1.3.4 in (/usr/share/glpi/ajax)
PHPMailer version 5.2.9 in ()
ZetaComponent ezcGraph installed in (ezc):  OK
Zend Framework version 2.4.8 in (/usr/share/php/Zend)
SimplePie version 1.3.1 in (/usr/share/php/php-simplepie)
TCPDF version 6.2.12 in (/usr/share/glpi/lib/tcpdf)
ircmaxell/password-compat in (/usr/share/glpi/lib/password_compat). Compatitility: Ok

LDAP directories

 
Server: 'ldap://XXX.XXX.XXX.XXX', Port: '389', BaseDN: 'DC=XXX,DC=com', Connection filter:
        '(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!

(samaccountname=*$)))', RootDN:
        'XXX\glpi.ldap', Use TLS: none
Server: 'ldap://XXX.XXX.XXX.XXX', Port: '389', BaseDN: 'DC=XXX,DC=com', Connection filter:
        '(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!

(samaccountname=*$)))', RootDN:
        'XXX\administrator', Use TLS: none

Mysql replicas

 
Not active

Notifications

 
Way of sending emails: SMTP (anonymous@XXX.XXX.XXX.XXX)

Mails receivers

 
Name: 'alembic.response@gmail.com' Active: No
    Server: '{imap.gmail.com:993/ssl/novalidate-cert}' Login: 'alembic.response@gmail.com' Password: Yes
Name: 'supportcenter@alembic.co.in' Active: Yes
    Server: '{XXX.XXX.XXX.XXX/imap/novalidate-cert/notls/debug}' Login: 'supportcenter@alembic.co.in' Password: Yes

Plugins list

 
    fields               Name: Additionnal fields             Version: 0.90-1.2   State: Not installed
    news                 Name: Alerts                         Version: 0.90-1.2   State: Enabled
    arsurveys            Name: AR Surveys                     Version: 1.4.0      State: Enabled
    behaviors            Name: Behaviours                     Version: 1.0        State: Enabled
    positions            Name: Cartography                    Version: 4.2.2      State: Enabled
    consumables          Name: Consumable request             Version: 1.1.0      State: Enabled
    custom               Name: Custom                         Version: 0.90-1.0.1 State: Enabled
    customfields         Name: Customfields                   Version: 1.7        State: Not installed
    dashboard            Name: Dashboard                      Version: 0.7.3      State: Enabled
    databases            Name: Databases                      Version: 1.8.1      State: Enabled
    domains              Name: Domains                        Version: 1.7.0      State: Enabled
    environment          Name: Environment                    Version: 1.9.0      State: Enabled
    escalade             Name: Escalation                     Version: 0.90-1.1   State: Enabled
    formcreator          Name: Forms                          Version: 0.90-1.4   State: Enabled
    fpconsumables        Name: FP Consumables                 Version: 1.0.0      State: Enabled
    fpsoftware           Name: FP Software                    Version: 1.1.0      State: Enabled
    resources            Name: Human Resources                Version: 2.2.1      State: Enabled
    geninventorynumber   Name: Inventory number generation    Version: 0.85+1.0   State: Enabled
    addressing           Name: IP Adressing                   Version: 2.3.0      State: Enabled
    itilcategorygroups   Name: ItilCategory Groups            Version: 0.90+1.0.3 State: Enabled
    mailanalyzer         Name: Mail Analyzer                  Version: 1.2.3      State: Enabled
    mask                 Name: Mask                           Version: 2.1.0      State: Enabled
    mobile               Name: Mobile                         Version: 2.0        State: Enabled
    moreticket           Name: More ticket                    Version: 1.2.3      State: Enabled
    moreldap             Name: MoreLDAP                       Version: 0.2.2      State: Enabled
    ocsinventoryng       Name: OCS Inventory NG               Version: 1.2.3      State: To be cleaned
    order                Name: Orders management              Version: 0.85+1.2   State: Enabled
    additionalalerts     Name: Others alerts                  Version: 1.8.0      State: Enabled
    helpdeskrating       Name: Plugin Helpdeskrating          Version: 1.1.1      State: Enabled
    pdf                  Name: Print to pdf                   Version: 1.0.1      State: Enabled
    printercounters      Name: Printer counters               Version: 1.2.0      State: Enabled
    racks                Name: Rack enclosures management     Version: 1.6.2      State: Enabled
    renamer              Name: Renamer                        Version: 0.90-1.0   State: Not installed
    reports              Name: Reports                        Version: 1.9.1      State: Enabled
    manufacturersimports Name: Suppliers imports              Version: 1.8.1      State: Enabled
    tasklists            Name: Tasks list                     Version: 1.0.0      State: Enabled
    timelineticket       Name: Timeline of tickets            Version: 0.90+1.0   State: Enabled
    typology             Name: Typologies                     Version: 2.2.1      State: Enabled
    webnotifications     Name: Web Notifications              Version: 1.0.4      State: Enabled
    webservices          Name: Web Services                   Version: 1.6.0      State: Enabled

Re: Error while upgrading OCS Inventory plugin to 1.2.2

I don't know where you found this version.

yum install glpi-ocsinventoryng pull version 1.2.1 which is compatible with GLPI 0.90

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Error while upgrading OCS Inventory plugin to 1.2.2

Ok. I miss the move to github.

1.2.2 now available in the repo. (no issue with 0.90.5)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Error while upgrading OCS Inventory plugin to 1.2.2

thanks Remi. but after installation i am getting that error  says it requires GLPI  0.91. .

that is the problem.it does not work with .90.0

Regards.

Re: Error while upgrading OCS Inventory plugin to 1.2.2

Sorry, I don't know where you find this version.
Version 1.2.2 "in MY repo" work with 0.90.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Error while upgrading OCS Inventory plugin to 1.2.2

I think I understand

Version 1.2.2 is for 0.90/9.1 (available in "remi" repo, with GLPI 0.90.5)
Version 1.2.3 is only for 9.1 (available in "remi-test" repo, with GLPI 9.1)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi