From fc473797cd74dbe148bd9239f3c74c9cb4fd858e Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 12 Jul 2026 15:17:48 +0300 Subject: [PATCH] Disable broken container healthcheck for matrix-sygnal The sygnal container images (since v0.16.0) hardcode a HEALTHCHECK which relies on curl, but the image does not include curl, so the healthcheck can never pass. See https://github.com/element-hq/sygnal/issues/326 This unblocks upgrading sygnal past v0.15.1. Co-Authored-By: Claude Fable 5 --- .../matrix-sygnal/templates/systemd/matrix-sygnal.service.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/custom/matrix-sygnal/templates/systemd/matrix-sygnal.service.j2 b/roles/custom/matrix-sygnal/templates/systemd/matrix-sygnal.service.j2 index bea4e9c73..b948673f3 100644 --- a/roles/custom/matrix-sygnal/templates/systemd/matrix-sygnal.service.j2 +++ b/roles/custom/matrix-sygnal/templates/systemd/matrix-sygnal.service.j2 @@ -16,12 +16,16 @@ Environment="HOME={{ devture_systemd_docker_base_systemd_unit_home_path }}" ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} stop -t {{ devture_systemd_docker_base_container_stop_grace_time_seconds }} matrix-sygnal 2>/dev/null || true' ExecStartPre=-{{ devture_systemd_docker_base_host_command_sh }} -c '{{ devture_systemd_docker_base_host_command_docker }} rm matrix-sygnal 2>/dev/null || true' +{# --no-healthcheck is used below, because the healthcheck hardcoded in the image (since v0.16.0) can never pass - + it relies on curl, which the image does not include. + See https://github.com/element-hq/sygnal/issues/326 and https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4794 #} ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \ --rm \ --name=matrix-sygnal \ --log-driver=none \ --user={{ matrix_user_uid }}:{{ matrix_user_gid }} \ --cap-drop=ALL \ + --no-healthcheck \ --env=SYGNAL_CONF=/config/sygnal.yaml \ --network={{ matrix_sygnal_container_network }} \ {% if matrix_sygnal_container_http_host_bind_port %}