From 579b1dd39d1f87be30eb004511426bb34b617ff9 Mon Sep 17 00:00:00 2001 From: User Joe <5625795+jtrotsky@users.noreply.github.com> Date: Mon, 6 Jul 2026 16:29:11 +1200 Subject: [PATCH] fix: symlink corePlugin to the path immich v3.0 reads Immich 3.0 resolves the core plugin at ${IMMICH_BUILD_DATA:-/build}/plugins/immich-plugin-core (config.repository.js resourcePaths.corePlugin -> workflow-execution service importFolder at boot), but the build only created the symlink /build/corePlugin. /build/plugins/immich-plugin-core never existed, so no plugin registered: /api/plugins and /api/plugins/methods returned [], and every POST /api/workflows failed with "Unknown method immich-plugin-core#...". All Workflows (screenshot handling, smart albums, etc.) were non-functional. The 07-02 "build for immich v3.0.0" change updated the COPY source to upstream's new plugins/immich-plugin-core layout but left the runtime symlink at the old /build/corePlugin name. Point the symlink at /build/plugins/immich-plugin-core so importFolder finds the bundled plugin. The wasm and @extism/extism runtime were already present and correct; only the path was wrong. Co-Authored-By: Claude Opus 4.8 --- Containerfile | 5 +++-- Containerfile.j2 | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index 1eb1d64..95935c2 100644 --- a/Containerfile +++ b/Containerfile @@ -188,9 +188,10 @@ RUN cp /tmp/immich_version /app/version && \ chown -R bsd:bsd /config /data /build && \ chmod 755 /build && \ ln -sf /app/www /build/www && \ - ln -sf /app/corePlugin /build/corePlugin && \ + mkdir -p /build/plugins && \ + ln -sf /app/corePlugin /build/plugins/immich-plugin-core && \ ln -sf /app/geodata /build/geodata && \ - chown -h bsd:bsd /build/www /build/corePlugin /build/geodata && \ + chown -h bsd:bsd /build/www /build/plugins/immich-plugin-core /build/geodata && \ for v in 14 15 16 17 18; do \ mkdir -p /usr/lib/postgresql/${v}/bin && \ ln -sf /usr/local/bin/pg_dump /usr/lib/postgresql/${v}/bin/pg_dump; \ diff --git a/Containerfile.j2 b/Containerfile.j2 index 9b04759..09516e4 100644 --- a/Containerfile.j2 +++ b/Containerfile.j2 @@ -193,9 +193,10 @@ RUN cp /tmp/immich_version /app/version && \ chown -R bsd:bsd /config /data /build && \ chmod 755 /build && \ ln -sf /app/www /build/www && \ - ln -sf /app/corePlugin /build/corePlugin && \ + mkdir -p /build/plugins && \ + ln -sf /app/corePlugin /build/plugins/immich-plugin-core && \ ln -sf /app/geodata /build/geodata && \ - chown -h bsd:bsd /build/www /build/corePlugin /build/geodata && \ + chown -h bsd:bsd /build/www /build/plugins/immich-plugin-core /build/geodata && \ for v in 14 15 16 17 18; do \ mkdir -p /usr/lib/postgresql/${v}/bin && \ ln -sf /usr/local/bin/pg_dump /usr/lib/postgresql/${v}/bin/pg_dump; \