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.6 available

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

Hardware/devices missing

Hi ( frankb :) ),

I recently installed ocs server and a couple of agents/clients so i can check  if everithing is working fine. Although i can see some basic information (CPU, RAM, IPs...) i'm unable to see hardaware/devices of those pc's in my server (keyboards, printers...). I dont know if i'm missing something here.
I think it's a server problem because i can check all information needed using the option "Show Inventory information" of the clients.

so sorry for my bad english,

Many thanks.

AI: server version: 2.2.1 running on Ubuntu 18.04.

Agent/Client version 2.0.5 running on Windows 10 (both of them).
in OCS Inventory NG server for Unix by (200 points)

5 Answers

0 votes

Have you errors in apache error.log file (/var/log/apache2/error.log) ?


by (70.2k points)
0 votes
i have a lot of errors. but i'm unable to post it here (Too many links...).

here's the first one:
[Tue Jul 17 01:40:58.082265 2018] [php7:error] [pid 3533] [client] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_all_soft/ms_all_soft.php:177\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/require/header.php(466): require()\n#1 /usr/share/ocsinventory-reports/ocsreports/index.php(32): require('/usr/share/ocsi...')\n#2 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_all_soft/ms_all_soft.php on line 177, referer:

*/ ==> not showing any more.

well seems that error.log changed today:

[Wed Jul 18 00:06:22.145747 2018] [mpm_prefork:notice] [pid 1310] AH00163: Apache/2.4.29 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.1 configured -- resuming normal operations
[Wed Jul 18 00:06:22.145955 2018] [core:notice] [pid 1310] AH00094: Command line: '/usr/sbin/apache2'
by (200 points)
edited by
0 votes

AI: server version: 2.2.1 running on Ubuntu 18.04.

Agent/Client version 2.0.5 running on Windows 10 (both of them).

Server version 2.2.1 is not compatible with ubuntu 18.04 : please update your server.

Agent 2.0.5 is compatible with Windows 9x, 2000 and XP. not with windows 10. So you can update the agent too.

by (20.9k points)
0 votes

are you sure  kapouik ?

where can i find the info about the versions that i need? 


by (200 points)
edited by
Yes I'm sure because I have work on the compatibility for ubuntu 16.04 for the version 2.3 of OCS Inventory NG. And now, we are in version 2.4 with compatibility for php 7.1. Version 2.2 of OCS is compatible only with php 5.6 max, there is some problem in the setup.sh for newer debian and ubuntu.

For the windows agent, that simple, the agent in version 2.0 was release in 2010 with partial support of windows vista and 7.

There is also some security reason to install the latest version and not old version without any support.
–1 vote

Hi, I have the same problem. the information is displayed on agente and the information is not displayed on the ocsing server.

I Have OCSng  2.5 and agente 2.3.1 and OCS-NG_WINDOWS_AGENT_v2.1.1.1

with both agents it is the same. 

in the server inside the computer in the Hardware tab the information is not shown and in the tab of all the computers there if it appears

by (120 points)
edited by
Powered by Question2Answer