From 0edd8fcfe342f63fc3dbee405b6c027dca9e7871 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:46:18 +0100 Subject: [PATCH] fix(outline): prevent corepack interactive prompt blocking installation (#10973) - Add COREPACK_ENABLE_DOWNLOAD_PROMPT=0 to skip yarn download confirmation - Fixes installation hanging on 'Configuring Outline (Patience)' --- ct/outline.sh | 5 +++-- install/outline-install.sh | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ct/outline.sh b/ct/outline.sh index 896af3c81..9e1a45b6b 100644 --- a/ct/outline.sh +++ b/ct/outline.sh @@ -41,16 +41,17 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "outline" "outline/outline" "tarball" - msg_info "Updating ${APP}" + msg_info "Updating Outline" cd /opt/outline mv /opt/.env /opt/outline export NODE_ENV=development export NODE_OPTIONS="--max-old-space-size=3584" + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 $STD corepack enable $STD yarn install --immutable export NODE_ENV=production $STD yarn build - msg_ok "Updated ${APP}" + msg_ok "Updated Outline" msg_info "Starting Services" systemctl start outline diff --git a/install/outline-install.sh b/install/outline-install.sh index b38868db7..0c30cac1d 100644 --- a/install/outline-install.sh +++ b/install/outline-install.sh @@ -38,6 +38,7 @@ sed -i 's/redis:6379/localhost:6379/g' /opt/outline/.env sed -i "5s#URL=#URL=http://${LOCAL_IP}#g" /opt/outline/.env sed -i 's/FORCE_HTTPS=true/FORCE_HTTPS=false/g' /opt/outline/.env export NODE_OPTIONS="--max-old-space-size=3584" +export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 $STD corepack enable $STD yarn install --immutable export NODE_ENV=production