From e07cd96ff14dea19537e0a7429c7ed75d52d5b6d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 21 Apr 2026 10:11:10 +0200 Subject: [PATCH] fixes --- install/postiz-install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install/postiz-install.sh b/install/postiz-install.sh index 4d4c34d4..afaf7e06 100644 --- a/install/postiz-install.sh +++ b/install/postiz-install.sh @@ -25,15 +25,16 @@ PG_VERSION="17" setup_postgresql PG_DB_NAME="postiz" PG_DB_USER="postiz" setup_postgresql_db NODE_VERSION="24" setup_nodejs -msg_info "Installing pnpm" -$STD npm install -g pnpm@10.6.1 -msg_ok "Installed pnpm" - fetch_and_deploy_gh_release "temporal" "temporalio/cli" "prebuild" "latest" "/opt/temporal" "temporal_cli_*_linux_amd64.tar.gz" chmod +x /opt/temporal/temporal fetch_and_deploy_gh_release "postiz" "gitroomhq/postiz-app" "tarball" +msg_info "Installing pnpm" +PNPM_VERSION=$(sed -n 's/.*"packageManager":\s*"pnpm@\([^"]*\)".*/\1/p' /opt/postiz/package.json) +$STD npm install -g "pnpm@${PNPM_VERSION}" +msg_ok "Installed pnpm" + msg_info "Configuring Application" JWT_SECRET=$(openssl rand -base64 32) mkdir -p /opt/postiz/uploads