From 45338a43f97350bbbfb46c1f13cb5e6f0ac5ad38 Mon Sep 17 00:00:00 2001 From: soraefir Date: Sun, 7 Jun 2026 21:04:06 +0200 Subject: [PATCH] immich fix --- modules/server/containers/apps/immich.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/server/containers/apps/immich.nix b/modules/server/containers/apps/immich.nix index fcc384f..c11573d 100644 --- a/modules/server/containers/apps/immich.nix +++ b/modules/server/containers/apps/immich.nix @@ -64,6 +64,8 @@ in { PSQL="${pkgs.postgresql}/bin/psql -U postgres" $PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS vchord CASCADE;" $PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance CASCADE;" + $PSQL -d "immich_db" -tAc "ALTER EXTENSION vchord UPDATE;" + $PSQL -d "immich_db" -tAc "ALTER EXTENSION earthdistance UPDATE;" IMMICH_URL="https://${containerCfg.subdomain}.${serverCfg.domain}" until [[ "$(${pkgs.curl}/bin/curl -s -o /dev/null -w "%{http_code}" "$IMMICH_URL")" =~ (200|301|302) ]]; do