Closed JSRubio-i3Data closed 1 day ago
Hi @JSRubio-i3Data
as announced in glpi-agent 1.8, Deploy task is no more installed by default.
To have it installed, you need to use the ADDLOCAL
option, see https://glpi-agent.readthedocs.io/en/latest/installation/windows-command-line.html#command-line-parameters for more details.
In your case, to just add Deploy task installation, you just need to add ADDLOCAL=feat_DEPLOY
on your installer commandline.
As a side comment, I would advise you to better use the VBS for large installations as it includes a check which will prevent the installer to fail if the MSI service is still busy.
Bug reporting acknowledgment
Yes, I read it
Professional support
Yes, I know
Describe the bug
I'm trying to deploy via GLPiInventory.
I follow the intructions of this document (https://faq.teclib.com/03_knowledgebase/inventory/glpiinventory_deploy/), and I have one packge and one task.
The task has as target my package and as actor one computer.
I install the msi from the command line like this:
start /wait msiexec.exe /i "GLPI-Agent-1.9-x64.msi" /qn /norestart TAG=intranet ADD_FIREWALL_EXCEPTION=1 RUNNOW=1 AGENTMONITOR=1 SERVER=%server% DEBUG=0 TASKS=inventory,deploy
.The problem is the client never tries to run the deploy task.
In fact, in the agent logs, I never find an entry with: "....[info] running task Deploy".
In fact, if I search the registry, i find the entry "HKEY_LOCAL_MACHINE\SOFTWARE\GLPI-Agent\tasks" with tle value "inventory,deploy"
To reproduce
The agent logs says:
Expected behavior
I don't why the agent doesn't start the Deploy task.
Operating system
Windows
GLPI Agent version
1.9
GLPI version
10.0.14
GLPIInventory plugin or other plugin version
GLPI Inventory v1.3.5
Additional context
No response