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.11.1 available

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

Le déploiement de paquets ne fonctionne pas ! [closed]

Bonjour à tous !

J'ai un soucis de déploiement de paquet qui ne se fait plus. En effet lorsque je crée un paquet et que je l'affecte à un poste rien ne se passe. Je joins 2 fichiers log trouvés dans c:\programdata\ocs inventory ng\agent\

Download.log

*************************************************************

Starting OCS Inventory Package Download and Setup Tool on Thursday, January 07, 2021 09:38:19.
DOWNLOAD => Running OCS Inventory Download Version 2.8.0.0
DOWNLOAD => Using OCS Inventory FrameWork Version 2.8.0.0
DOWNLOAD => Using network connection with Communication Server
DOWNLOAD => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.8.0.0>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => No package found, exiting
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:00:00.

**********************************************************************

Ocsinventory.log

**********************************************************************

==============================================================================
Starting OCS Inventory Agent on Thursday, January 07, 2021 09:38:13.
AGENT => Running OCS Inventory Agent Version 2.8.0.0
AGENT => Using OCS Inventory FrameWork Version 2.8.0.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory cURL Communication Provider> Version <2.8.0.0>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
AGENT => Inventory successfully sent
AGENT =>  Communication Server asked for Package Download
DOWNLOAD => Download and setup tool successfully started
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:06.

**************************************************************************

Pourtant j'accède bien au dossier download en http et en https (https://ip/download/) ou (https://nom fqdn/download/) à partir du poste client.

Avez-vous une piste svp ?

Bonne journée
closed with the note: Problème résolu
in OCS Inventory NG server for Unix by (1.4k points)
closed by

5 Answers

0 votes
Bonjour,

Question : le paquet est bien affecté à la machine ou au groupe statique ou dynamique ?

Bonne journée.
by (88.5k points)
0 votes
Oui le paquet est bien affecté à l'ordinateur et apparait notifié dans les statistiques du paquet en question.
by (1.4k points)
0 votes
Bonjour,

Est-ce que le paquet s'est bien installé sur la machine ?

Bonne journée
by (88.5k points)
0 votes

Bonjour,

Aucuns paquets ne s'installent sur les postes clients et aucuns dossiers ne sont créés dans c:\programdata\ocs inventory ng\agent\download.

Je me demande s'il n'y a pas de rapport avec ce problème que j'ai toujours:

http://ask.ocsinventory-ng.org/12526/new-maschines-appears-with-no-data-in-database

Bonne journée et bon week-end

by (1.4k points)
edited by
0 votes

Bonjour à tous !

J'ai résolu mon(es) problème(s) d'affichage de logiciels et de déploiement....

Je suis sous Centos 8 et voilà ce que j'ai fais :

Pour résoudre le problème d'affichage des logiciels :

Tout d'abord j'ai arrêté le serveur apache "systemctl stop httpd" puis j'ai renommé le fichier "z-ocsinventory-server.conf" en "z-ocsinventory-server.old".

Ensuite j'ai téléchargé le fichier compressé pour réinstaller Ocsinventory comme ça, wget https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.8/OCSNG_UNIX_SERVER_2.8.tar.gz

Décompressé le fichier tar avec cette commande "tar -zvxf ./OCSNG_UNIX_SERVER_2.8.tar.gz", on accède à l'intérieur du dossier décompressé "cd OCSNG_UNIX_SERVER_2.8"

démarrer apache "systemctl start httpd ".

Ensuite on relance l'installation d'OCS avec "./setup.sh "

Une fois configuré il vous reste plus qu'à renommer votre fichier "z-ocsinventory-server.old" en "z-ocsinventory-server.conf" après avoir renommé celui qui existe en un autre nom.

Pour résoudre le déploiement des logiciels :

Il faut que l'adresse ip ou le FQDN soit le même dans les 3 parties suivantes :

- Certificat

- Dans OCSreports, aller dans "Configuration --> Configuration générale -->télédéploiement" puis inscrire, la même adresse ip/FQDN que dans le certificat, dans les zones "DOWNLOAD_URI_FRAG" et "DOWNLOAD_URI_INFO".

- Activer le paquet qui vient d'être créé avec, là encore, la même adresse ip/FQDN que dans le certificat .

Et ça fonctionne nickel maintenant

Bonne journée

David

by (1.4k points)
 
Powered by Question2Answer
...