Configuration :
- ocs server on docker container latest image, installation as instructed on the docker official store page
- ocs agent on windows machine latest version
Ocsreports install is successful (database ocsweb is on another container but linking is good and working as intended). Agent sends correct data to the server. But there are a few problems :
- Any plugin whether offical (https://github.com/PluginsOCSInventory-NG) or that I made for testing purposes, is not installed correctly : plugin manager show Err_02. (Note : for all plugins .zip in download folder of the server, I did chown www-data:www-data so that apache was able to unzip, etc)
The plugin ocsweb database tables are created successfully, the vbscript on agent is working (tested with a local dump of xml file generated by agent).
The XML data sent by agent looks good (plugin data is there) but the XML from the server (I looked it up by cliking on the machine name, then xml link) does not contain plugin data at all.
The plugin tables are therefore never completed with plugin data... And I get and nice "0 result" from my sql queries in Ocsreports
Here's what I did :
I lookep up Err_02 "Err_02 : Module transfer between ocsreports and ocsserver failed ( Can be a network related issue )"
This is not network issue since ocsreport and ocsserver are on same container.
On the help page of this error message (https://github.com/OCSInventory-NG/OCSInventory-ocsreports/wiki/Plugins-Engine-:-Web-service-error-codes) it is stated at the top : "To install the ocsserver part a webservice is used to send file and submit them to the server."
When checking apache error_log we can see : "ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable". The module IS installed (btw when I used setup.sh everything was fine...)
I tried to manually install the server part of the plugin (Map.pm / plugin.conf) but to no avail.
I tried to install Transport::HTTP but to no avail (Err_02 becomes "Err" and no number lol).
I need to know how to make SOAP::Transport::HTTP work or how to install plugin correctly manually.