diff --git a/install/immich-install.sh b/install/immich-install.sh index cacd9b631..a6dec4468 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -111,23 +111,6 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_ok "Installed OpenVINO dependencies" fi -msg_info "Installing Packages from Testing Repo" -export APT_LISTCHANGES_FRONTEND=none -export DEBIAN_FRONTEND=noninteractive -$STD apt-get install -t testing --no-install-recommends -y \ - libio-compress-brotli-perl \ - libwebp7 \ - libwebpdemux2 \ - libwebpmux3 \ - libhwy1t64 \ - libdav1d-dev \ - libhwy-dev \ - libwebp-dev -if [[ -f ~/.openvino ]]; then - $STD apt-get install -t testing -y patchelf -fi -msg_ok "Packages from Testing Repo Installed" - NODE_VERSION="22" setup_nodejs PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql @@ -154,6 +137,26 @@ $STD sudo -u postgres psql -c "ALTER USER $DB_USER WITH SUPERUSER;" } >>~/"$APPLICATION".creds msg_ok "Set up Postgresql Database" +msg_info "Installing Packages from Testing Repo" +export APT_LISTCHANGES_FRONTEND=none +export DEBIAN_FRONTEND=noninteractive +$STD apt-get install -t testing --no-install-recommends -y \ + libio-compress-brotli-perl \ + libwebp7 \ + libwebpdemux2 \ + libwebpmux3 \ + libhwy1t64 \ + libdav1d-dev \ + libhwy-dev \ + libwebp-dev +if [[ -f ~/.openvino ]]; then + $STD apt-get install -t testing -y patchelf +fi +msg_ok "Packages from Testing Repo Installed" + +$STD sudo -u postgres psql -c "ALTER DATABASE postgres REFRESH COLLATION VERSION;" +$STD sudo -u postgres psql -c "ALTER DATABASE $DB_NAME REFRESH COLLATION VERSION;" + msg_info "Compiling Custom Photo-processing Library (extreme patience)" LD_LIBRARY_PATH=/usr/local/lib export LD_RUN_PATH=/usr/local/lib