Closed JSRubio-i3Data closed 5 months 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.
I added to the task installation that parameter, as well as 'DEBUG=2' and I get the message '[info] Deploy task not supported by server0'.
Attached bellow you can find the glpi-agent file with all the info.
What means it? Do I have to enable anything?
Thank you very much in advance.
Hello @JSRubio-i3Data
your configured server URL is wrong. You should follow the caution here to know what' the right URL: https://glpi-agent.readthedocs.io/en/latest/configuration.html#server
If you install glpi-inventory plugin via the marketplace, the right URL for you should be: https://soporte.beiman.local/marketplace/glpiinventory/
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