DiouxX / docker-glpi

Project to deploy GLPI with docker
219 stars 185 forks source link

Deployment error problem #94

Closed Haruter closed 1 year ago

Haruter commented 1 year ago

I was unable to access the system after building the container. Looking at the container log, I saw an error executing the script。

2023-06-14 09:10:21 (598 KB/s) - '/var/www/html/glpi-10.0.7.tgz' saved [56550228/56550228]
Starting periodic command scheduler: cron.
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
Restarting Apache httpd web server: apache2.
Stopping Apache httpd web server: apache2.
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message

According to the error message, I tell you to add ServerName 172.17.0.3 to the 000-default.conf file in the container to ensure normal startup。