diff --git a/ct/immich.sh b/ct/immich.sh index a23e6822f5..e759ba3e8e 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -61,7 +61,7 @@ function update_script() { done msg_ok "Image-processing libraries up to date" fi - RELEASE="1.139.2" + RELEASE="1.139.4" #RELEASE=$(curl -fsSL https://api.github.com/repos/immich-app/immich/releases?per_page=1 | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ -f ~/.immich && "$RELEASE" == "$(cat ~/.immich)" ]]; then msg_ok "No update required. ${APP} is already at v${RELEASE}" @@ -138,14 +138,16 @@ EOF corepack enable # server build + export SHARP_IGNORE_GLOBAL_LIBVIPS=true $STD pnpm --filter immich --frozen-lockfile build + unset SHARP_IGNORE_GLOBAL_LIBVIPS + export SHARP_FORCE_GLOBAL_LIBVIPS=true $STD pnpm --filter immich --frozen-lockfile --prod --no-optional deploy "$APP_DIR" cp "$APP_DIR"/package.json "$APP_DIR"/bin sed -i 's|^start|./start|' "$APP_DIR"/bin/immich-admin # openapi & web build cd "$SRC_DIR" - export SHARP_FORCE_GLOBAL_LIBVIPS=true $STD pnpm --filter @immich/sdk --filter immich-web --frozen-lockfile --force install $STD pnpm --filter @immich/sdk --filter immich-web build cp -a web/build "$APP_DIR"/www diff --git a/install/immich-install.sh b/install/immich-install.sh index 8249813a20..fa89a8c909 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -280,7 +280,7 @@ GEO_DIR="${INSTALL_DIR}/geodata" mkdir -p "$INSTALL_DIR" mkdir -p {"${APP_DIR}","${UPLOAD_DIR}","${GEO_DIR}","${INSTALL_DIR}"/cache} -fetch_and_deploy_gh_release "immich" "immich-app/immich" "tarball" "v1.139.2" "$SRC_DIR" +fetch_and_deploy_gh_release "immich" "immich-app/immich" "tarball" "v1.139.4" "$SRC_DIR" msg_info "Installing ${APPLICATION} (more patience please)" @@ -290,14 +290,16 @@ export CI=1 corepack enable # server build +export SHARP_IGNORE_GLOBAL_LIBVIPS=true $STD pnpm --filter immich --frozen-lockfile build +unset SHARP_IGNORE_GLOBAL_LIBVIPS +export SHARP_FORCE_GLOBAL_LIBVIPS=true $STD pnpm --filter immich --frozen-lockfile --prod --no-optional deploy "$APP_DIR" cp "$APP_DIR"/package.json "$APP_DIR"/bin sed -i 's|^start|./start|' "$APP_DIR"/bin/immich-admin # openapi & web build cd "$SRC_DIR" -export SHARP_FORCE_GLOBAL_LIBVIPS=true $STD pnpm --filter @immich/sdk --filter immich-web --frozen-lockfile --force install $STD pnpm --filter @immich/sdk --filter immich-web build cp -a web/build "$APP_DIR"/www