docker-images icon indicating copy to clipboard operation
docker-images copied to clipboard

Global variable GLPI_LOG_DIR not reflected inside env vars for user www-data

Open alesnav opened this issue 3 months ago • 0 comments

In my deployment, GLPI_LOG_DIR is set to /var/log/glpi and it is correct for user root inside the container. Instead, if I see env vars for user www-data it is using the default in a GLPI installation: /var/glpi/logs

Image

Maybe it's a bug, could you check it?

It seems that the problem is that the Docker env variable is not injected inside /etc/environment and it continues with the default value:

# grep GLPI_LOG_DIR /etc/environment 
GLPI_LOG_DIR=/var/glpi/logs

alesnav avatar Nov 24 '25 16:11 alesnav