Docker host's operating system : ubuntu 18.04.5 LTS
Mysql Server version : 5.7.34
Docker informations
Docker compose version : 1.29.2
Docker version : 20.10.7
Problem's description
When running the OCS Inventory Docker image (ocsinventory/ocsinventory-docker-image:2.12.1 end 2.12.2), the container fails to start due to an Apache configuration error. The log shows the following error:
AH00526: Syntax error on line 77 of /etc/apache2/conf-enabled/z-ocsinventory-server.conf: PerlSetEnv takes two arguments, PerlSetEnv
It appears that the PerlSetEnv directive in the z-ocsinventory-server.conf file is incorrectly configured, missing the required second argument. Since the container stops immediately, it is difficult to edit the file or apply any fixes before the container dies.
Steps to Reproduce:
Run the OCS Inventory Docker container using the 2.12.1/ 2.12.2 tag with docker-compose.
Observe that the container fails to start due to the Apache configuration error.
OCS Inventory version Version : 2.12.1 / 2.12.2
General informations
Docker host's operating system : ubuntu 18.04.5 LTS Mysql Server version : 5.7.34
Docker informations
Docker compose version : 1.29.2 Docker version : 20.10.7
Problem's description
When running the OCS Inventory Docker image (ocsinventory/ocsinventory-docker-image:2.12.1 end 2.12.2), the container fails to start due to an Apache configuration error. The log shows the following error:
AH00526: Syntax error on line 77 of /etc/apache2/conf-enabled/z-ocsinventory-server.conf: PerlSetEnv takes two arguments, PerlSetEnv
It appears that the PerlSetEnv directive in the z-ocsinventory-server.conf file is incorrectly configured, missing the required second argument. Since the container stops immediately, it is difficult to edit the file or apply any fixes before the container dies.
Steps to Reproduce: Run the OCS Inventory Docker container using the 2.12.1/ 2.12.2 tag with docker-compose. Observe that the container fails to start due to the Apache configuration error.