From 0163e04f1ce0881b28f2ccb78c20d000722dac67 Mon Sep 17 00:00:00 2001 From: vhsdream Date: Thu, 22 May 2025 13:20:39 -0400 Subject: [PATCH] Immich: replace vectors.so with vchord.so in postgresql.conf --- install/immich-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/immich-install.sh b/install/immich-install.sh index edd3138..43f262f 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -120,7 +120,7 @@ rm vchord.deb DB_NAME="immich" DB_USER="immich" DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c18) -sed -i -e "/^#shared_preload/s/^#//;/^shared_preload/s/''/'vectors.so'/" /etc/postgresql/16/main/postgresql.conf +sed -i -e "/^#shared_preload/s/^#//;/^shared_preload/s/''/'vchord.so'/" /etc/postgresql/16/main/postgresql.conf systemctl restart postgresql.service $STD sudo -u postgres psql -c "CREATE USER $DB_USER WITH ENCRYPTED PASSWORD '$DB_PASS';" $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"