From 5f58265ef447665e52daec7e95f2d52a3b6dd9b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 28 Mar 2026 22:37:39 +0000 Subject: [PATCH] immich_noml: Fix Redis startup by installing redis-server directly Replace Docker mods (DOCKER_MODS=imagegenius/mods:universal-redis) with direct redis-server installation via PACKAGES to prevent ECONNRESET errors. The s6-rc service files and redis.conf were already in place from a prior partial fix; this commit completes the migration by removing the Docker mods references from Dockerfile and config.yaml. Fixes #2615 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com> --- immich_noml/CHANGELOG.md | 3 +++ immich_noml/Dockerfile | 11 +++-------- immich_noml/config.yaml | 3 +-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/immich_noml/CHANGELOG.md b/immich_noml/CHANGELOG.md index 7271e709a..421441cf3 100644 --- a/immich_noml/CHANGELOG.md +++ b/immich_noml/CHANGELOG.md @@ -1,4 +1,7 @@ +## 2.6.2-2 (2026-03-28) +- Fix Redis startup: install redis-server directly instead of via Docker mods to prevent ECONNRESET errors (issue #2615) + ## 2.6.2 (2026-03-28) - Update to latest version from imagegenius/docker-immich (changelog : https://github.com/imagegenius/docker-immich/releases) diff --git a/immich_noml/Dockerfile b/immich_noml/Dockerfile index cd92bf862..17e0b518c 100644 --- a/immich_noml/Dockerfile +++ b/immich_noml/Dockerfile @@ -34,13 +34,8 @@ COPY ha_lsio.sh /ha_lsio.sh ARG CONFIGLOCATION="/config" RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh -# Install REDIS -ENV DOCKER_MODS="imagegenius/mods:universal-redis" - -# && chmod 777 -R /docker-mods \ -# && /./docker-mods/* || ls / \ -# && if [ !-f /defaults/redis.conf ]; then echo "Not installed" && exit 1; fi -#ENV DOCKER_MODS="" +# Install REDIS directly instead of via Docker mods for reliability +# (Docker mods can fail to install Redis at runtime, causing ECONNRESET errors) ################## # 3 Install apps # @@ -63,7 +58,7 @@ COPY ha_automodules.sh /ha_automodules.sh RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh # Manual apps -ENV PACKAGES="sudo sed yamllint pip jq" +ENV PACKAGES="sudo sed yamllint pip jq redis-server" # Automatic apps & bashio COPY ha_autoapps.sh /ha_autoapps.sh diff --git a/immich_noml/config.yaml b/immich_noml/config.yaml index 2ff9435ca..ebad33d8f 100644 --- a/immich_noml/config.yaml +++ b/immich_noml/config.yaml @@ -70,7 +70,6 @@ devices: - /dev/nvme2 environment: CI_PORT: "8080" - DOCKER_MODS: imagegenius/mods:universal-redis MACHINE_LEARNING_CACHE_FOLDER: /data/machine-learning MACHINE_LEARNING_WORKERS: "1" MACHINE_LEARNING_WORKER_TIMEOUT: "120" @@ -142,6 +141,6 @@ slug: immich_noml udev: true url: https://github.com/alexbelgium/hassio-addons usb: true -version: "2.6.2" +version: "2.6.2-2" video: true webui: http://[HOST]:[PORT:8080]