Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Deployment doesn't work (v2.7)

Hi

Debian 10.4.0, OCS Inventory 2.7

Deployment does not work on the new server. I see this in the agent (2.6.0.1 64bit & 2.7.0.0 64bit) log:

DOWNLOAD => Package <1595077848> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Sunday, July 19, 2020 20:27:20
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 1 cycles
    DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
    DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1595077848>
DOWNLOAD => Package <1595077848> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Sunday, July 19, 2020 20:27:23
    DOWNLOAD => Pausing for cycle latency (1 seconds)
    DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 1 cycles
    DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
    DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1595077848>
DOWNLOAD => Package <1595077848> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Sunday, July 19, 2020 20:27:26
    DOWNLOAD => Pausing for cycle latency (1 seconds)

...and

AGENT =>  Communication Server asked for Package Download
    DOWNLOAD => Found OCS Inventory Agent Setup result file <C:\ProgramData\OCS Inventory NG\Agent\download\OCSNG-Windows-Agent-Setup_done>
ERROR *** DOWNLOAD => Found result code <SUCCESS> for OCS Inventory Agent Setup package but no package ID specified, so remove all packages to avoid running Agent setup in loop !
    DOWNLOAD => Package history file successfully cleaned for duplicate IDs
    DOWNLOAD => Metadata file <info> for package <1595077848> is located at <https://ocs.otthon.local/download/1595077848/info>
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
    COM SERVER => Sending fileGet request to URL <https://ocs.otthon.local/download/1595077848/info>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Unloading communication provider
    DOWNLOAD => Retrieve info file...OK (pack 1595077848)
DOWNLOAD => Package <1595077848> added to download queue
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:01:06.

What can be causing this problem? The cacert.pem file is good!

/var/lib/ocsinventory-reports/
drwxrwxr-x root www-data download

Package parameters:

<?xml version="1.0" encoding="UTF-8"?>
<DOWNLOAD ID="1595077848" PRI="5" ACT="EXECUTE" DIGEST="af0348a5933c0e4c7eb54efb0d190b78" PROTO="HTTP" FRAGS="1" DIGEST_ALGO="MD5" DIGEST_ENCODE="Hexa" COMMAND="firefox.exe /ms" NOTIFY_USER="0" NOTIFY_TEXT="" NOTIFY_COUNTDOWN="" NOTIFY_CAN_ABORT="0" NOTIFY_CAN_DELAY="0" NEED_DONE_ACTION="0" NEED_DONE_ACTION_TEXT="" GARDEFOU="rien" />

Please help!

in OCS Inventory NG server for Unix by (900 points)
edited by

Please log in or register to answer this question.

 
Powered by Question2Answer
...