Immich: Updates for v2.2.0 (#8770)

* replace for-loop with curl native for multiple downloads

* add ccache dependency for OCR feature

* Update NodeJS to 24

* bump pinned version to 2.2.0
This commit is contained in:
Chris
2025-10-30 15:40:44 -04:00
committed by GitHub
parent edfaeb8467
commit 132e49f35e
2 changed files with 13 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ function update_script() {
setup_uv
PNPM_VERSION="$(curl -fsSL "https://raw.githubusercontent.com/immich-app/immich/refs/heads/main/package.json" | jq -r '.packageManager | split("@")[1]')"
NODE_VERSION="22" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
NODE_VERSION="24" NODE_MODULE="pnpm@${PNPM_VERSION}" setup_nodejs
if [[ ! -f /etc/apt/preferences.d/preferences ]]; then
msg_info "Adding Debian Testing repo"
@@ -93,7 +93,7 @@ EOF
msg_ok "Image-processing libraries up to date"
fi
RELEASE="2.1.0"
RELEASE="2.2.0"
if check_for_gh_release "immich" "immich-app/immich" "${RELEASE}"; then
msg_info "Stopping Services"
systemctl stop immich-web
@@ -113,6 +113,9 @@ EOF
rm ./vchord.deb
msg_ok "Upgraded VectorChord to v${VCHORD_RELEASE}"
fi
if ! dpkg -l | grep -q ccache; then
$STD apt-get install -yqq ccache
fi
INSTALL_DIR="/opt/${APP}"
UPLOAD_DIR="$(sed -n '/^IMMICH_MEDIA_LOCATION/s/[^=]*=//p' /opt/immich/.env)"