diff --git a/ct/monica.sh b/ct/monica.sh index 26686e3c4..2be6d986b 100644 --- a/ct/monica.sh +++ b/ct/monica.sh @@ -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 diff --git a/ct/outline.sh b/ct/outline.sh index c94eb63bc..ec653315c 100644 --- a/ct/outline.sh +++ b/ct/outline.sh @@ -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 diff --git a/install/monica-install.sh b/install/monica-install.sh index 41a00d5da..e02824f16 100644 --- a/install/monica-install.sh +++ b/install/monica-install.sh @@ -16,7 +16,7 @@ update_os PHP_VERSION="8.2" PHP_APACHE="YES" PHP_MODULE="dom,gmp,iconv,mysqli,pdo-mysql,redis,tokenizer" setup_php setup_composer setup_mariadb -NODE_VERSION="20" NODE_MODULE="yarn@latest" setup_nodejs +NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs msg_info "Setting up MariaDB" DB_NAME=monica diff --git a/install/outline-install.sh b/install/outline-install.sh index 068d1b38f..cade4cd92 100644 --- a/install/outline-install.sh +++ b/install/outline-install.sh @@ -20,7 +20,7 @@ $STD apt-get install -y \ redis msg_ok "Installed Dependencies" -NODE_VERSION="20" NODE_MODULE="yarn@latest" setup_nodejs +NODE_VERSION="22" NODE_MODULE="yarn@latest" setup_nodejs PG_VERSION="16" setup_postgresql msg_info "Set up PostgreSQL Database"