Closed sebma closed 1 year ago
Hi @sebma can you retry GLPI nighlty build ?
https://nightly.glpi-project.org/glpi/
Your issue should be fixed.
Best regards
@stonebuzz Thank you. Before we do that, do you have the PR that fixes this bug ?
Hereby attached are the php-errors.log and the sql-errors.log.
I found this from your log
SQL: INSERT INTO `glpi_agents` (`deviceid`, `name`, `last_contact`, `useragent`, `agenttypes_id`, `itemtype`, `version`, `remote_addr`, `items_id`, `threads_networkdiscovery`, `threads_networkinventory`, `timeout_networkdiscovery`, `timeout_networkinventory`) VALUES ('A.FQDN.lan-2022-12-29-09-49-15', 'A.FQDN.lan-2022-12-29-09-49-15', '2023-02-08 12:01:02', 'GLPI-Agent_v1.4', NULL, 'Computer', '1.4', '10.10.10.6', '0', '0', '0', '0', '0')
Error: Column 'agenttypes_id' cannot be null
Can you post here result of this SQL query
select * from glpi_agenttypes;
Best regards
This warning is related to splitcat
plugin
[2023-02-08 16:20:43] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "id" in /var/www/html/glpi/marketplace/splitcat/inc/itilcategory.class.php at line 280
Backtrace :
marketplace/splitcat/inc/itilcategory.class.php:70 PluginSplitcatITILCategory::getItilCatSelect()
marketplace/splitcat/ajax/splitcat.php:52 PluginSplitcatITILCategory::ajax()
It seems you have a GLPI Network subscription, please contact us directly
@stonebuzz Hi, I'm in trouble with my superior because I forgot to anonymise data before posting this issue.
I just removed some data today, can you also anonymise the FQDN contained in the INSERT INTO
SQL line in your answer posted at https://github.com/glpi-project/glpi/issues/14039#issuecomment-1423047310 ?
Thank you for your understanding.
done
@stonebuzz Thanks a lot.
Code of Conduct
Is there an existing issue for this?
Version
10.0.6
Bug description
Hi, The inventory is not working :
Relevant log output
Page URL
No response
Steps To reproduce
Your GLPI setup information
Information about system installation and configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
server = https://helpdesk.media-participations.com/marketplace/glpiinventory/ in the agent registry.
If I set debug=2 in the agent, I can see the JSON file generated inside the "$env:ProgramFiles/GLPI-Agent/logs/glpi-agent.log".
It seems it is having a problem either sending it to the server or inserting it into the database.