Update Monica and Outline to use Node.js 22 (#7833)

This commit is contained in:
CanbiZ
2025-09-23 11:36:29 +02:00
committed by GitHub
parent 6fa1938360
commit 5382fa1dbd
4 changed files with 8 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
if check_for_gh_release "monica" "monicahq/monica"; then
msg_info "Stopping Service"
systemctl stop apache2

View File

@@ -28,6 +28,8 @@ function update_script() {
exit
fi
NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs
if check_for_gh_release "outline" "outline/outline"; then
msg_info "Stopping Services"
systemctl stop outline
@@ -37,7 +39,7 @@ function update_script() {
cp /opt/outline/.env /opt
msg_ok "Backup created"
fetch_and_deploy_gh_release "outline" "outline/outline" "tarball"
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "outline" "outline/outline" "tarball"
msg_info "Updating ${APP}"
cd /opt/outline