Skip to content

Plugins Engine : Web service error codes

fbomj edited this page Sep 21, 2018 · 6 revisions

When installing a plugin using the plugin engine two installations are done :

  • Ocsreports install which is the display "side" of the plugin ( Menu / Stats / Tables )
  • Ocsserver install which is the communication side of the plugin ( Contain Map.pm of the plugin and plugin configuration )

To install the ocsserver part a webservice is used to send file and submit them to the server.

If the web service encounter an error on install you will see something like this on the plugin manager menu :

Imgur

Here is the web service error code return :

Err_01 : Residual files found in plugins dir ( by default -> /etc/ocsinventory-server/plugins/PLUGIN_NAME.conf" )

Err_02 : Module transfer between ocsreports and ocsserver failed ( Can be a network related issue )

Err_03 : Can't write in plugins directory ( by default -> /etc/ocsinventory-server/plugins/" )

Err_04 : Can't write in perl directory ( by default -> /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins )

Err_05 : Residual directory found in perl dir ( by default -> /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/PLUGIN_NAME/ )

Clone this wiki locally