Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

No new inventories since server update

Hi all,

I upgraded our OCS NG server to v2.3.1 on Monday 29th May. Install appeared to go fine. We've been using OCS for over 5 years, through quite a number of versions, so the upgrade process has become quite routine.

The problem is, however, that if we look at the computers (i.e.: http://ocsserver.our-domain.local/ocsreports/?function=visu_computers), no new inventories have come in since 2017-05-29 10:26:32.

A sample of my Apache error log file for OCS:

[root@svr-h001194 ocsserver.our-domain.co.uk]# tailf error_log
[Wed May 31 14:27:43 2017] [error] [client 213.205.195.113] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:27:47 2017] [error] [client 149.254.248.31] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:28:10 2017] [error] [client 213.205.195.115] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:28:14 2017] [error] [client 149.254.248.116] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:28:39 2017] [error] [client 10.11.31.103] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:28:42 2017] [error] [client 10.11.22.137] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:28:54 2017] [error] [client 10.11.22.147] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
[Wed May 31 14:29:04 2017] [error] [client 213.205.199.60] Can't call method "do" on an undefined value at /usr/lib/perl5/site_perl/5.8.8/Apache/Ocsinventory/Server/System.pm line 189.\n
...

Unfortunately, I don't know how I can fix this (if it's even the cause).

Can anyone offer any suggestions?

Thank you.

EJ

in OCS Inventory NG server for Unix by (470 points)
edited by

1 Answer

0 votes
Got to the bottom of it.

Updated "/etc/ocsinventory/ocsinventory-reports/dbconfig.inc.php" after the upgrade, but forgot about "/etc/httpd/conf.d/z-ocsinventory-server.conf".

Clearly my upgrade process was not so "routine" :)
by (470 points)
 
Powered by Question2Answer
...