mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-02 22:00:09 +00:00
tracearr: fix install check and update node to version 24 (#11188)
* tracearr: fix install check and update node to version 24 * refactor --------- Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
This commit is contained in:
parent
b9eef7a257
commit
35a011e5c5
2 changed files with 4 additions and 2 deletions
|
|
@ -23,11 +23,13 @@ function update_script() {
|
||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -f /etc/systemd/system/tracearr.service ]]; then
|
if [[ ! -f /lib/systemd/system/tracearr.service ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
NODE_VERSION="24" setup_nodejs
|
||||||
|
|
||||||
if check_for_gh_release "tracearr" "connorgallopo/Tracearr"; then
|
if check_for_gh_release "tracearr" "connorgallopo/Tracearr"; then
|
||||||
msg_info "Stopping Services"
|
msg_info "Stopping Services"
|
||||||
systemctl stop tracearr postgresql redis
|
systemctl stop tracearr postgresql redis
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ msg_info "Installing Dependencies"
|
||||||
$STD apt install -y redis-server
|
$STD apt install -y redis-server
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="24" setup_nodejs
|
||||||
PG_VERSION="18" setup_postgresql
|
PG_VERSION="18" setup_postgresql
|
||||||
|
|
||||||
msg_info "Installing pnpm"
|
msg_info "Installing pnpm"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue