From e832770c410b9948f0dcbe971b89337ec3f68074 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Thu, 22 May 2025 07:14:38 -0400 Subject: [PATCH 1/2] Immich: remove build-lock copy command --- ct/immich.sh | 1 - install/immich-install.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/ct/immich.sh b/ct/immich.sh index 9fcc548..a0cd16b 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -224,7 +224,6 @@ function update_script() { cp -a server/{node_modules,dist,bin,resources,package.json,package-lock.json,start*.sh} "$APP_DIR"/ cp -a web/build "$APP_DIR"/www cp LICENSE "$APP_DIR" - cp "$BASE_DIR"/server/bin/build-lock.json "$APP_DIR" msg_ok "Updated ${APP} web and microservices" cd "$SRC_DIR"/machine-learning diff --git a/install/immich-install.sh b/install/immich-install.sh index 93b336f..e0e3def 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -303,7 +303,6 @@ cd "$SRC_DIR" cp -a server/{node_modules,dist,bin,resources,package.json,package-lock.json,start*.sh} "$APP_DIR"/ cp -a web/build "$APP_DIR"/www cp LICENSE "$APP_DIR" -# cp "$BASE_DIR"/server/bin/build-lock.json "$APP_DIR" msg_ok "Installed Immich Web Components" cd "$SRC_DIR"/machine-learning From d0d1f25860821b4d9b5e41b1f39fc0782a3a36de Mon Sep 17 00:00:00 2001 From: vhsdream Date: Thu, 22 May 2025 07:27:08 -0400 Subject: [PATCH 2/2] immich.sh: fix issue with sed command --- ct/immich.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/immich.sh b/ct/immich.sh index a0cd16b..ad72b86 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -190,7 +190,7 @@ function update_script() { $STD dpkg -i vchord.deb rm vchord.deb sed -i -e "s/'vectors.so'/'vchord.so, vectors.so'/" \ - -e "/^search_path/s/, vectors'//" /etc/postgresql/16/main/postgresql.conf + -e "/^search_path/s/, vectors//" /etc/postgresql/16/main/postgresql.conf systemctl restart postgresql.service msg_ok "Upgrade in progress. When Immich restarts, watch the logs for 're-indexing' to complete" fi