You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-08-01 08:52:34

ComLu
Member
Registered: 2020-01-28
Posts: 65

On demand deploy packages not working.

I have this issue:
https://github.com/glpi-project/glpi-in … issues/382

I paste here the issue opened on Github:

Describe the bug

On demand deploy packages are are not working.

To reproduce

    go to deploy package tab in a computer item
    choose a package
    click on: I'm not on this computer: wakeup from the server

Expected behavior

I expect that:

    the "ondemand task" is going to be listed in the Task/Groups tabs with the others tasks.
    the deploy starts right away

Instead:

    I can only see that the package is listed in grey "waiting" in the deploy package tab
    if I try to click on the + to get more info I can't - firefox console say this:

Uncaught SyntaxError: expected expression, got ','
    x http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:188
    Be http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    append http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    html http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    K http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    html http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    loadTabContents http://glpi/front/computer.form.php?id=13718:2045
    l http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    fireWith http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    C http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    t http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
computer.form.php:21:45
    x http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:188
    Be http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    append http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    html http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    K http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    html http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    loadTabContents http://glpi/front/computer.form.php?id=13718:2045
    l http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    fireWith http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    C http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199
    t http://glpi/public/lib/base.min.js?v=53489c6e5ec38eb33efa18c9adf8b3027ed40b87:199

    - The agent on the computer starts, it runs scheduled tasks but not the on demand ones
    - The ondemand task is not present in the Task/Group tab
    - the ondemand task is correctly added to the Tasks page (/plugins/glpiinventory/front/task.php)
    - In the agent log I can see the other deploy tasks running ok but not the on-demand one.

Operating system

Windows

GLPI Agent version

1.4, Other (See additional context below)

GLPI version

10.0.9

GLPIInventory plugin

1.2.3

Additional context

fusion agent 2.5.2

Offline

#2 2023-08-04 13:54:44

ComLu
Member
Registered: 2020-01-28
Posts: 65

Re: On demand deploy packages not working.

am I the only one with this issue?

Offline

#3 2023-08-11 09:49:29

ComLu
Member
Registered: 2020-01-28
Posts: 65

Re: On demand deploy packages not working.

anyone have any ideas how to fix this?

Offline

#4 2023-08-18 14:12:14

ComLu
Member
Registered: 2020-01-28
Posts: 65

Re: On demand deploy packages not working.

Offline

Board footer

Powered by FluxBB