when I upgrade the OCS server's verison to 2.8.1, I found the agent can't send the inventory to sever and check the agent log file . it was http 500 error,
the following is Apache error log :
3655 [Tue Feb 27 11:20:55.298522 2023] [perl:error] [pid 62981] [client 192.168.0.58:62733] Can't use an undefined value as an ARRAY reference at /usr/local/share/perl5/Apache/Ocsinventory/Server/System.pm line 417.\n
3656 [Tue Feb 27 11:21:08.620486 2023] [perl:error] [pid 62980] [client 192.168.0.166:61950] Undefined subroutine &Apache::Ocsinventory::_inventory_handler called at /usr/local/share/perl5/Apache/Ocsinventory.pm line 254.\n
please help me, thanks!