domjudge-packaging icon indicating copy to clipboard operation
domjudge-packaging copied to clipboard

8.3.0 docker image fails to start

Open Dup4 opened this issue 1 year ago • 9 comments
trafficstars

Description of the problem

Replace this line with a short description.

docker run \
    -d \
    --restart=always \
    --name="${NAME}" \
    -e CONTAINER_TIMEZONE="${TZ}" \
    -e WEBAPP_BASEURL=/domjudge \
    -e MYSQL_HOST="${MYSQL_HOST}" \
    -e MYSQL_PORT="${MYSQL_PORT}" \
    -e MYSQL_DATABASE="${MYSQL_DATABASE}" \
    -e MYSQL_USER="${MYSQL_USER}" \
    -e MYSQL_PASSWORD="${MYSQL_PASSWORD}" \
    -e MYSQL_ROOT_PASSWORD="${MYSQL_PASSWORD}" \
    -p "${DOMSERVER_PORT}":80 \
    "domjudge/domserver:8.3.0"

Use this command to start the image

ccd40ecf5e798f406ac7c848eaaba33a

It's failing to start.

bc86760ef8188efed19a99faeb9ffeb9

And I checked, and there are no target file in the corresponding directory.

https://github.com/DOMjudge/domjudge-packaging/blob/main/docker/domserver/scripts/start.d/50domjudge.sh#L227

I'm guessing the crash was here at startup.

And I'm guessing that the reason for this is that the symfony/runtime was not included in the build image.

Your environment

Include details about your installation here.

  • DOMjudge version (e.g. 7.0.0 or a github commit hash)
  • Operating system / Linux distribution and version (e.g. Ubuntu 18.04)
  • Webserver (e.g. Apache or nginx)
  • DOMjudge: 8.3.0
  • OS: Ubuntu 22.04

Dup4 avatar Jun 15 '24 08:06 Dup4