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.

Cannot Install Plugin In Linux, Deployment Build

Hi, 

I'm getting an error when trying to Build a packages in Linux using "Install plugin" option, after validating I got blank screen, and apache log show an error.

  • Server operating system: Ubuntu
  • OCS Inventory NG server version and patch level: 2.12.0
  • Apache server error.log file: located under “/var/log/httpd/*error.log”. 
  • OCS Inventory NG Server log file, located under “/var/log/ocsinventory-NG/ocsinventory-NG.log” under Linux. I DON'T HAVE THIS LOG FILE, Where can I find it?

Apache logs file: 

[Tue Sep 05 16:43:05.406001 2023] [php:notice] [pid 2395367] [client IP:65278] error when tar gz file, referer: http://ocs.server.org/

[Tue Sep 05 16:43:05.412152 2023] [php:warn] [pid 2395367] [client IP:65278] PHP Warning:  md5_file(/tmp/phpoHfxMq.tar.gz): Failed to open stream: No such file or directory in /ocsinventory-reports/ocsreports/require/teledeploy/PackageBuilder.php on line 146, referer: http://ocs.server.org/

[Tue Sep 05 16:43:05.415395 2023] [php:warn] [pid 2395367] [client IP:65278] PHP Warning:  fopen(/tmp/phpoHfxMq.tar.gz): Failed to open stream: No such file or directory in /ocsinventory-reports/ocsreports/require/teledeploy/PackageBuilder.php on line 350, referer: http://ocs.server.org/

[Tue Sep 05 16:43:05.418205 2023] [php:error] [pid 2395367] [client IP:65278] PHP Fatal error:  Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /ocsinventory-reports/ocsreports/require/teledeploy/PackageBuilder.php:361\n

Stack trace:\n

#0 /ocsinventory-reports/ocsreports/require/teledeploy/PackageBuilder.php(361): fread()\n

#1 /ocsinventory-reports/ocsreports/require/teledeploy/PackageBuilder.php(148): PackageBuilder->fragmentPackage()\n

#2 /ocsinventory-reports/ocsreports/plugins/main_sections/ms_teledeploy/ms_tele_build.php(50): PackageBuilder->buildPackage()\n

#3 /ocsinventory-reports/ocsreports/require/header.php(434): require('...')\n

#4 /ocsinventory-reports/ocsreports/index.php(44): require('...')\n

#5 {main}\n  

thrown in /ocsinventory-reports/ocsreports/require/teledeploy/PackageBuilder.php on line 361, referer: http://ocs.server.org/

in Administrative console by (280 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...