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

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

Issues with Dock

Hi All!

I'm triying deploy a OCS dock (https://hub.docker.com/r/ocsinventory/ocsinventory-docker-image/), but when I tried access for first time into the web http://myip/ocsreports but I obtained a 500 error.

I use the sentence to run the dock:

docker run -p 82:80 --name ocs --link mariadb:mysql -e OCS_DBNAME=ocsweb -e OCS_DBSERVER_READ= -e OCS_DBSERVER_WRITE= -e OCS_DBUSER=ocs -e OCS_DBPASS=ocs -itd ocsinventory/ocsinventory-docker-image:latest

The apache error.log shows:

[Mon Nov 26 09:47:13.808520 2018] [:error] [pid 12] [client] PHP Warning:  mysqli_fetch_object() expects parameter 1 to be mysqli_result, boolean given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 38

[Mon Nov 26 09:47:13.808782 2018] [:error] [pid 12] [client] PHP Warning:  require(install.php): failed to open stream: No such file or directory in /usr/share/ocsinventory-reports/ocsreports/require/header.php on line 167

I understand that all in the dock it's ready to run and work...

Could you help me?

Thank you.

in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

Powered by Question2Answer