From b78ec4d2cfba70d24e1e901d738123fc43d5adeb Mon Sep 17 00:00:00 2001 From: Nathan Fretz Date: Wed, 24 Jun 2026 15:07:23 +1000 Subject: [PATCH] Update syslog-ng (fixes Logdy startup race) (#5786) --- syslog-ng/docker-compose.yml | 11 ++++++++++- syslog-ng/umbrel-app.yml | 6 ++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/syslog-ng/docker-compose.yml b/syslog-ng/docker-compose.yml index 98d3c5c24..2d035560a 100644 --- a/syslog-ng/docker-compose.yml +++ b/syslog-ng/docker-compose.yml @@ -21,6 +21,14 @@ services: volumes: - ${APP_DATA_DIR}/data/config:/config - ${APP_DATA_DIR}/data/logs:/var/log + # Logdy expands /data/*.log once at startup, so create the first matching + # log file before the web service starts on fresh installs. + healthcheck: + test: ["CMD-SHELL", "test -f /var/log/messages-kv.log || touch /var/log/messages-kv.log"] + interval: 5s + timeout: 5s + retries: 5 + start_period: 5s web: image: rickraven/logdy:0.17.1@sha256:a1438c758ed3735e9b06205168a3c63e39bd0895bc5f0cd1adf4ed2270ae66cb @@ -33,4 +41,5 @@ services: volumes: - ${APP_DATA_DIR}/data/logs:/data:ro depends_on: - - syslog + syslog: + condition: service_healthy diff --git a/syslog-ng/umbrel-app.yml b/syslog-ng/umbrel-app.yml index 0ca84c30b..3eec43100 100644 --- a/syslog-ng/umbrel-app.yml +++ b/syslog-ng/umbrel-app.yml @@ -3,7 +3,7 @@ id: syslog-ng name: Syslog-ng tagline: Centralized syslog server with real-time web UI category: networking -version: "4.10.2" +version: "4.10.2-1" port: 5142 description: >- Syslog-ng is a flexible, highly scalable syslog server that collects logs from all your @@ -34,7 +34,9 @@ gallery: - 2.webp - 3.webp - 4.webp -releaseNotes: "" +releaseNotes: >- + Fixed an issue where the web log viewer could show 0 logs on fresh installs + until the app was restarted. dependencies: [] path: "" defaultUsername: ""