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.

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=172.17.0.3 -e OCS_DBSERVER_WRITE=172.17.0.3 -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 10.1.10.8:2087] 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 10.1.10.8:2087] 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
...