Closed SnelGrafics closed 1 year ago
Hi @SnelGrafics Does this agent exist in GLPI ? (/front/agent.php)
Can you post here JSON inventory file ?
Best regards
No, the old agent (from FI) was removed but no new agent from GLPI-Agent
How can i get the json from the agent ? I have tried this but nothing : c:\Program Files\GLPI-Agent>glpi-agent.bat --json
Hi @SnelGrafics
you can generate a json with: glpi-agent.bat --json --local .
Thank @g-bougard , it's working with glpi-agent.bat --json -f --local e:\
@stonebuzz, here the Json file. I removed a large part of the software to lighten the file 6737ec37-6c14-1014-a4d4-f99aee98753e.json.txt
I cannot reproduce using given json
Can you retry with a fresh install with nightly build ?
Fresh install (build date 2022-10-20 00:36:00 UTC) but with a restored DB and the error is still here !
Can you retry without a restored DB ? To see if it's the data that is at fault rather than the GLPI code
it's work with fresh install without restored DB
Ok, so can you reset rule engine ?
and retry ?
Perfect ! thank you @stonebuzz :-)
Code of Conduct
Is there an existing issue for this?
Version
1.0.3
Bug description
SQL error (Column 'agents_id' cannot be null) when the agent send inventory
Relevant log output
Page URL
No response
Steps To reproduce
Migrate from FusionInvntory to GLPI-Agent (version 1.4).
When the agent send the repport. I have no new agent in GLPI and no update of the machine.
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
glpi-agent.log