Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Apache Configuration Error on OCS Inventory Docker Image #1638

Open
BernardesPedro opened this issue Sep 25, 2024 · 1 comment
Open

Comments

@BernardesPedro
Copy link

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.

image

@KAALP974
Copy link

Hello
I have the same problem and need help :
https://ask.ocsinventory-ng.org/15172/ocss-docker-http-error-500

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants