Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4602

/download/ forbidden access

$
0
0
Hi,

I have some questions and a problem please:

1) What is the ocs stable version? I puts 2.6 in ocs website but there is until 2.9 docker images (I'm using docker image for installing ocs server)

2) I'm using 2.9 docker image and all is working well except plugins download. I have the next in the agent log:

Starting OCS Inventory Agent on Monday, October 25, 2021 07:50:37.

AGENT => Running OCS Inventory Agent Version 2.9.0.0

AGENT => Using OCS Inventory FrameWork Version 2.9.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.9.0.0>

AGENT => Sending Prolog

AGENT => Prolog successfully sent

AGENT => Inventory required

AGENT => Launching hardware and software checks

ERROR *** EXECUTABLE PLUGIN => Executable plugin <C:\Program Files (x86)\OCS Inventory Agent\plugins\Saas.ps1> output is not a valid XML document

AGENT => Sending Inventory

INVENTORY => Inventory changed since last run

ADMIN INFO => Couple ( TAG <=> XXX ) added to configuration file

AGENT => Inventory successfully sent

AGENT =>  Communication Server asked for Package Download

AGENT => Unloading communication provider

AGENT => Unloading plug-in(s)

AGENT => Execution duration: 00:00:15.

If I test domain/download url, it shows a forbidden access message. I have the next in ocsinventory-reports.conf file:

<Directory /var/lib/ocsinventory-reports/download>

   <IfModule mod_authz_core.c>

     # Apache 2.4

     Require all granted

   </IfModule>

   <IfModule !mod_authz_core.c>

     Order deny,allow

     Allow from all

   </IfModule>

</Directory>

Alias /download /var/lib/ocsinventory-reports/download

It seems ok. Not sure about official documentation. One part is saying of using ocspackager and another parts saying that not, that you have to use setup.exe for an agent upgrade and using web console config for plugins deployment.

Thanks beforehand.

Viewing all articles
Browse latest Browse all 4602

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>