Hello Team,
when we upgraded the server version (2.7--2.8.1), we found only five clients can upload the computer inventory information to the server , other clients all 500 error :(
COM SERVER => Sending HTTP Post request to URL <http://server/ocsinventory>
COM SERVER => HTTP Post response received <HTTP Status Code #500>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>
AGENT => Communication Server asked for Package Download
and http error log:
2211 DBD::mysql::db do failed: Unknown column 'NAME' in 'field list' at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Cache.pm line 79.
2212 DBD::mysql::db do failed: Duplicate entry '4662' for key 'PRIMARY' at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
2213 DBD::mysql::st execute failed: Unknown column 'NAME' in 'field list' at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Update.pm line 159.
2214 DBD::mysql::db do failed: Unknown column 'NAME' in 'field list' at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Cache.pm line 79.
2215 DBD::mysql::st execute failed: Unknown column 'NAME' in 'field list' at /usr/local/share/perl5/Apache/Ocsinventory/Server/Inventory/Update.pm line 159.
2216 [Fri Jan 13 12:52:52.896580 2023] [mpm_prefork:notice] [pid 21439] AH00170: caught SIGWINCH, shutting down gracefully