diff --git a/ct/2fauth.sh b/ct/2fauth.sh index a98850017..f6ffecc21 100644 --- a/ct/2fauth.sh +++ b/ct/2fauth.sh @@ -66,7 +66,7 @@ function update_script() { $STD apt -y autoclean $STD apt -y clean msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index 55b80b1f9..393959204 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -44,6 +44,7 @@ function update_script() { msg_info "Starting Service" systemctl start actualbudget msg_ok "Started Service" + msg_ok "Updated successfully!" else msg_info "${APP} is already up to date" fi @@ -51,7 +52,7 @@ function update_script() { msg_info "Old Installation Found, you need to migrate your data and recreate to a new container" msg_info "Please follow the instructions on the ${APP} website to migrate your data" msg_info "https://actualbudget.org/docs/backup-restore/backup" - exit 1 + exit fi exit } diff --git a/ct/adventurelog.sh b/ct/adventurelog.sh index 65e48a0ca..2902c76cf 100644 --- a/ct/adventurelog.sh +++ b/ct/adventurelog.sh @@ -73,7 +73,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/adventurelog-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/agentdvr.sh b/ct/agentdvr.sh index b006590b6..c0d9fd5ce 100644 --- a/ct/agentdvr.sh +++ b/ct/agentdvr.sh @@ -27,7 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - + RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0" | grep -o 'https://.*\.zip') if [[ "${RELEASE}" != "$(cat ~/.agentdvr 2>/dev/null)" ]] || [[ ! -f ~/.agentdvr ]]; then msg_info "Stopping service" @@ -39,15 +39,14 @@ function update_script() { curl -fsSL "$RELEASE" -o $(basename "$RELEASE") $STD unzip -o Agent_Linux64*.zip chmod +x ./Agent - echo $RELEASE > ~/.agentdvr + echo $RELEASE >~/.agentdvr rm -rf Agent_Linux64*.zip msg_ok "Updated $APP" msg_info "Starting service" systemctl start AgentDVR msg_ok "Service started" - - msg_ok "Updated $APP successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-adguard.sh b/ct/alpine-adguard.sh index 5c6f233db..4a766ca6b 100644 --- a/ct/alpine-adguard.sh +++ b/ct/alpine-adguard.sh @@ -32,6 +32,7 @@ function update_script() { msg_info "Restarting AdGuard Home" $STD rc-service adguardhome restart msg_ok "Restarted AdGuard Home" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-bitmagnet.sh b/ct/alpine-bitmagnet.sh index cc470827d..90eb6781e 100644 --- a/ct/alpine-bitmagnet.sh +++ b/ct/alpine-bitmagnet.sh @@ -24,7 +24,7 @@ function update_script() { if [[ ! -d /opt/bitmagnet ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi RELEASE=$(curl -fsSL https://api.github.com/repos/bitmagnet-io/bitmagnet/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [ "${RELEASE}" != "$(cat /opt/bitmagnet_version.txt)" ] || [ ! -f /opt/bitmagnet_version.txt ]; then @@ -71,7 +71,7 @@ function update_script() { rm -f "$temp_file" echo "${RELEASE}" >/opt/bitmagnet_version.txt $STD service bitmagnet start - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-caddy.sh b/ct/alpine-caddy.sh index 88597df08..9022647b7 100644 --- a/ct/alpine-caddy.sh +++ b/ct/alpine-caddy.sh @@ -32,6 +32,7 @@ function update_script() { msg_info "Restarting Caddy" rc-service caddy restart msg_ok "Restarted Caddy" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-docker.sh b/ct/alpine-docker.sh index 0b58de520..698e2b1ba 100644 --- a/ct/alpine-docker.sh +++ b/ct/alpine-docker.sh @@ -37,6 +37,7 @@ function update_script() { case $CHOICE in 1) $STD apk -U upgrade + msg_ok "Updated successfully!" exit ;; esac diff --git a/ct/alpine-forgejo.sh b/ct/alpine-forgejo.sh index e94feac2b..e6e39ecf2 100644 --- a/ct/alpine-forgejo.sh +++ b/ct/alpine-forgejo.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Restarting Forgejo" $STD rc-service forgejo restart msg_ok "Restarted Forgejo" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-garage.sh b/ct/alpine-garage.sh index 64ef30453..bd48fcc5f 100644 --- a/ct/alpine-garage.sh +++ b/ct/alpine-garage.sh @@ -46,7 +46,7 @@ function update_script() { msg_info "Starting Service" rc-service garage start || rc-service garage restart msg_ok "Started Service" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" else msg_ok "No update required. Garage is already at ${GITEA_RELEASE}" fi diff --git a/ct/alpine-gatus.sh b/ct/alpine-gatus.sh index 39393dae0..0dd2cf0c2 100644 --- a/ct/alpine-gatus.sh +++ b/ct/alpine-gatus.sh @@ -24,7 +24,7 @@ function update_script() { if [[ ! -d /opt/gatus ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi RELEASE=$(curl -s https://api.github.com/repos/TwiN/gatus/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [ "${RELEASE}" != "$(cat /opt/gatus_version.txt)" ] || [ ! -f /opt/gatus_version.txt ]; then @@ -44,7 +44,7 @@ function update_script() { rm -f "$temp_file" echo "${RELEASE}" >/opt/gatus_version.txt $STD service gatus start - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-gitea.sh b/ct/alpine-gitea.sh index 822dbf762..993851ff4 100644 --- a/ct/alpine-gitea.sh +++ b/ct/alpine-gitea.sh @@ -32,6 +32,7 @@ function update_script() { msg_info "Restarting Gitea" rc-service gitea restart msg_ok "Restarted Gitea" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-grafana.sh b/ct/alpine-grafana.sh index 1e4cee4cf..8c6f64a35 100644 --- a/ct/alpine-grafana.sh +++ b/ct/alpine-grafana.sh @@ -40,16 +40,19 @@ function update_script() { case $CHOICE in 1) $STD apk -U upgrade + msg_ok "Updated successfully!" exit ;; 2) sed -i -e "s/cfg:server.http_addr=.*/cfg:server.http_addr=0.0.0.0/g" /etc/conf.d/grafana service grafana restart + msg_ok "Allowed listening on all interfaces!" exit ;; 3) sed -i -e "s/cfg:server.http_addr=.*/cfg:server.http_addr=$LXCIP/g" /etc/conf.d/grafana service grafana restart + msg_ok "Allowed listening only on ${LXCIP}!" exit ;; esac diff --git a/ct/alpine-it-tools.sh b/ct/alpine-it-tools.sh index a22f6702d..b06058af8 100644 --- a/ct/alpine-it-tools.sh +++ b/ct/alpine-it-tools.sh @@ -24,7 +24,7 @@ function update_script() { if [ ! -d /usr/share/nginx/html ]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi RELEASE=$(curl -fsSL https://api.github.com/repos/sharevb/it-tools/releases/latest | grep '"tag_name":' | cut -d '"' -f4) @@ -37,7 +37,7 @@ function update_script() { cp -r /tmp/dist/* /usr/share/nginx/html rm -rf /tmp/dist rm -f it-tools.zip - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-komodo.sh b/ct/alpine-komodo.sh index d29a5b479..a356a1fd0 100644 --- a/ct/alpine-komodo.sh +++ b/ct/alpine-komodo.sh @@ -22,14 +22,14 @@ catch_errors function update_script() { [[ -d /opt/komodo ]] || { msg_error "No ${APP} Installation Found!" - exit 1 + exit } msg_info "Updating ${APP}" COMPOSE_FILE=$(find /opt/komodo -maxdepth 1 -type f -name '*.compose.yaml' ! -name 'compose.env' | head -n1) if [[ -z "$COMPOSE_FILE" ]]; then msg_error "No valid compose file found in /opt/komodo!" - exit 1 + exit fi COMPOSE_BASENAME=$(basename "$COMPOSE_FILE") @@ -38,23 +38,24 @@ function update_script() { echo -e "${YW}This configuration is no longer supported since Komodo v1.18.0.${CL}" echo -e "${YW}Please follow the migration guide:${CL}" echo -e "${BGN}https://github.com/community-scripts/ProxmoxVE/discussions/5689${CL}\n" - exit 1 + exit fi BACKUP_FILE="/opt/komodo/${COMPOSE_BASENAME}.bak_$(date +%Y%m%d_%H%M%S)" cp "$COMPOSE_FILE" "$BACKUP_FILE" || { msg_error "Failed to create backup of ${COMPOSE_BASENAME}!" - exit 1 + exit } GITHUB_URL="https://raw.githubusercontent.com/moghtech/komodo/main/compose/${COMPOSE_BASENAME}" if ! curl -fsSL "$GITHUB_URL" -o "$COMPOSE_FILE"; then msg_error "Failed to download ${COMPOSE_BASENAME} from GitHub!" mv "$BACKUP_FILE" "$COMPOSE_FILE" - exit 1 + exit fi $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d - msg_ok "Updated ${APP}" + msg_ok "Updated Alpine-Komodo" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-mariadb.sh b/ct/alpine-mariadb.sh index 0f84c767e..55c29ac88 100644 --- a/ct/alpine-mariadb.sh +++ b/ct/alpine-mariadb.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Restarting MariaDB" $STD rc-service mariadb restart msg_ok "Restarted MariaDB" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-node-red.sh b/ct/alpine-node-red.sh index 39c6bbe9c..8645fdb15 100644 --- a/ct/alpine-node-red.sh +++ b/ct/alpine-node-red.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Updating Node-RED" $STD npm install -g --unsafe-perm node-red msg_ok "Updated Node-RED" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-postgresql.sh b/ct/alpine-postgresql.sh index 63630e231..96b13dd68 100644 --- a/ct/alpine-postgresql.sh +++ b/ct/alpine-postgresql.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Restarting PostgreSQL" $STD rc-service postgresql restart msg_ok "Restarted PostgreSQL" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-prometheus.sh b/ct/alpine-prometheus.sh index 5d358d4da..6772be228 100644 --- a/ct/alpine-prometheus.sh +++ b/ct/alpine-prometheus.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Restarting Prometheus" $STD rc-service prometheus restart msg_ok "Restarted Prometheus" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-rclone.sh b/ct/alpine-rclone.sh index ec25f2286..72f31b4a7 100644 --- a/ct/alpine-rclone.sh +++ b/ct/alpine-rclone.sh @@ -24,7 +24,7 @@ function update_script() { header_info if [ ! -d /opt/rclone ]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi RELEASE=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [ "${RELEASE}" != "$(cat /opt/rclone_version.txt)" ] || [ ! -f /opt/rclone_version.txt ]; then @@ -34,7 +34,7 @@ function update_script() { $STD unzip -o "$temp_file" '*/**' -d /opt/rclone rm -f "$temp_file" echo "${RELEASE}" >/opt/rclone_version.txt - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-redis.sh b/ct/alpine-redis.sh index 70ad28207..a42216b9f 100644 --- a/ct/alpine-redis.sh +++ b/ct/alpine-redis.sh @@ -42,7 +42,7 @@ function update_script() { msg_info "Updating Redis" apk update && apk upgrade redis rc-service redis restart - msg_ok "Redis updated successfully!" + msg_ok "Updated successfully!" exit ;; 2) diff --git a/ct/alpine-redlib.sh b/ct/alpine-redlib.sh index 6e486210d..463af04d8 100644 --- a/ct/alpine-redlib.sh +++ b/ct/alpine-redlib.sh @@ -41,7 +41,7 @@ function update_script() { msg_info "Starting Service" $STD rc-service redlib start msg_ok "Started Service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-rustdeskserver.sh b/ct/alpine-rustdeskserver.sh index 17ba52e4f..40b223c3f 100644 --- a/ct/alpine-rustdeskserver.sh +++ b/ct/alpine-rustdeskserver.sh @@ -23,7 +23,7 @@ function update_script() { header_info if [[ ! -d /opt/rustdesk-server ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi APIRELEASE=$(curl -s https://api.github.com/repos/lejianwen/rustdesk-api/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') diff --git a/ct/alpine-syncthing.sh b/ct/alpine-syncthing.sh index bbdc24073..fe2bfe6da 100644 --- a/ct/alpine-syncthing.sh +++ b/ct/alpine-syncthing.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Restarting Syncthing" $STD rc-service syncthing restart msg_ok "Restarted Syncthing" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-teamspeak-server.sh b/ct/alpine-teamspeak-server.sh index dbbd8792f..0e84d52e1 100644 --- a/ct/alpine-teamspeak-server.sh +++ b/ct/alpine-teamspeak-server.sh @@ -24,7 +24,7 @@ function update_script() { if [[ ! -d /opt/teamspeak-server ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi set +o pipefail && RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server | sed -n 's/.*teamspeak3-server_linux_amd64-\([0-9.]*[0-9]\).*/\1/p' | head -1) && set -o pipefail @@ -40,7 +40,7 @@ function update_script() { rm -rf teamspeak3-server_linux_amd64 echo "${RELEASE}" >~/.teamspeak-server $STD service teamspeak start - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-tinyauth.sh b/ct/alpine-tinyauth.sh index b3e341732..9c5adf6df 100644 --- a/ct/alpine-tinyauth.sh +++ b/ct/alpine-tinyauth.sh @@ -22,7 +22,7 @@ catch_errors function update_script() { if [[ ! -d /opt/tinyauth ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi msg_info "Updating packages" @@ -45,7 +45,7 @@ function update_script() { msg_info "Restarting Tinyauth" $STD service tinyauth start msg_ok "Restarted Tinyauth" - msg_ok "Updated Tinyauth" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/alpine-traefik.sh b/ct/alpine-traefik.sh index acf2f602a..8c7c0173c 100644 --- a/ct/alpine-traefik.sh +++ b/ct/alpine-traefik.sh @@ -25,9 +25,10 @@ function update_script() { $STD apk -U upgrade msg_ok "Updated Alpine Packages" - msg_info "Upgrading traefik from edge" + msg_info "Updating traefik from edge" $STD apk add traefik --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community - msg_ok "Upgraded traefik" + msg_ok "Updated traefik" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine-transmission.sh b/ct/alpine-transmission.sh index 6c1dc773b..9c1da6869 100644 --- a/ct/alpine-transmission.sh +++ b/ct/alpine-transmission.sh @@ -31,6 +31,7 @@ function update_script() { msg_info "Restarting Transmission" $STD rc-service transmission-daemon restart msg_ok "Restarted Transmission" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/alpine.sh b/ct/alpine.sh index ca1c09c0f..803ef695e 100644 --- a/ct/alpine.sh +++ b/ct/alpine.sh @@ -29,7 +29,8 @@ function update_script() { header_info if [ "$UPD" == "1" ]; then $STD apk -U upgrade - exit + msg_ok "Updated successfully!" + exit 0 fi } diff --git a/ct/apache-tika.sh b/ct/apache-tika.sh index 07b3fcf00..952d92a7b 100755 --- a/ct/apache-tika.sh +++ b/ct/apache-tika.sh @@ -47,7 +47,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/apache-tika/tika-server-standard-prev-version.jar msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/apt-cacher-ng.sh b/ct/apt-cacher-ng.sh index 1ee2402be..e85ec453e 100644 --- a/ct/apt-cacher-ng.sh +++ b/ct/apt-cacher-ng.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt-get update $STD apt-get -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/archivebox.sh b/ct/archivebox.sh index 651e6816b..d28661f23 100644 --- a/ct/archivebox.sh +++ b/ct/archivebox.sh @@ -55,7 +55,7 @@ function update_script() { msg_info "Starting Service" systemctl start archivebox msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/argus.sh b/ct/argus.sh index 58de85f0b..57c175505 100644 --- a/ct/argus.sh +++ b/ct/argus.sh @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting service" systemctl start argus msg_ok "Service started" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/aria2.sh b/ct/aria2.sh index 9b88f6d48..6f918ce00 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6880${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6880${CL}" diff --git a/ct/audiobookshelf.sh b/ct/audiobookshelf.sh index 0a8a1919e..81ea9c85c 100644 --- a/ct/audiobookshelf.sh +++ b/ct/audiobookshelf.sh @@ -32,6 +32,7 @@ function update_script() { $STD apt-get update $STD apt-get -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/authelia.sh b/ct/authelia.sh index c51c00d10..24b1ab0b9 100644 --- a/ct/authelia.sh +++ b/ct/authelia.sh @@ -40,7 +40,7 @@ function update_script() { $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/autobrr.sh b/ct/autobrr.sh index 7bc8e628f..e3440d5ad 100644 --- a/ct/autobrr.sh +++ b/ct/autobrr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start autobrr msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/autocaliweb.sh b/ct/autocaliweb.sh index 8b4fdf337..51208cb19 100644 --- a/ct/autocaliweb.sh +++ b/ct/autocaliweb.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -68,7 +68,7 @@ function update_script() { systemctl start autocaliweb metadata-change-detector acw-ingest-service acw-auto-zipper msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/babybuddy.sh b/ct/babybuddy.sh index baf1c3c0f..8d4e2f3cb 100644 --- a/ct/babybuddy.sh +++ b/ct/babybuddy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -61,7 +61,7 @@ function update_script() { systemctl start uwsgi systemctl start nginx msg_ok "Services Started" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/backrest.sh b/ct/backrest.sh index abc71b0ca..858b5030a 100644 --- a/ct/backrest.sh +++ b/ct/backrest.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: ksad (enirys31) @@ -49,7 +49,7 @@ function update_script() { msg_info "Cleaning up" rm -f "$temp_file" msg_ok "Cleaned up" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/baikal.sh b/ct/baikal.sh index 05a8c41c6..d28c6d9ec 100644 --- a/ct/baikal.sh +++ b/ct/baikal.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -56,7 +56,7 @@ function update_script() { msg_info "Cleaning up" rm -rf /opt/baikal-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/bar-assistant.sh b/ct/bar-assistant.sh index dce83b331..ab883a692 100644 --- a/ct/bar-assistant.sh +++ b/ct/bar-assistant.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 | CanbiZ @@ -102,7 +102,7 @@ function update_script() { msg_info "Starting Meilisearch" systemctl start meilisearch msg_ok "Started Meilisearch" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/barcode-buddy.sh b/ct/barcode-buddy.sh index e28491ce0..2ec33c5ff 100644 --- a/ct/barcode-buddy.sh +++ b/ct/barcode-buddy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -54,7 +54,7 @@ function update_script() { msg_info "Cleaning up" rm -r /opt/barcodebuddy-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/bazarr.sh b/ct/bazarr.sh index 82b8517cc..41475fb38 100755 --- a/ct/bazarr.sh +++ b/ct/bazarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -46,11 +46,11 @@ function update_script() { sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt $STD uv pip install -r /opt/bazarr/requirements.txt --python /opt/bazarr/venv/bin/python3 msg_ok "Setup Bazarr" - + msg_info "Starting Service" systemctl start bazarr msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/bentopdf.sh b/ct/bentopdf.sh index 428f4622e..e72f65f80 100644 --- a/ct/bentopdf.sh +++ b/ct/bentopdf.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -47,7 +47,7 @@ function update_script() { msg_info "Starting Service" systemctl start bentopdf msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/beszel.sh b/ct/beszel.sh index f3d448429..e45d000f3 100644 --- a/ct/beszel.sh +++ b/ct/beszel.sh @@ -20,27 +20,27 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/beszel ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Stopping $APP" - systemctl stop beszel-hub - msg_ok "Stopped $APP" - - msg_info "Updating $APP" - $STD /opt/beszel/beszel update - sleep 2 && chmod +x /opt/beszel/beszel - msg_ok "Updated $APP" - - msg_info "Starting $APP" - systemctl start beszel-hub - msg_ok "Successfully started $APP" - msg_ok "Update Successful" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/beszel ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Stopping Service" + systemctl stop beszel-hub + msg_info "Stopped Service" + + msg_info "Updating $APP" + $STD /opt/beszel/beszel update + sleep 2 && chmod +x /opt/beszel/beszel + msg_ok "Updated $APP" + + msg_info "Starting Service" + systemctl start beszel-hub + msg_ok "Successfully started $APP" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/bitmagnet.sh b/ct/bitmagnet.sh index 765e3e278..fb7fde021 100644 --- a/ct/bitmagnet.sh +++ b/ct/bitmagnet.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -74,7 +74,7 @@ function update_script() { msg_info "Starting Service" systemctl start bitmagnet-web msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/blocky.sh b/ct/blocky.sh index d7184915b..9e152bdd6 100644 --- a/ct/blocky.sh +++ b/ct/blocky.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -49,7 +49,7 @@ function update_script() { msg_info "Starting Service" systemctl start blocky msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/booklore.sh b/ct/booklore.sh index cf2fef9fb..9581c6739 100644 --- a/ct/booklore.sh +++ b/ct/booklore.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -29,9 +29,9 @@ function update_script() { exit fi if check_for_gh_release "booklore" "booklore-app/BookLore"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop booklore - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "backup old install" mv /opt/booklore /opt/booklore_bak @@ -56,17 +56,17 @@ function update_script() { JAR_PATH=$(find /opt/booklore/booklore-api/build/libs -maxdepth 1 -type f -name "booklore-api-*.jar" ! -name "*plain*" | head -n1) if [[ -z "$JAR_PATH" ]]; then msg_error "Backend JAR not found" - exit 1 + exit fi cp "$JAR_PATH" /opt/booklore/dist/app.jar msg_ok "Built Backend" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start booklore systemctl reload nginx rm -rf /opt/booklore_bak - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/bookstack.sh b/ct/bookstack.sh index 990f30b26..8b7f4271e 100644 --- a/ct/bookstack.sh +++ b/ct/bookstack.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) @@ -66,7 +66,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/bookstack-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/bunkerweb.sh b/ct/bunkerweb.sh index c58d3680c..34b047be9 100644 --- a/ct/bunkerweb.sh +++ b/ct/bunkerweb.sh @@ -41,7 +41,7 @@ EOF apt-get install -y --allow-downgrades bunkerweb=${RELEASE} echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated ${APP} to ${RELEASE}" - + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/bytestash.sh b/ct/bytestash.sh index b25e696d3..8ddfa9000 100644 --- a/ct/bytestash.sh +++ b/ct/bytestash.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -54,7 +54,7 @@ function update_script() { msg_error "PLEASE MAKE A BACKUP FIRST!" exit fi - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/caddy.sh b/ct/caddy.sh index 143630ea5..a9d0a1c14 100644 --- a/ct/caddy.sh +++ b/ct/caddy.sh @@ -20,31 +20,33 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /etc/caddy ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /etc/caddy ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated successfully!" + msg_ok "Updated $APP LXC" - if command -v xcaddy >/dev/null 2>&1; then - setup_go - msg_info "Updating xCaddy" - cd /opt - RELEASE=$(curl -fsSL https://api.github.com/repos/caddyserver/xcaddy/releases/latest | grep "tag_name" | awk -F '"' '{print $4}') - VERSION="${RELEASE#v}" - curl -fsSL "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${VERSION}_linux_amd64.deb" -o "xcaddy_${VERSION}_linux_amd64.deb" - $STD dpkg -i "xcaddy_${VERSION}_linux_amd64.deb" - rm -f "xcaddy_${VERSION}_linux_amd64.deb" - $STD xcaddy build - msg_ok "Updated xCaddy" - fi - exit + if command -v xcaddy >/dev/null 2>&1; then + setup_go + msg_info "Updating xCaddy" + cd /opt + RELEASE=$(curl -fsSL https://api.github.com/repos/caddyserver/xcaddy/releases/latest | grep "tag_name" | awk -F '"' '{print $4}') + VERSION="${RELEASE#v}" + curl -fsSL "https://github.com/caddyserver/xcaddy/releases/download/${RELEASE}/xcaddy_${VERSION}_linux_amd64.deb" -o "xcaddy_${VERSION}_linux_amd64.deb" + $STD dpkg -i "xcaddy_${VERSION}_linux_amd64.deb" + rm -f "xcaddy_${VERSION}_linux_amd64.deb" + $STD xcaddy build + msg_ok "Updated xCaddy" + msg_ok "Updated successfully!" + fi + exit } start diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index d45f03bb6..7199910e9 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: remz1337 @@ -104,7 +104,7 @@ function update_script() { ;; *) echo "Unsupported item $CHOICE!" >&2 - exit 1 + exit ;; esac done @@ -124,7 +124,7 @@ function update_script() { msg_info "Starting Service" systemctl start cps msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/casaos.sh b/ct/casaos.sh index 5f7813075..34dad84f4 100644 --- a/ct/casaos.sh +++ b/ct/casaos.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated ${APP} LXC" - exit + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating ${APP} LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated ${APP} LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/changedetection.sh b/ct/changedetection.sh index 3fcc1665a..a4bfefd6d 100644 --- a/ct/changedetection.sh +++ b/ct/changedetection.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -68,7 +68,7 @@ function update_script() { fi systemctl restart changedetection - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/checkmk.sh b/ct/checkmk.sh index a9fe1b431..fe4862eb0 100644 --- a/ct/checkmk.sh +++ b/ct/checkmk.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Michel Roegl-Brunner (michelroegl-brunner) @@ -27,7 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - + RELEASE=$(curl -fsSL https://api.github.com/repos/checkmk/checkmk/tags | grep "name" | awk '{print substr($2, 3, length($2)-4) }' | tr ' ' '\n' | grep -Ev 'rc|b' | sort -V | tail -n 1) msg_info "Updating ${APP} to v${RELEASE}" $STD omd stop monitoring @@ -40,8 +40,8 @@ function update_script() { $STD omd cleanup rm -rf /opt/checkmk.deb msg_ok "Updated ${APP}" - msg_ok "Updated Successfully" - + msg_ok "Updated successfully!" + exit } diff --git a/ct/cleanuparr.sh b/ct/cleanuparr.sh index dbde789b0..20a68277e 100755 --- a/ct/cleanuparr.sh +++ b/ct/cleanuparr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Lucas Zampieri (zampierilucas) | MickLesk (CanbiZ) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start cleanuparr msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/cloudflared.sh b/ct/cloudflared.sh index 90c1842f4..ae411c389 100644 --- a/ct/cloudflared.sh +++ b/ct/cloudflared.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/cloudreve.sh b/ct/cloudreve.sh index c8e76287f..eaacdbdb6 100644 --- a/ct/cloudreve.sh +++ b/ct/cloudreve.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -29,16 +29,16 @@ function update_script() { exit fi if check_for_gh_release "cloudreve" "cloudreve/cloudreve"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop cloudreve - msg_ok "Stopped $APP" + msg_info "Stopped Service" fetch_and_deploy_gh_release "cloudreve" "cloudreve/cloudreve" "prebuild" "latest" "/opt/cloudreve" "*linux_amd64.tar.gz" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start cloudreve - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/cockpit.sh b/ct/cockpit.sh index 2ff32f7f1..c64492ec7 100644 --- a/ct/cockpit.sh +++ b/ct/cockpit.sh @@ -27,11 +27,12 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - + msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade msg_ok "Updated ${APP} LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/commafeed.sh b/ct/commafeed.sh index 79cab1b54..ffa55e7e4 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -57,7 +57,7 @@ function update_script() { msg_info "Starting Service" systemctl start commafeed msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/configarr.sh b/ct/configarr.sh index 3368d5118..3b3cf6a4b 100644 --- a/ct/configarr.sh +++ b/ct/configarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: finkerle @@ -41,7 +41,7 @@ function update_script() { msg_info "Starting Service" systemctl start configarr-task.timer msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/convertx.sh b/ct/convertx.sh index 1bfbae645..779b2f73b 100644 --- a/ct/convertx.sh +++ b/ct/convertx.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Omar Minaya | MickLesk (CanbiZ) @@ -28,9 +28,9 @@ function update_script() { exit fi if check_for_gh_release "ConvertX" "C4illin/ConvertX"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop convertx - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Move data-Folder" if [[ -d /opt/convertx/data ]]; then @@ -48,10 +48,10 @@ function update_script() { $STD bun install msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start convertx - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/crafty-controller.sh b/ct/crafty-controller.sh index ca026a6f1..4d056dd98 100644 --- a/ct/crafty-controller.sh +++ b/ct/crafty-controller.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts # Author: CrazyWolf13 @@ -67,7 +67,7 @@ function update_script() { systemctl start crafty-controller msg_ok "Started Crafty-Controller" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/cross-seed.sh b/ct/cross-seed.sh index 0a73f0ae2..fa991475a 100644 --- a/ct/cross-seed.sh +++ b/ct/cross-seed.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Jakub Matraszek (jmatraszek) @@ -31,7 +31,7 @@ function update_script() { msg_info "Updating ${APP} from version v${current_version} to v${latest_version}" $STD npm install -g cross-seed@latest systemctl restart cross-seed - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "${APP} is already at v${current_version}" fi @@ -49,4 +49,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access cross-seed API using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2468${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:2468${CL}" diff --git a/ct/cryptpad.sh b/ct/cryptpad.sh index 80c741678..1ce35637a 100644 --- a/ct/cryptpad.sh +++ b/ct/cryptpad.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -29,9 +29,9 @@ function update_script() { exit fi if check_for_gh_release "cryptpad" "cryptpad/cryptpad"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop cryptpad - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Backing up configuration" [ -f /opt/cryptpad/config/config.js ] && mv /opt/cryptpad/config/config.js /opt/ @@ -50,10 +50,10 @@ function update_script() { mv /opt/config.js /opt/cryptpad/config/ msg_ok "Configuration restored" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start cryptpad - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/daemonsync.sh b/ct/daemonsync.sh index d5217c9cc..9e82843c0 100644 --- a/ct/daemonsync.sh +++ b/ct/daemonsync.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8084${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8084${CL}" diff --git a/ct/dashy.sh b/ct/dashy.sh index da6fac44c..0189e00b6 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -62,7 +62,7 @@ function update_script() { msg_info "Starting Dashy" systemctl start dashy msg_ok "Started Dashy" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/debian.sh b/ct/debian.sh index 5dde314af..c3bb3cb1b 100644 --- a/ct/debian.sh +++ b/ct/debian.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/deconz.sh b/ct/deconz.sh index 6ce3e4d42..f6fd38c15 100644 --- a/ct/deconz.sh +++ b/ct/deconz.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt-get update $STD apt-get -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/deluge.sh b/ct/deluge.sh index 374efc777..95040817f 100644 --- a/ct/deluge.sh +++ b/ct/deluge.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/systemd/system/deluged.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - pip3 install deluge[all] --upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/systemd/system/deluged.service ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + pip3 install deluge[all] --upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8112${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8112${CL}" diff --git a/ct/dispatcharr.sh b/ct/dispatcharr.sh index 2cfd964ef..14cc19a56 100644 --- a/ct/dispatcharr.sh +++ b/ct/dispatcharr.sh @@ -121,7 +121,7 @@ function update_script() { msg_info "Cleaning up" rm -f /tmp/dispatcharr_db_*.sql msg_ok "Cleanup completed" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/docker.sh b/ct/docker.sh index 99d1b3472..7a74fd8ed 100644 --- a/ct/docker.sh +++ b/ct/docker.sh @@ -81,6 +81,7 @@ function update_script() { $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleanup complete" + msg_ok "Updated successfully!" exit } diff --git a/ct/dockge.sh b/ct/dockge.sh index 02a3a3c14..d3e82a476 100644 --- a/ct/dockge.sh +++ b/ct/dockge.sh @@ -20,19 +20,20 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/dockge ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP}" - cd /opt/dockge - docker compose pull - docker compose up -d - msg_ok "Updated ${APP}" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/dockge ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP}" + cd /opt/dockge + $STD docker compose pull + $STD docker compose up -d + msg_ok "Updated ${APP}" + msg_ok "Updated successfully!" + exit } start @@ -42,4 +43,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5001${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5001${CL}" diff --git a/ct/docmost.sh b/ct/docmost.sh index d1d45462a..c3bff332b 100644 --- a/ct/docmost.sh +++ b/ct/docmost.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -55,7 +55,7 @@ function update_script() { msg_info "Starting Service" systemctl start docmost msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/documenso.sh b/ct/documenso.sh index 4742d6622..2c5e39741 100644 --- a/ct/documenso.sh +++ b/ct/documenso.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -60,7 +60,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/v${RELEASE}.zip msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/dotnetaspwebapi.sh b/ct/dotnetaspwebapi.sh index a25b1bba5..eb89e1124 100644 --- a/ct/dotnetaspwebapi.sh +++ b/ct/dotnetaspwebapi.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Kristian Skov @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt-get update $STD apt-get -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:80${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:80${CL}" diff --git a/ct/duplicati.sh b/ct/duplicati.sh index ed0baf69a..78979c893 100644 --- a/ct/duplicati.sh +++ b/ct/duplicati.sh @@ -29,16 +29,16 @@ function update_script() { fi if check_for_gh_release "duplicati" "duplicati/duplicati"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop duplicati - msg_ok "Stopped $APP" + msg_info "Stopped Service" fetch_and_deploy_gh_release "duplicati" "duplicati/duplicati" "binary" "latest" "/opt/duplicati" "duplicati-*-linux-x64-gui.deb" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start duplicati - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/elementsynapse.sh b/ct/elementsynapse.sh index 1a7689a80..998ab584b 100644 --- a/ct/elementsynapse.sh +++ b/ct/elementsynapse.sh @@ -61,8 +61,8 @@ function update_script() { $STD yarn global add serve $STD yarn install --ignore-engines $STD yarn build - mv ./dist ../ && \ - rm -rf * && \ + mv ./dist ../ && + rm -rf * && mv ../dist ./ if [[ -z $(grep "ExecStart=/usr/local/bin/serve" /etc/systemd/system/synapse-admin.service) ]]; then sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/serve -s dist -l 5173|' /etc/systemd/system/synapse-admin.service @@ -71,7 +71,7 @@ function update_script() { systemctl start synapse-admin echo "${RELEASE}" >/opt/"${APP}"_version.txt rm -f "$temp_file" - msg_ok "Update Successful" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/emby.sh b/ct/emby.sh index b17a798ec..1df984951 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start emby-server msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/emqx.sh b/ct/emqx.sh index 9b0a0bd99..b274fe187 100644 --- a/ct/emqx.sh +++ b/ct/emqx.sh @@ -57,7 +57,7 @@ function update_script() { msg_info "Cleaning Up" rm -f "$DEB_FILE" msg_ok "Cleanup Completed" - msg_ok "Update Successful" + msg_ok "Updated successfully!" else msg_ok "No update required. EMQX is already at v${RELEASE}" fi diff --git a/ct/ersatztv.sh b/ct/ersatztv.sh index 7ccd2fb35..2eff3408d 100644 --- a/ct/ersatztv.sh +++ b/ct/ersatztv.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -37,7 +37,7 @@ function update_script() { systemctl start ersatzTV msg_ok "Started ErsatzTV" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi if check_for_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg"; then @@ -57,7 +57,7 @@ function update_script() { msg_info "Starting ErsatzTV" systemctl start ersatzTV msg_ok "Started ErsatzTV" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/esphome.sh b/ct/esphome.sh index f9d991017..189b44d83 100644 --- a/ct/esphome.sh +++ b/ct/esphome.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -25,7 +25,7 @@ function update_script() { check_container_resources if [[ ! -f /etc/systemd/system/esphomeDashboard.service ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi msg_info "Stopping Service" @@ -81,7 +81,7 @@ EOF msg_info "Starting Service" systemctl start esphomeDashboard msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/evcc.sh b/ct/evcc.sh index d38659222..4b49a79c5 100644 --- a/ct/evcc.sh +++ b/ct/evcc.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating evcc LXC" $STD apt update $STD apt --only-upgrade install -y evcc - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7070${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7070${CL}" diff --git a/ct/excalidraw.sh b/ct/excalidraw.sh index 2fdc5f0cf..bd241b519 100644 --- a/ct/excalidraw.sh +++ b/ct/excalidraw.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -29,9 +29,9 @@ function update_script() { exit fi if check_for_gh_release "excalidraw" "excalidraw/excalidraw"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop excalidraw - msg_ok "Stopped $APP" + msg_info "Stopped Service" rm -rf /opt/excalidraw fetch_and_deploy_gh_release "excalidraw" "excalidraw/excalidraw" @@ -41,10 +41,10 @@ function update_script() { $STD yarn msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start excalidraw - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/fenrus.sh b/ct/fenrus.sh index e96d9ffe8..909535343 100644 --- a/ct/fenrus.sh +++ b/ct/fenrus.sh @@ -49,6 +49,7 @@ function update_script() { echo "${gitVersionNumber}" >"/opt/${APP}_version.txt" rm -r /opt/fenrus-data-backup/ msg_ok "Updated $APP" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already up to date" fi diff --git a/ct/fhem.sh b/ct/fhem.sh index f64c87e20..44ce0e77d 100644 --- a/ct/fhem.sh +++ b/ct/fhem.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt-get update $STD apt-get -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8083${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8083${CL}" diff --git a/ct/fileflows.sh b/ct/fileflows.sh index 714d93e8e..3417d5d65 100644 --- a/ct/fileflows.sh +++ b/ct/fileflows.sh @@ -35,9 +35,9 @@ function update_script() { update_available=$(curl -fsSL -X 'GET' "http://localhost:19200/api/status/update-available" -H 'accept: application/json' | jq .UpdateAvailable) if [[ "${update_available}" == "true" ]]; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop fileflows - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Creating Backup" backup_filename="/opt/${APP}_backup_$(date +%F).tar.gz" @@ -50,16 +50,15 @@ function update_script() { $STD unzip -o -d /opt/fileflows "$temp_file" msg_ok "Updated $APP to latest version" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start fileflows - msg_ok "Started $APP" + msg_ok "Started Service" msg_info "Cleaning Up" rm -rf "$temp_file" rm -rf "$backup_filename" msg_ok "Cleanup Completed" - - msg_ok "Update Successful" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at latest version" fi diff --git a/ct/firefly.sh b/ct/firefly.sh index acfb29fcc..46ad40e0c 100644 --- a/ct/firefly.sh +++ b/ct/firefly.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: quantumryuu | Co-Author: Slaviša Arežina (tremor021) @@ -62,7 +62,7 @@ function update_script() { msg_info "Starting Apache2" systemctl start apache2 msg_ok "Started Apache2" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/flaresolverr.sh b/ct/flaresolverr.sh index f36745710..3b4c0d076 100644 --- a/ct/flaresolverr.sh +++ b/ct/flaresolverr.sh @@ -44,6 +44,7 @@ function update_script() { msg_info "Starting service" systemctl start flaresolverr msg_ok "Started service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/flowiseai.sh b/ct/flowiseai.sh index 7e93499a6..b073b6b06 100644 --- a/ct/flowiseai.sh +++ b/ct/flowiseai.sh @@ -20,19 +20,20 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/systemd/system/flowise.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP}" - systemctl stop flowise - npm install -g flowise --upgrade - systemctl start flowise - msg_ok "Updated ${APP}" + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/systemd/system/flowise.service ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP}" + systemctl stop flowise + npm install -g flowise --upgrade + systemctl start flowise + msg_ok "Updated ${APP}" + msg_ok "Updated successfully!" + exit } start @@ -42,4 +43,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/ct/fluid-calendar.sh b/ct/fluid-calendar.sh index 42f4c3c83..d91e0e78b 100644 --- a/ct/fluid-calendar.sh +++ b/ct/fluid-calendar.sh @@ -29,9 +29,9 @@ function update_script() { exit fi if check_for_gh_release "fluid-calendar" "dotnetfactory/fluid-calendar"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop fluid-calendar - msg_ok "Stopped $APP" + msg_info "Stopped Service" cp /opt/fluid-calendar/.env /opt/fluid.env rm -rf /opt/fluid-calendar @@ -47,10 +47,10 @@ function update_script() { $STD npm run build:os msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start fluid-calendar - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/forgejo.sh b/ct/forgejo.sh index 1e28ac7df..6410a3b32 100644 --- a/ct/forgejo.sh +++ b/ct/forgejo.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -47,7 +47,7 @@ function update_script() { msg_info "Starting Service" systemctl start forgejo msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/fumadocs.sh b/ct/fumadocs.sh index fe5c57599..688624a5e 100644 --- a/ct/fumadocs.sh +++ b/ct/fumadocs.sh @@ -26,12 +26,12 @@ function update_script() { if [[ ! -d /opt/fumadocs ]]; then msg_error "No installation found in /opt/fumadocs!" - exit 1 + exit fi if [[ ! -f /opt/fumadocs/.projectname ]]; then msg_error "Project name file not found: /opt/fumadocs/.projectname!" - exit 1 + exit fi NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs @@ -41,7 +41,7 @@ function update_script() { if [[ ! -d "$PROJECT_DIR" ]]; then msg_error "Project directory does not exist: $PROJECT_DIR" - exit 1 + exit fi if ! command -v git &>/dev/null; then $STD apt-get install -y git @@ -60,8 +60,7 @@ function update_script() { msg_info "Starting service $SERVICE_NAME" systemctl start "$SERVICE_NAME" msg_ok "Started service $SERVICE_NAME" - - msg_ok "Fumadocs successfully updated" + msg_ok "Updated successfully!" exit } diff --git a/ct/garage.sh b/ct/garage.sh index 551067fc7..8a5391861 100644 --- a/ct/garage.sh +++ b/ct/garage.sh @@ -47,7 +47,7 @@ function update_script() { msg_info "Starting Service" systemctl start garage msg_ok "Started Service" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" else msg_ok "No update required. Garage is already at ${GITEA_RELEASE}" fi diff --git a/ct/gatus.sh b/ct/gatus.sh index 31ce85cab..c253f5f34 100644 --- a/ct/gatus.sh +++ b/ct/gatus.sh @@ -29,9 +29,9 @@ function update_script() { exit fi if check_for_gh_release "gatus" "TwiN/gatus"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop gatus - msg_ok "Stopped $APP" + msg_ok "Stopped Service" if [[ :$PATH: != *":/usr/local/bin:"* ]]; then echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc @@ -42,18 +42,18 @@ function update_script() { rm -rf /opt/gatus fetch_and_deploy_gh_release "gatus" "TwiN/gatus" - msg_info "Updating $APP" + msg_info "Updating Gatus" cd /opt/gatus $STD go mod tidy CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus . setcap CAP_NET_RAW+ep gatus mv /opt/config.yaml config - msg_ok "Updated $APP" + msg_ok "Updated Gatus" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start gatus - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/ghost.sh b/ct/ghost.sh index f3cd2f3af..f64351eb8 100644 --- a/ct/ghost.sh +++ b/ct/ghost.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: fabrice1236 @@ -33,7 +33,7 @@ function update_script() { if [ "$current_version" != "$latest_version" ]; then msg_info "Updating ${APP} from version v${current_version} to v${latest_version}" $STD npm install -g ghost-cli@latest - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "${APP} is already at v${current_version}" fi diff --git a/ct/ghostfolio.sh b/ct/ghostfolio.sh index 9b3b0f18c..6bdfd2008 100644 --- a/ct/ghostfolio.sh +++ b/ct/ghostfolio.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: lucasfell @@ -20,38 +20,38 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources + header_info + check_container_storage + check_container_resources - if [[ ! -f /opt/ghostfolio/dist/apps/api/main.js ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi + if [[ ! -f /opt/ghostfolio/dist/apps/api/main.js ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi - if check_for_gh_release "ghostfolio" "ghostfolio/ghostfolio"; then - msg_info "Stopping Service" - systemctl stop ghostfolio - msg_ok "Stopped Service" + if check_for_gh_release "ghostfolio" "ghostfolio/ghostfolio"; then + msg_info "Stopping Service" + systemctl stop ghostfolio + msg_ok "Stopped Service" - msg_info "Creating Backup" - tar -czf "/opt/ghostfolio_backup_$(date +%F).tar.gz" \ - -C /opt \ - --exclude="ghostfolio/node_modules" \ - --exclude="ghostfolio/dist" \ - ghostfolio - mv /opt/ghostfolio/.env /opt/env.backup - msg_ok "Backup Created" + msg_info "Creating Backup" + tar -czf "/opt/ghostfolio_backup_$(date +%F).tar.gz" \ + -C /opt \ + --exclude="ghostfolio/node_modules" \ + --exclude="ghostfolio/dist" \ + ghostfolio + mv /opt/ghostfolio/.env /opt/env.backup + msg_ok "Backup Created" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ghostfolio" "ghostfolio/ghostfolio" "tarball" "latest" "/opt/ghostfolio" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ghostfolio" "ghostfolio/ghostfolio" "tarball" "latest" "/opt/ghostfolio" - msg_info "Updating Ghostfolio" - mv /opt/env.backup /opt/ghostfolio/.env - cd /opt/ghostfolio - $STD npm ci - $STD npm run build:production - $STD npx prisma migrate deploy - msg_ok "Updated Ghostfolio" + msg_info "Updating Ghostfolio" + mv /opt/env.backup /opt/ghostfolio/.env + cd /opt/ghostfolio + $STD npm ci + $STD npm run build:production + $STD npx prisma migrate deploy + msg_ok "Updated Ghostfolio" msg_info "Starting Service" systemctl start ghostfolio @@ -60,9 +60,9 @@ function update_script() { msg_info "Cleaning Up" $STD npm cache clean --force msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" - fi - exit + msg_ok "Updated successfully!" + fi + exit } start diff --git a/ct/gitea-mirror.sh b/ct/gitea-mirror.sh index 5722f16a7..f53406eda 100644 --- a/ct/gitea-mirror.sh +++ b/ct/gitea-mirror.sh @@ -47,10 +47,10 @@ function update_script() { fi if [[ ! -f /opt/gitea-mirror.env ]]; then - msg_info "Detected old Enviroment, updating files" - APP_SECRET=$(openssl rand -base64 32) - HOST_IP=$(hostname -I | awk '{print $1}') - cat </opt/gitea-mirror.env + msg_info "Detected old Enviroment, updating files" + APP_SECRET=$(openssl rand -base64 32) + HOST_IP=$(hostname -I | awk '{print $1}') + cat </opt/gitea-mirror.env # See here for config options: https://github.com/RayLabsHQ/gitea-mirror/blob/main/docs/ENVIRONMENT_VARIABLES.md NODE_ENV=production HOST=0.0.0.0 @@ -77,7 +77,7 @@ WantedBy=multi-user.target EOF systemctl daemon-reload msg_ok "Old Enviroment fixed" -fi + fi if check_for_gh_release "gitea-mirror" "RayLabsHQ/gitea-mirror"; then msg_info "Stopping Services" @@ -115,7 +115,7 @@ fi msg_info "Starting Service" systemctl start gitea-mirror msg_ok "Service Started" - msg_ok "Update Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/gitea.sh b/ct/gitea.sh index e7d2acbc0..695b15b61 100644 --- a/ct/gitea.sh +++ b/ct/gitea.sh @@ -40,7 +40,7 @@ function update_script() { msg_info "Starting service" systemctl start gitea msg_ok "Started service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/glance.sh b/ct/glance.sh index 8f2f582bb..399fa5b61 100644 --- a/ct/glance.sh +++ b/ct/glance.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani @@ -39,7 +39,7 @@ function update_script() { msg_info "Starting Service" systemctl start glance msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/globaleaks.sh b/ct/globaleaks.sh index f8ed1df00..c8602b9fb 100644 --- a/ct/globaleaks.sh +++ b/ct/globaleaks.sh @@ -31,7 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated $APP LXC" - exit + msg_ok "Updated successfully!" } start diff --git a/ct/go2rtc.sh b/ct/go2rtc.sh index fbc9b2606..f918c755b 100644 --- a/ct/go2rtc.sh +++ b/ct/go2rtc.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting service" systemctl start go2rtc msg_ok "Started service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/goaway.sh b/ct/goaway.sh index 26df280c2..3eac2e35b 100644 --- a/ct/goaway.sh +++ b/ct/goaway.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -39,7 +39,7 @@ function update_script() { systemctl start goaway msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/gokapi.sh b/ct/gokapi.sh index 63fd95632..d52e52aa5 100644 --- a/ct/gokapi.sh +++ b/ct/gokapi.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start gokapi msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/gotify.sh b/ct/gotify.sh index 97a8379a3..3c583d772 100644 --- a/ct/gotify.sh +++ b/ct/gotify.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start gotify msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/grafana.sh b/ct/grafana.sh index d8bf30318..edaaca578 100644 --- a/ct/grafana.sh +++ b/ct/grafana.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -27,11 +27,11 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - + msg_info "Updating ${APP}" $STD apt-get update $STD apt-get -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/graylog.sh b/ct/graylog.sh index 0f12f6429..1ed618e8f 100644 --- a/ct/graylog.sh +++ b/ct/graylog.sh @@ -20,31 +20,30 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources + header_info + check_container_storage + check_container_resources - if [[ ! -d /etc/graylog ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Stopping $APP" - systemctl stop graylog-datanode - systemctl stop graylog-server - msg_ok "Stopped $APP" - - msg_info "Updating $APP" - $STD apt-get update - $STD apt-get upgrade -y - msg_ok "Updated $APP" - - msg_info "Starting $APP" - systemctl start graylog-datanode - systemctl start graylog-server - msg_ok "Started $APP" - - msg_ok "Update Successful" + if [[ ! -d /etc/graylog ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Stopping Service" + systemctl stop graylog-datanode + systemctl stop graylog-server + msg_info "Stopped Service" + + msg_info "Updating $APP" + $STD apt-get update + $STD apt-get upgrade -y + msg_ok "Updated $APP" + + msg_info "Starting Service" + systemctl start graylog-datanode + systemctl start graylog-server + msg_ok "Started Service" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/grist.sh b/ct/grist.sh index 5c6ce8157..76a49217a 100644 --- a/ct/grist.sh +++ b/ct/grist.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: cfurrow | Co-Author: Slaviša Arežina (tremor021) @@ -56,7 +56,7 @@ function update_script() { systemctl start grist msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/grocy.sh b/ct/grocy.sh index 397693390..a0bb60988 100644 --- a/ct/grocy.sh +++ b/ct/grocy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -34,7 +34,7 @@ function update_script() { if check_for_gh_release "grocy" "grocy/grocy"; then msg_info "Updating ${APP}" bash /var/www/html/update.sh - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/guardian.sh b/ct/guardian.sh index 60f4a4ea3..e3bf92a79 100755 --- a/ct/guardian.sh +++ b/ct/guardian.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: HydroshieldMKII @@ -20,54 +20,54 @@ color catch_errors function update_script() { -header_info -check_container_storage -check_container_resources + header_info + check_container_storage + check_container_resources -if [[ ! -d "/opt/guardian" ]] ; then - msg_error "No ${APP} Installation Found!" + if [[ ! -d "/opt/guardian" ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + + if check_for_gh_release "guardian" "HydroshieldMKII/Guardian"; then + msg_info "Stopping Services" + systemctl stop guardian-backend guardian-frontend + msg_ok "Stopped Services" + + if [[ -f "/opt/guardian/backend/plex-guard.db" ]]; then + msg_info "Backing up Database" + cp "/opt/guardian/backend/plex-guard.db" "/tmp/plex-guard.db.backup" + msg_ok "Backed up Database" + fi + + [[ -f "/opt/guardian/.env" ]] && cp "/opt/guardian/.env" "/opt" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "guardian" "HydroshieldMKII/Guardian" "tarball" "latest" "/opt/guardian" + [[ -f "/opt/.env" ]] && mv "/opt/.env" "/opt/guardian" + + if [[ -f "/tmp/plex-guard.db.backup" ]]; then + msg_info "Restoring Database" + cp "/tmp/plex-guard.db.backup" "/opt/guardian/backend/plex-guard.db" + rm "/tmp/plex-guard.db.backup" + msg_ok "Restored Database" + fi + + msg_info "Updating Guardian" + cd /opt/guardian/backend + $STD npm ci + $STD npm run build + + cd /opt/guardian/frontend + $STD npm ci + export DEPLOYMENT_MODE=standalone + $STD npm run build + msg_ok "Updated Guardian" + + msg_info "Starting Services" + systemctl start guardian-backend guardian-frontend + msg_ok "Started Services" + msg_ok "Updated successfully!" + fi exit -fi - -if check_for_gh_release "guardian" "HydroshieldMKII/Guardian" ; then - msg_info "Stopping Services" - systemctl stop guardian-backend guardian-frontend - msg_ok "Stopped Services" - - if [[ -f "/opt/guardian/backend/plex-guard.db" ]] ; then - msg_info "Backing up Database" - cp "/opt/guardian/backend/plex-guard.db" "/tmp/plex-guard.db.backup" - msg_ok "Backed up Database" - fi - - [[ -f "/opt/guardian/.env" ]] && cp "/opt/guardian/.env" "/opt" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "guardian" "HydroshieldMKII/Guardian" "tarball" "latest" "/opt/guardian" - [[ -f "/opt/.env" ]] && mv "/opt/.env" "/opt/guardian" - - if [[ -f "/tmp/plex-guard.db.backup" ]] ; then - msg_info "Restoring Database" - cp "/tmp/plex-guard.db.backup" "/opt/guardian/backend/plex-guard.db" - rm "/tmp/plex-guard.db.backup" - msg_ok "Restored Database" - fi - - msg_info "Updating Guardian" - cd /opt/guardian/backend - $STD npm ci - $STD npm run build - - cd /opt/guardian/frontend - $STD npm ci - export DEPLOYMENT_MODE=standalone - $STD npm run build - msg_ok "Updated Guardian" - - msg_info "Starting Services" - systemctl start guardian-backend guardian-frontend - msg_ok "Started Services" - msg_ok "Updated Successfully" -fi -exit } start diff --git a/ct/habitica.sh b/ct/habitica.sh index 499b8a901..035470269 100644 --- a/ct/habitica.sh +++ b/ct/habitica.sh @@ -30,11 +30,11 @@ function update_script() { fi NODE_VERSION="20" NODE_MODULE="gulp-cli,mocha" setup_nodejs if check_for_gh_release "habitica" "HabitRPG/habitica"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop habitica-mongodb systemctl stop habitica systemctl stop habitica-client - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Save configuration" if [[ -f /opt/habitica/config.json ]]; then @@ -62,12 +62,12 @@ function update_script() { msg_warn "No configuration file found to restore" fi - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start habitica-mongodb systemctl start habitica systemctl start habitica-client - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/headscale.sh b/ct/headscale.sh index a58a9bff4..4c56b73fd 100644 --- a/ct/headscale.sh +++ b/ct/headscale.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -42,7 +42,7 @@ function update_script() { msg_info "Starting Service" systemctl enable -q --now headscale msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/healthchecks.sh b/ct/healthchecks.sh index 373cc6eae..30e67654d 100644 --- a/ct/healthchecks.sh +++ b/ct/healthchecks.sh @@ -29,14 +29,14 @@ function update_script() { exit fi if check_for_gh_release "healthchecks" "healthchecks/healthchecks"; then - msg_info "Stopping $APP" + msg_info "Stopping Services" systemctl stop healthchecks - msg_ok "Stopped $APP" + msg_ok "Stopped Services" setup_uv fetch_and_deploy_gh_release "healthchecks" "healthchecks/healthchecks" - msg_info "Updating $APP" + msg_info "Updating healthchecks" cd /opt/healthchecks mkdir -p /opt/healthchecks/static-collected/ $STD uv pip install wheel gunicorn -r requirements.txt --system @@ -44,13 +44,13 @@ function update_script() { $STD uv run -- python manage.py migrate --noinput $STD uv run -- python manage.py collectstatic --noinput $STD uv run -- python manage.py compress - msg_ok "Updated $APP" + msg_ok "Updated healthchecks" - msg_info "Starting $APP" + msg_info "Starting Services" systemctl start healthchecks systemctl restart caddy - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Services" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/heimdall-dashboard.sh b/ct/heimdall-dashboard.sh index 4cbd8f1f1..a51f40622 100644 --- a/ct/heimdall-dashboard.sh +++ b/ct/heimdall-dashboard.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -63,7 +63,7 @@ function update_script() { systemctl start heimdall.service sleep 2 msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}." fi diff --git a/ct/hev-socks5-server.sh b/ct/hev-socks5-server.sh index c81412535..3cf996333 100644 --- a/ct/hev-socks5-server.sh +++ b/ct/hev-socks5-server.sh @@ -20,37 +20,37 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources + header_info + check_container_storage + check_container_resources - if [[ ! -f /opt/${APP} ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - RELEASE=$(curl -fsSL https://api.github.com/repos/heiher/${APP}/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then - msg_info "Stopping $APP" - systemctl stop $APP - msg_ok "Stopped $APP" - - msg_info "Updating $APP to v${RELEASE}" - curl -L -o "${APP}" "https://github.com/heiher/${APP}/releases/download/${RELEASE}/hev-socks5-server-linux-x86_64" - mv ${APP} /opt/${APP} - chmod +x /opt/${APP} - msg_ok "Updated $APP to v${RELEASE}" - - msg_info "Starting $APP" - systemctl start $APP - msg_ok "Started $APP" - - echo "${RELEASE}" >/opt/${APP}_version.txt - msg_ok "Update Successful" - else - msg_ok "No update required. ${APP} is already at v${RELEASE}" - fi + if [[ ! -f /opt/${APP} ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + + RELEASE=$(curl -fsSL https://api.github.com/repos/heiher/${APP}/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') + if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then + msg_info "Stopping Service" + systemctl stop hev-socks5-server + msg_ok "Stopped Service" + + msg_info "Updating $APP to v${RELEASE}" + curl -L -o "${APP}" "https://github.com/heiher/${APP}/releases/download/${RELEASE}/hev-socks5-server-linux-x86_64" + mv ${APP} /opt/${APP} + chmod +x /opt/${APP} + msg_ok "Updated hev-socks5-server to v${RELEASE}" + + msg_info "Starting Service" + systemctl start hev-socks5-server + msg_ok "Started Service" + + echo "${RELEASE}" >/opt/${APP}_version.txt + msg_ok "Updated successfully!" + else + msg_ok "No update required. ${APP} is already at v${RELEASE}" + fi + exit } start diff --git a/ct/homarr.sh b/ct/homarr.sh index 55b5b1583..2cc066425 100644 --- a/ct/homarr.sh +++ b/ct/homarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: CrazyWolf13 @@ -33,7 +33,7 @@ function update_script() { msg_error "Update not supported. Refer to:" msg_error " - https://github.com/community-scripts/ProxmoxVE/discussions/1551" msg_error " - https://homarr.dev/docs/getting-started/after-the-installation/#importing-a-zip-from-version-before-100" - exit 1 + exit fi if [[ ! -f /opt/run_homarr.sh ]]; then msg_info "Detected outdated and missing service files" @@ -156,7 +156,7 @@ EOF msg_info "Starting Services" systemctl start homarr msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" read -p "${TAB3}It's recommended to reboot the LXC after an update, would you like to reboot the LXC now ? (y/n): " choice if [[ "$choice" =~ ^[Yy]$ ]]; then reboot diff --git a/ct/homebox.sh b/ct/homebox.sh index 2ef3597a3..10388b256 100644 --- a/ct/homebox.sh +++ b/ct/homebox.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MickLesk (Canbiz) @@ -49,7 +49,7 @@ function update_script() { msg_info "Starting Service" systemctl start homebox msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/homebridge.sh b/ct/homebridge.sh index b6019c408..2f5b4e91b 100644 --- a/ct/homebridge.sh +++ b/ct/homebridge.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt-get update $STD apt-get install -y homebridge - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8581${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8581${CL}" diff --git a/ct/homepage.sh b/ct/homepage.sh index 504cce7cc..19a49726d 100644 --- a/ct/homepage.sh +++ b/ct/homepage.sh @@ -29,8 +29,6 @@ function update_script() { fi NODE_VERSION="22" NODE_MODULE="pnpm@latest" setup_nodejs - - # ensure that jq is installed if ! command -v jq &>/dev/null; then $STD msg_info "Installing jq..." $STD apt-get update -qq &>/dev/null @@ -62,7 +60,7 @@ function update_script() { fi systemctl start homepage echo "${RELEASE}" >/opt/${APP}_version.txt - msg_ok "Updated Homepage to v${RELEASE}" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/homer.sh b/ct/homer.sh index 8cc9df667..582d4175e 100644 --- a/ct/homer.sh +++ b/ct/homer.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -56,7 +56,7 @@ function update_script() { msg_info "Starting Service" systemctl start homer msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/hortusfox.sh b/ct/hortusfox.sh index 448d3e9d5..e95e92171 100644 --- a/ct/hortusfox.sh +++ b/ct/hortusfox.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -56,7 +56,7 @@ function update_script() { msg_info "Cleaning up" rm -r /opt/hortusfox-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/huntarr.sh b/ct/huntarr.sh index cad58861f..06e9248a0 100644 --- a/ct/huntarr.sh +++ b/ct/huntarr.sh @@ -32,21 +32,21 @@ function update_script() { setup_uv if check_for_gh_release "huntarr" "plexguide/Huntarr.io"; then - msg_info "Stopping huntarr" + msg_info "Stopping Service" systemctl stop huntarr - msg_ok "Stopped huntarr" + msg_ok "Stopped Service" fetch_and_deploy_gh_release "huntarr" "plexguide/Huntarr.io" - msg_info "Configuring $APP" + msg_info "Updating Huntarr" cd /opt/huntarr $STD uv pip install -r requirements.txt --python /opt/huntarr/.venv/bin/python - msg_ok "Configured $APP" + msg_ok "Updated Huntarr" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start huntarr - msg_ok "Started $APP" - msg_ok "Updated $APP" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/hyperhdr.sh b/ct/hyperhdr.sh index 98a151702..3c3af7ae5 100644 --- a/ct/hyperhdr.sh +++ b/ct/hyperhdr.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt-get update $STD apt-get -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}" diff --git a/ct/hyperion.sh b/ct/hyperion.sh index 3507b84cc..e6d5cf140 100644 --- a/ct/hyperion.sh +++ b/ct/hyperion.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get install -y hyperion - msg_ok "Updated Successfully" - exit + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/apt/sources.list.d/hyperion.list ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating ${APP} LXC" + $STD apt-get update + $STD apt-get install -y hyperion + msg_ok "Updated successfully!" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}" diff --git a/ct/influxdb.sh b/ct/influxdb.sh index 29039d161..f1dc1b0dc 100644 --- a/ct/influxdb.sh +++ b/ct/influxdb.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP}" $STD apt-get update $STD apt-get -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP} and Port 8888 for v1 or Port 8086 (v2)${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP} and Port 8888 for v1 or Port 8086 (v2)${CL}" diff --git a/ct/inspircd.sh b/ct/inspircd.sh index b4a016fbf..0597578ab 100644 --- a/ct/inspircd.sh +++ b/ct/inspircd.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start inspircd msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/inventree.sh b/ct/inventree.sh index 0d7c92a18..21e479e1e 100644 --- a/ct/inventree.sh +++ b/ct/inventree.sh @@ -20,19 +20,20 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources + header_info + check_container_storage + check_container_resources - if [[ ! -d "/opt/inventree" ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP" - $STD apt-get update - $STD apt-get install --only-upgrade inventree -y - msg_ok "Updated $APP" + if [[ ! -d "/opt/inventree" ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP" + $STD apt-get update + $STD apt-get install --only-upgrade inventree -y + msg_ok "Updated $APP" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/iobroker.sh b/ct/iobroker.sh index faf0d2555..ea87d49ea 100644 --- a/ct/iobroker.sh +++ b/ct/iobroker.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -20,18 +20,18 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/iobroker ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated Successfully" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/iobroker ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating ${APP} LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated successfully!" + exit } start @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8081${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8081${CL}" diff --git a/ct/itsm-ng.sh b/ct/itsm-ng.sh index 81195c67d..3d8a280a0 100644 --- a/ct/itsm-ng.sh +++ b/ct/itsm-ng.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Florianb63 @@ -26,13 +26,13 @@ function update_script() { if [[ ! -f /etc/itsm-ng/config_db.php ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi msg_info "Updating ${APP} LXC" $STD apt-get update $STD apt-get -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/iventoy.sh b/ct/iventoy.sh index 97cb5e82a..86f53d64c 100644 --- a/ct/iventoy.sh +++ b/ct/iventoy.sh @@ -38,4 +38,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:26000${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:26000${CL}" diff --git a/ct/jackett.sh b/ct/jackett.sh index 2353724d7..04e84013e 100644 --- a/ct/jackett.sh +++ b/ct/jackett.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -45,7 +45,7 @@ EOF msg_info "Starting Service" systemctl start jackett msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/jellyfin.sh b/ct/jellyfin.sh index 1faddc20c..a26b113b5 100644 --- a/ct/jellyfin.sh +++ b/ct/jellyfin.sh @@ -37,7 +37,7 @@ function update_script() { fetch_and_deploy_gh_release "intel-opencl-icd" "intel/compute-runtime" "binary" "latest" "" "intel-opencl-icd_*_amd64.deb" msg_ok "Updated Intel Dependencies" fi - + msg_info "Updating Jellyfin" if ! dpkg -s libjemalloc2 >/dev/null 2>&1; then $STD apt install -y libjemalloc2 @@ -49,7 +49,7 @@ function update_script() { $STD apt -y upgrade $STD apt -y --with-new-pkgs upgrade jellyfin jellyfin-server msg_ok "Updated Jellyfin" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/jenkins.sh b/ct/jenkins.sh index 52000b1e7..38498f8f0 100644 --- a/ct/jenkins.sh +++ b/ct/jenkins.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var/lib/jenkins ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var/lib/jenkins ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" diff --git a/ct/joplin-server.sh b/ct/joplin-server.sh index 7b1d87027..922049e47 100644 --- a/ct/joplin-server.sh +++ b/ct/joplin-server.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -46,8 +46,7 @@ function update_script() { msg_info "Starting Services" systemctl start joplin-server msg_ok "Started Services" - - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/jotty.sh b/ct/jotty.sh index 45f09f8ef..d73b41aa5 100644 --- a/ct/jotty.sh +++ b/ct/jotty.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -43,23 +43,23 @@ function update_script() { NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs CLEAN_INSTALL=1 fetch_and_deploy_gh_release "jotty" "fccview/jotty" "tarball" "latest" "/opt/jotty" - msg_info "Updating app" + msg_info "Updating jotty" cd /opt/jotty $STD yarn --frozen-lockfile $STD yarn next telemetry disable $STD yarn build - msg_ok "Updated app" + msg_ok "Updated jotty" msg_info "Restoring configuration & data" mv /opt/app.env /opt/jotty/.env $STD tar -xf /opt/data_config.tar msg_ok "Restored configuration & data" - msg_info "Restarting ${APP} service" + msg_info "Starting Service" systemctl start jotty - msg_ok "Restarted ${APP} service" + msg_ok "Started Service" rm /opt/data_config.tar - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/jupyternotebook.sh b/ct/jupyternotebook.sh index 2b6aef427..fd1e10e81 100644 --- a/ct/jupyternotebook.sh +++ b/ct/jupyternotebook.sh @@ -63,9 +63,8 @@ WantedBy=multi-user.target EOF systemctl daemon-reexec systemctl restart jupyternotebook - msg_ok "Service updated and restarted" + msg_ok "Updated successfully!" fi - exit } diff --git a/ct/kapowarr.sh b/ct/kapowarr.sh index b77b9c7a2..a80f9941f 100644 --- a/ct/kapowarr.sh +++ b/ct/kapowarr.sh @@ -32,9 +32,9 @@ function update_script() { setup_uv if check_for_gh_release "kapowarr" "Casvt/Kapowarr"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop kapowarr - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Creating Backup" mv /opt/kapowarr/db /opt/ @@ -42,14 +42,14 @@ function update_script() { fetch_and_deploy_gh_release "kapowarr" "Casvt/Kapowarr" - msg_info "Updating $APP" + msg_info "Updating Kapowarr" mv /opt/db /opt/kapowarr - msg_ok "Updated $APP" + msg_ok "Updated Kapowarr" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start kapowarr - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/karakeep.sh b/ct/karakeep.sh index 057568f22..b9763ef32 100644 --- a/ct/karakeep.sh +++ b/ct/karakeep.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) & vhsdream @@ -96,7 +96,7 @@ function update_script() { $STD apt-get autoremove -y $STD apt-get autoclean -y msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/kasm.sh b/ct/kasm.sh index 0d7666bdb..cf5ffe0e3 100644 --- a/ct/kasm.sh +++ b/ct/kasm.sh @@ -33,6 +33,7 @@ function update_script() { $STD apt-get update $STD apt-get -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/kavita.sh b/ct/kavita.sh index 5011c9e56..43c3944b1 100644 --- a/ct/kavita.sh +++ b/ct/kavita.sh @@ -39,7 +39,7 @@ function update_script() { msg_info "Starting Service" systemctl start kavita msg_ok "Service Started" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/keycloak.sh b/ct/keycloak.sh index be634d4a7..b39cf93f5 100644 --- a/ct/keycloak.sh +++ b/ct/keycloak.sh @@ -58,7 +58,7 @@ function update_script() { msg_info "Cleaning up" rm -rf keycloak.old msg_ok "Cleanup complete" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/kimai.sh b/ct/kimai.sh index 22582e1e5..18fbf6c1b 100644 --- a/ct/kimai.sh +++ b/ct/kimai.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) @@ -72,7 +72,7 @@ function update_script() { chown -R www-data:www-data /opt/* chmod -R 777 /opt/* msg_ok "Setup Permissions" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/koillection.sh b/ct/koillection.sh index b2e04e6a7..b000b3da6 100644 --- a/ct/koillection.sh +++ b/ct/koillection.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -59,7 +59,7 @@ function update_script() { msg_info "Cleaning up" rm -r /opt/koillection-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/kometa.sh b/ct/kometa.sh index acd376484..3c6410fc4 100644 --- a/ct/kometa.sh +++ b/ct/kometa.sh @@ -49,7 +49,7 @@ function update_script() { msg_info "Starting Service" systemctl start kometa msg_ok "Started Service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/komga.sh b/ct/komga.sh index c6e3c1c66..dc923b09e 100644 --- a/ct/komga.sh +++ b/ct/komga.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: madelyn (DysfunctionalProgramming) @@ -39,7 +39,7 @@ function update_script() { msg_info "Starting Service" systemctl start komga msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/komodo.sh b/ct/komodo.sh index f70d974ac..f87066f8a 100644 --- a/ct/komodo.sh +++ b/ct/komodo.sh @@ -26,14 +26,14 @@ function update_script() { [[ -d /opt/komodo ]] || { msg_error "No ${APP} Installation Found!" - exit 1 + exit } msg_info "Updating ${APP}" COMPOSE_FILE=$(find /opt/komodo -maxdepth 1 -type f -name '*.compose.yaml' ! -name 'compose.env' | head -n1) if [[ -z "$COMPOSE_FILE" ]]; then msg_error "No valid compose file found in /opt/komodo!" - exit 1 + exit fi COMPOSE_BASENAME=$(basename "$COMPOSE_FILE") @@ -42,26 +42,26 @@ function update_script() { echo -e "${YW}This configuration is no longer supported since Komodo v1.18.0.${CL}" echo -e "${YW}Please follow the migration guide:${CL}" echo -e "${BGN}https://github.com/community-scripts/ProxmoxVE/discussions/5689${CL}\n" - exit 1 + exit fi BACKUP_FILE="/opt/komodo/${COMPOSE_BASENAME}.bak_$(date +%Y%m%d_%H%M%S)" cp "$COMPOSE_FILE" "$BACKUP_FILE" || { msg_error "Failed to create backup of ${COMPOSE_BASENAME}!" - exit 1 + exit } GITHUB_URL="https://raw.githubusercontent.com/moghtech/komodo/main/compose/${COMPOSE_BASENAME}" if ! curl -fsSL "$GITHUB_URL" -o "$COMPOSE_FILE"; then msg_error "Failed to download ${COMPOSE_BASENAME} from GitHub!" mv "$BACKUP_FILE" "$COMPOSE_FILE" - exit 1 + exit fi if ! grep -qxF 'COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' /opt/komodo/compose.env; then sed -i '/^COMPOSE_KOMODO_IMAGE_TAG=latest$/a COMPOSE_KOMODO_BACKUPS_PATH=/etc/komodo/backups' /opt/komodo/compose.env fi $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env pull $STD docker compose -p komodo -f "$COMPOSE_FILE" --env-file /opt/komodo/compose.env up -d - msg_ok "Updated ${APP}" + msg_ok "Updated successfully!" exit } diff --git a/ct/kubo.sh b/ct/kubo.sh index c4477d6b6..4c9c9e2d1 100644 --- a/ct/kubo.sh +++ b/ct/kubo.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: ulmentflam @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting service" systemctl start ipfs msg_ok "Service started" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/lazylibrarian.sh b/ct/lazylibrarian.sh index 1c7bf673d..18a9debb0 100644 --- a/ct/lazylibrarian.sh +++ b/ct/lazylibrarian.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MountyMapleSyrup (MountyMapleSyrup) @@ -39,7 +39,7 @@ function update_script() { systemctl start lazylibrarian msg_ok "Started LazyLibrarian" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -50,4 +50,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5299${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5299${CL}" diff --git a/ct/leantime.sh b/ct/leantime.sh index 534f7db1e..7a944b87e 100644 --- a/ct/leantime.sh +++ b/ct/leantime.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Stroopwafe1 @@ -47,7 +47,7 @@ function update_script() { msg_info "Removing Backup" rm -rf /opt/leantime_bak msg_ok "Removed Backup" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/librespeed-rust.sh b/ct/librespeed-rust.sh index 51e3f0c6b..69abea4e4 100644 --- a/ct/librespeed-rust.sh +++ b/ct/librespeed-rust.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Joseph Stubberfield (stubbers) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start librespeed_rs msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/libretranslate.sh b/ct/libretranslate.sh index 44a481565..6785a53e1 100644 --- a/ct/libretranslate.sh +++ b/ct/libretranslate.sh @@ -28,9 +28,9 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - + setup_uv - + if check_for_gh_release "libretranslate" "LibreTranslate/LibreTranslate"; then msg_info "Stopping Service" systemctl stop libretranslate @@ -45,7 +45,7 @@ function update_script() { msg_info "Starting Service" systemctl start libretranslate msg_ok "Started Service" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/lidarr.sh b/ct/lidarr.sh index e1ce84fd3..6ac9f327b 100644 --- a/ct/lidarr.sh +++ b/ct/lidarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -40,7 +40,7 @@ function update_script() { msg_info "Starting service" systemctl start lidarr msg_ok "Service started" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/linkwarden.sh b/ct/linkwarden.sh index 97276e586..79f2e707f 100644 --- a/ct/linkwarden.sh +++ b/ct/linkwarden.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -63,7 +63,7 @@ function update_script() { rm -rf /root/.cache/yarn rm -rf /opt/linkwarden/.next/cache msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/listmonk.sh b/ct/listmonk.sh index ac2c664b1..977c79982 100644 --- a/ct/listmonk.sh +++ b/ct/listmonk.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -51,7 +51,7 @@ function update_script() { msg_info "Cleaning up" rm -rf /opt/listmonk-backup/ msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/litellm.sh b/ct/litellm.sh index 9c311ee68..2c554c729 100644 --- a/ct/litellm.sh +++ b/ct/litellm.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: stout01 @@ -47,7 +47,7 @@ function update_script() { msg_info "Starting Service" systemctl start litellm msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/livebook.sh b/ct/livebook.sh index 7d34959fc..72dfa27a7 100755 --- a/ct/livebook.sh +++ b/ct/livebook.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/refs/heads/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: dkuku @@ -45,12 +45,12 @@ function update_script() { $STD mix escript.install hex livebook --force chown -R livebook:livebook /opt/livebook /data - + msg_info "Starting Service" systemctl start livebook msg_info "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/lldap.sh b/ct/lldap.sh index 7739ecd3a..bb5d7ce67 100644 --- a/ct/lldap.sh +++ b/ct/lldap.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /lib/systemd/system/lldap.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP" - apt update - apt upgrade -y lldap - msg_ok "Updated $APP" + header_info + check_container_storage + check_container_resources + if [[ ! -f /lib/systemd/system/lldap.service ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP" + $STD apt update + $STD apt upgrade -y lldap + msg_ok "Updated $APP" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/lubelogger.sh b/ct/lubelogger.sh index ca866e3cf..00e8d0b55 100644 --- a/ct/lubelogger.sh +++ b/ct/lubelogger.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani @@ -62,7 +62,7 @@ function update_script() { msg_info "Cleaning up" rm -rf /tmp/lubeloggerData msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/lyrionmusicserver.sh b/ct/lyrionmusicserver.sh index 070b8d44d..e074bd38a 100644 --- a/ct/lyrionmusicserver.sh +++ b/ct/lyrionmusicserver.sh @@ -47,6 +47,7 @@ function update_script() { $STD apt -y autoclean $STD apt -y clean msg_ok "Cleaned" + msg_ok "Updated successfully!" else msg_ok "$APP is already up to date (${RELEASE})" fi diff --git a/ct/mafl.sh b/ct/mafl.sh index d03c7e935..50cb5c592 100644 --- a/ct/mafl.sh +++ b/ct/mafl.sh @@ -50,7 +50,7 @@ function update_script() { msg_info "Starting Service" systemctl start mafl msg_ok "Service started" - msg_ok "Update successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/magicmirror.sh b/ct/magicmirror.sh index 7ccac374d..4a2ca1520 100644 --- a/ct/magicmirror.sh +++ b/ct/magicmirror.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author Slaviša Arežina (tremor021) @@ -57,7 +57,7 @@ function update_script() { msg_info "Starting Service" systemctl start magicmirror msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/managemydamnlife.sh b/ct/managemydamnlife.sh index 8f76021a3..66d49d2ff 100644 --- a/ct/managemydamnlife.sh +++ b/ct/managemydamnlife.sh @@ -52,7 +52,7 @@ function update_script() { msg_info "Starting service" systemctl start mmdl msg_ok "Started service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/mariadb.sh b/ct/mariadb.sh index b3c927fdc..7fb05b984 100644 --- a/ct/mariadb.sh +++ b/ct/mariadb.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:3306${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:3306${CL}" diff --git a/ct/matterbridge.sh b/ct/matterbridge.sh index 132f0cb13..e64b5bf04 100644 --- a/ct/matterbridge.sh +++ b/ct/matterbridge.sh @@ -30,6 +30,7 @@ function update_script() { $STD apt update $STD apt upgrade -y NODE_VERSION="22" NODE_MODULE="matterbridge" setup_nodejs + msg_ok "Updated successfully!" exit } diff --git a/ct/mattermost.sh b/ct/mattermost.sh index f07577614..010406f29 100644 --- a/ct/mattermost.sh +++ b/ct/mattermost.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Kaedon Cleland-Host (dracentis) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8065${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8065${CL}" diff --git a/ct/mealie.sh b/ct/mealie.sh index 387a1e069..43eccbf52 100644 --- a/ct/mealie.sh +++ b/ct/mealie.sh @@ -32,9 +32,9 @@ function update_script() { PYTHON_VERSION="3.12" setup_uv NODE_MODULE="yarn" NODE_VERSION="20" setup_nodejs - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop mealie - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Backing up .env and start.sh" cp -f /opt/mealie/mealie.env /opt/mealie/mealie.env.bak @@ -73,9 +73,9 @@ function update_script() { chmod +x /opt/mealie/start.sh msg_ok "Configuration restored" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start mealie - msg_ok "Started $APP" + msg_ok "Started Service" msg_ok "Update Successful" fi exit diff --git a/ct/mediamanager.sh b/ct/mediamanager.sh index edf4e8b54..ca452ed34 100644 --- a/ct/mediamanager.sh +++ b/ct/mediamanager.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -60,7 +60,7 @@ function update_script() { msg_info "Starting Service" systemctl start mediamanager msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/mediamtx.sh b/ct/mediamtx.sh index 929e63df6..be5741fd8 100644 --- a/ct/mediamtx.sh +++ b/ct/mediamtx.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting service" systemctl start mediamtx msg_ok "Service started" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/medusa.sh b/ct/medusa.sh index 259b5cc9b..f98b03c72 100644 --- a/ct/medusa.sh +++ b/ct/medusa.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_ok "$APP is already up to date." exit fi - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" msg_info "Starting Service" systemctl start medusa diff --git a/ct/meilisearch.sh b/ct/meilisearch.sh index 445e77647..3a8adbf4e 100644 --- a/ct/meilisearch.sh +++ b/ct/meilisearch.sh @@ -40,7 +40,7 @@ function update_script() { msg_info "Starting Meilisearch" systemctl start meilisearch msg_ok "Started Meilisearch" - msg_ok "Update Successfully" + msg_ok "Updated successfully!" fi exit fi @@ -69,7 +69,7 @@ function update_script() { msg_info "Starting Meilisearch-UI" systemctl start meilisearch-ui msg_ok "Started Meilisearch-UI" - msg_ok "Update Successfully" + msg_ok "Updated successfully!" fi exit fi diff --git a/ct/memos.sh b/ct/memos.sh index 19e1c2739..3b4802e86 100644 --- a/ct/memos.sh +++ b/ct/memos.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting service" systemctl start memos msg_ok "Service started" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/meshcentral.sh b/ct/meshcentral.sh index fb886cdb1..8db9c164c 100644 --- a/ct/meshcentral.sh +++ b/ct/meshcentral.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/metube.sh b/ct/metube.sh index bea5be626..aaf59059b 100644 --- a/ct/metube.sh +++ b/ct/metube.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -108,7 +108,7 @@ EOF sleep 1 msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/minarca.sh b/ct/minarca.sh index 08d80417e..a9115aac0 100644 --- a/ct/minarca.sh +++ b/ct/minarca.sh @@ -41,6 +41,7 @@ function update_script() { msg_info "Starting Service" systemctl start minarca-server msg_ok "Started Service" + msg_ok "Updated successfully!" exit } diff --git a/ct/minio.sh b/ct/minio.sh index 501d18f89..100b730ac 100644 --- a/ct/minio.sh +++ b/ct/minio.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -66,7 +66,7 @@ function update_script() { rm -f /usr/local/bin/minio_bak msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/mongodb.sh b/ct/mongodb.sh index 5243e34e9..e1dbf5da9 100644 --- a/ct/mongodb.sh +++ b/ct/mongodb.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -39,4 +39,4 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" \ No newline at end of file +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/monica.sh b/ct/monica.sh index fbb4f2286..7e9f9a998 100644 --- a/ct/monica.sh +++ b/ct/monica.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -61,7 +61,7 @@ function update_script() { msg_info "Cleaning up" rm -r /opt/monica-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/motioneye.sh b/ct/motioneye.sh index c09823680..ca46c72f6 100644 --- a/ct/motioneye.sh +++ b/ct/motioneye.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -29,7 +29,7 @@ function update_script() { fi msg_info "Updating ${APP} LXC" $STD pip install motioneye --upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -40,4 +40,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8765${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8765${CL}" diff --git a/ct/mqtt.sh b/ct/mqtt.sh index f77c194ee..0a279b4b0 100644 --- a/ct/mqtt.sh +++ b/ct/mqtt.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:1883${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:1883${CL}" diff --git a/ct/myip.sh b/ct/myip.sh index a17e69e57..ef2338c86 100644 --- a/ct/myip.sh +++ b/ct/myip.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -40,7 +40,7 @@ function update_script() { msg_info "Starting Services" systemctl start myip msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/mylar3.sh b/ct/mylar3.sh index f3036ee00..6d1c3049a 100644 --- a/ct/mylar3.sh +++ b/ct/mylar3.sh @@ -29,6 +29,7 @@ function update_script() { if check_for_gh_release "mylar3" "mylar3/mylar3"; then fetch_and_deploy_gh_release "mylar3" "mylar3/mylar3" "tarball" systemctl restart mylar3 + msg_ok "Updated successfully!" fi exit } diff --git a/ct/myspeed.sh b/ct/myspeed.sh index 1ebab50eb..a3caa6817 100644 --- a/ct/myspeed.sh +++ b/ct/myspeed.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: MickLesk (Canbiz) @@ -52,7 +52,7 @@ function update_script() { msg_info "Starting Service" systemctl start myspeed msg_ok "Started Service" - msg_ok "Updated Successfully!\n" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/mysql.sh b/ct/mysql.sh index e113d595f..fc8788128 100644 --- a/ct/mysql.sh +++ b/ct/mysql.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: MickLesk (Canbiz) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/n8n.sh b/ct/n8n.sh index 7d8983005..f5b86420d 100644 --- a/ct/n8n.sh +++ b/ct/n8n.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -44,7 +44,7 @@ EOF rm -rf /usr/lib/node_modules/.n8n-* /usr/lib/node_modules/n8n $STD npm install -g n8n --force systemctl restart n8n - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/navidrome.sh b/ct/navidrome.sh index 36983d3d5..b13dd3e9d 100644 --- a/ct/navidrome.sh +++ b/ct/navidrome.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Services" systemctl start navidrome msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/neo4j.sh b/ct/neo4j.sh index 5355e87bb..0eaf4f22b 100644 --- a/ct/neo4j.sh +++ b/ct/neo4j.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck | Co-Author: havardthom @@ -33,7 +33,7 @@ function update_script() { msg_info "Updating ${APP}" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/netbox.sh b/ct/netbox.sh index 3f0d4546d..e8df7996e 100644 --- a/ct/netbox.sh +++ b/ct/netbox.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -68,7 +68,7 @@ function update_script() { rm -r "/opt/v${RELEASE}.zip" rm -r /opt/netbox-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/nextcloudpi.sh b/ct/nextcloudpi.sh index 233f302ce..dc8ebec86 100644 --- a/ct/nextcloudpi.sh +++ b/ct/nextcloudpi.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/ct/nextpvr.sh b/ct/nextpvr.sh index ffb16bb01..58ac733dd 100644 --- a/ct/nextpvr.sh +++ b/ct/nextpvr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) @@ -50,7 +50,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/nextpvr-helper.deb msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index d639f1fa7..57a68e13a 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -27,8 +27,8 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - - if command -v node &> /dev/null; then + + if command -v node &>/dev/null; then CURRENT_NODE_VERSION=$(node --version | cut -d'v' -f2 | cut -d'.' -f1) if [[ "$CURRENT_NODE_VERSION" != "22" ]]; then systemctl stop openresty @@ -165,7 +165,7 @@ EOF rm -rf ~/nginx-proxy-manager-* msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/nocodb.sh b/ct/nocodb.sh index 44956cfe6..0731b4761 100644 --- a/ct/nocodb.sh +++ b/ct/nocodb.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start nocodb msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/node-red.sh b/ct/node-red.sh index 3fb298fc1..e2fa69d26 100644 --- a/ct/node-red.sh +++ b/ct/node-red.sh @@ -45,7 +45,7 @@ function update_script() { msg_info "Starting Service" systemctl start nodered msg_ok "Started Service" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" exit fi if [ "$UPD" == "2" ]; then diff --git a/ct/nodebb.sh b/ct/nodebb.sh index e0a5b8025..dce07d5d6 100644 --- a/ct/nodebb.sh +++ b/ct/nodebb.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) @@ -44,7 +44,7 @@ function update_script() { msg_info "Starting Service" systemctl start nodebb msg_ok "Started Service" - msg_ok "Updated Successfully\n" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/notifiarr.sh b/ct/notifiarr.sh index cd6ac5e3a..4090ec175 100644 --- a/ct/notifiarr.sh +++ b/ct/notifiarr.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /etc/apt/sources.list.d/golift.list ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP" + header_info + check_container_storage + check_container_resources + if [[ ! -f /etc/apt/sources.list.d/golift.list ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5454${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5454${CL}" diff --git a/ct/npmplus.sh b/ct/npmplus.sh index 571df170c..459a5ab39 100644 --- a/ct/npmplus.sh +++ b/ct/npmplus.sh @@ -41,7 +41,7 @@ function update_script() { $STD docker compose pull msg_info "Recreating container" $STD docker compose up -d - msg_ok "NPMplus container updated" + msg_ok "Updated successfully!" exit ;; esac diff --git a/ct/ntfy.sh b/ct/ntfy.sh index 6dfb2c844..99d9484bc 100644 --- a/ct/ntfy.sh +++ b/ct/ntfy.sh @@ -20,36 +20,37 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /etc/ntfy ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi + header_info + check_container_storage + check_container_resources + if [[ ! -d /etc/ntfy ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi - if [ -f /etc/apt/keyrings/archive.heckel.io.gpg ]; then - msg_info "Correcting old Ntfy Repository" - rm -f /etc/apt/keyrings/archive.heckel.io.gpg - rm -f /etc/apt/sources.list.d/archive.heckel.io.list - rm -f /etc/apt/sources.list.d/archive.heckel.io.list.bak - rm -f /etc/apt/sources.list.d/archive.heckel.io.sources - curl -fsSL -o /etc/apt/keyrings/ntfy.gpg https://archive.ntfy.sh/apt/keyring.gpg - cat <<'EOF' >/etc/apt/sources.list.d/ntfy.sources + if [ -f /etc/apt/keyrings/archive.heckel.io.gpg ]; then + msg_info "Correcting old Ntfy Repository" + rm -f /etc/apt/keyrings/archive.heckel.io.gpg + rm -f /etc/apt/sources.list.d/archive.heckel.io.list + rm -f /etc/apt/sources.list.d/archive.heckel.io.list.bak + rm -f /etc/apt/sources.list.d/archive.heckel.io.sources + curl -fsSL -o /etc/apt/keyrings/ntfy.gpg https://archive.ntfy.sh/apt/keyring.gpg + cat <<'EOF' >/etc/apt/sources.list.d/ntfy.sources Types: deb URIs: https://archive.ntfy.sh/apt/ Suites: stable Components: main Signed-By: /etc/apt/keyrings/ntfy.gpg EOF - msg_ok "Corrected old Ntfy Repository" - fi - - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" - exit + msg_ok "Corrected old Ntfy Repository" + fi + + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/nxwitness.sh b/ct/nxwitness.sh index 32e7dfaa3..0cf4b6bd5 100644 --- a/ct/nxwitness.sh +++ b/ct/nxwitness.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -53,7 +53,7 @@ function update_script() { rm -f /tmp/nxwitness-server-$RELEASE-linux_x64.deb msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/nzbget.sh b/ct/nzbget.sh index 39b96cc3a..7d102eb88 100644 --- a/ct/nzbget.sh +++ b/ct/nzbget.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /lib/systemd/system/nzbget.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -f /lib/systemd/system/nzbget.service ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6789${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6789${CL}" diff --git a/ct/oauth2-proxy.sh b/ct/oauth2-proxy.sh index 80c832b4a..b52a0f454 100644 --- a/ct/oauth2-proxy.sh +++ b/ct/oauth2-proxy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start oauth2-proxy msg_ok "Started Service" - msg_ok "Updated successfully!\n" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/octoprint.sh b/ct/octoprint.sh index 9b9acbd4a..967b8ff1f 100644 --- a/ct/octoprint.sh +++ b/ct/octoprint.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -39,7 +39,7 @@ function update_script() { msg_info "Starting OctoPrint" systemctl start octoprint msg_ok "Started OctoPrint" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -50,4 +50,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5000${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5000${CL}" diff --git a/ct/odoo.sh b/ct/odoo.sh index 16e820295..7923f86e8 100644 --- a/ct/odoo.sh +++ b/ct/odoo.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -26,7 +26,7 @@ function update_script() { if [[ ! -f /etc/odoo/odoo.conf ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi if ! [[ $(dpkg -s python3-lxml-html-clean 2>/dev/null) ]]; then $STD apt install python3-lxml @@ -61,7 +61,7 @@ function update_script() { rm -f /opt/odoo.deb msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${LATEST_VERSION}" fi diff --git a/ct/ollama.sh b/ct/ollama.sh index 4e443ed0e..1d6d0ac28 100644 --- a/ct/ollama.sh +++ b/ct/ollama.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: havardthom | Co-Author: MickLesk (CanbiZ) @@ -53,7 +53,7 @@ function update_script() { msg_info "Cleaning Up" rm -f "${TMP_TAR}" msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. Ollama is already at ${RELEASE}" fi diff --git a/ct/omada.sh b/ct/omada.sh index c8e92a380..f2df5b945 100644 --- a/ct/omada.sh +++ b/ct/omada.sh @@ -33,7 +33,7 @@ function update_script() { if ! lscpu | grep -q 'avx'; then MONGODB_VERSION="4.4" msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/" - exit 1 + exit fi curl -fsSL "https://www.mongodb.org/static/pgp/server-${MONGODB_VERSION}.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg @@ -59,14 +59,14 @@ function update_script() { OMADA_PKG=$(basename "$OMADA_URL") if [ -z "$OMADA_PKG" ]; then msg_error "Could not retrieve Omada package – server may be down." - exit 1 + exit fi curl -fsSL "$OMADA_URL" -o "$OMADA_PKG" export DEBIAN_FRONTEND=noninteractive $STD dpkg -i "$OMADA_PKG" rm -f "$OMADA_PKG" - msg_ok "Updated Omada Controller" - exit 0 + msg_ok "Updated successfully!" + exit } start diff --git a/ct/ombi.sh b/ct/ombi.sh index b63c15578..976e64518 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -47,7 +47,7 @@ function update_script() { msg_info "Starting Service" systemctl start ombi msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/omv.sh b/ct/omv.sh index ec824d41c..9f2c336b9 100644 --- a/ct/omv.sh +++ b/ct/omv.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/onedev.sh b/ct/onedev.sh index cef42a251..791a16cf8 100644 --- a/ct/onedev.sh +++ b/ct/onedev.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani @@ -50,7 +50,7 @@ function update_script() { rm -rf /opt/onedev-latest rm -rf /opt/onedev-latest.tar.gz msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}." fi diff --git a/ct/onlyoffice.sh b/ct/onlyoffice.sh index 14caa258d..8aadbc1af 100644 --- a/ct/onlyoffice.sh +++ b/ct/onlyoffice.sh @@ -26,7 +26,7 @@ function update_script() { if [[ ! -d /var/www/onlyoffice ]]; then msg_error "No valid ${APP} installation found!" - exit 1 + exit fi msg_info "Updating $APP" @@ -39,6 +39,7 @@ function update_script() { $STD systemctl restart onlyoffice-documentserver msg_ok "$APP restarted" fi + msg_ok "Updated successfully!" exit } diff --git a/ct/open-archiver.sh b/ct/open-archiver.sh index 146a95ae0..af71b58c5 100644 --- a/ct/open-archiver.sh +++ b/ct/open-archiver.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -46,7 +46,7 @@ function update_script() { msg_info "Starting Services" systemctl start openarchiver msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/opengist.sh b/ct/opengist.sh index 0a92efc25..335e633e9 100644 --- a/ct/opengist.sh +++ b/ct/opengist.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Jonathan (jd-apprentice) @@ -45,7 +45,7 @@ function update_script() { msg_info "Starting Service" systemctl start opengist msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/openhab.sh b/ct/openhab.sh index 8c14f66cc..10ef3fceb 100644 --- a/ct/openhab.sh +++ b/ct/openhab.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/openobserve.sh b/ct/openobserve.sh index 18dfdedba..3507d6726 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -20,20 +20,21 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/openobserve/ ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP" - systemctl stop openobserve - LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) - $STD tar zxvf <(curl -fsSL https://downloads.openobserve.ai/releases/openobserve/$LATEST/openobserve-$LATEST-linux-amd64.tar.gz) -C /opt/openobserve - systemctl start openobserve - msg_ok "Updated $APP" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/openobserve/ ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP" + systemctl stop openobserve + LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + $STD tar zxvf <(curl -fsSL https://downloads.openobserve.ai/releases/openobserve/$LATEST/openobserve-$LATEST-linux-amd64.tar.gz) -C /opt/openobserve + systemctl start openobserve + msg_ok "Updated $APP" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/openproject.sh b/ct/openproject.sh index 1ace33f44..af13d59b6 100644 --- a/ct/openproject.sh +++ b/ct/openproject.sh @@ -31,7 +31,8 @@ function update_script() { $STD apt update $STD apt install --only-upgrade -y openproject msg_ok "Updated ${APP}" - exit 0 + msg_ok "Updated successfully!" + exit } start diff --git a/ct/openwebui.sh b/ct/openwebui.sh index f3a8cb42a..836d4bc27 100644 --- a/ct/openwebui.sh +++ b/ct/openwebui.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: havardthom @@ -73,7 +73,7 @@ function update_script() { $STD git stash pop fi systemctl start open-webui.service - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/openziti-controller.sh b/ct/openziti-controller.sh index 438c77607..98ea6b6ed 100644 --- a/ct/openziti-controller.sh +++ b/ct/openziti-controller.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/openziti-tunnel.sh b/ct/openziti-tunnel.sh index 4d768a8bb..5d84c747b 100644 --- a/ct/openziti-tunnel.sh +++ b/ct/openziti-tunnel.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/openziti ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" - exit + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/openziti ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Application was assigned the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}Address: ${IP}${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}Address: ${IP}${CL}" diff --git a/ct/ots.sh b/ct/ots.sh index 3275fa49d..1eaa6858d 100644 --- a/ct/ots.sh +++ b/ct/ots.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -39,7 +39,7 @@ function update_script() { systemctl start ots systemctl start nginx msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/outline.sh b/ct/outline.sh index 8649b5999..73dcaafa0 100644 --- a/ct/outline.sh +++ b/ct/outline.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -54,7 +54,7 @@ function update_script() { msg_info "Starting Services" systemctl start outline msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/overseerr.sh b/ct/overseerr.sh index 494634d1f..fada8bdab 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) diff --git a/ct/owncast.sh b/ct/owncast.sh index 2b70aaa04..1e757efcf 100644 --- a/ct/owncast.sh +++ b/ct/owncast.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start owncast msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/pairdrop.sh b/ct/pairdrop.sh index c8ae6625f..d90bbbd52 100644 --- a/ct/pairdrop.sh +++ b/ct/pairdrop.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -42,7 +42,7 @@ function update_script() { msg_info "Starting Service" systemctl start pairdrop msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/palmr.sh b/ct/palmr.sh index 2ef184912..b45d3fcf3 100644 --- a/ct/palmr.sh +++ b/ct/palmr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -60,7 +60,7 @@ function update_script() { msg_info "Starting Services" systemctl start palmr-backend palmr-frontend msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/paperless-ai.sh b/ct/paperless-ai.sh index 6ff461a3d..7ccdf9458 100644 --- a/ct/paperless-ai.sh +++ b/ct/paperless-ai.sh @@ -32,9 +32,9 @@ function update_script() { fi RELEASE=$(curl -fsSL https://api.github.com/repos/clusterzx/paperless-ai/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop paperless-ai - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Updating $APP to v${RELEASE}" cd /opt @@ -68,15 +68,15 @@ EOF echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated $APP to v${RELEASE}" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start paperless-ai - msg_ok "Started $APP" + msg_ok "Started Service" msg_info "Cleaning Up" rm -rf /opt/v${RELEASE}.zip rm -rf /opt/paperless-ai_bak msg_ok "Cleanup Completed" - msg_ok "Update Successful" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/paperless-gpt.sh b/ct/paperless-gpt.sh index ad396de75..64ecc452c 100644 --- a/ct/paperless-gpt.sh +++ b/ct/paperless-gpt.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -25,7 +25,7 @@ function update_script() { check_container_resources if [[ ! -d /opt/paperless-gpt ]]; then msg_error "No Paperless-GPT installation found!" - exit 1 + exit fi RELEASE=$(curl -fsSL https://api.github.com/repos/icereed/paperless-gpt/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then @@ -35,7 +35,7 @@ function update_script() { msg_info "Updating Paperless-GPT to ${RELEASE}" temp_file=$(mktemp) -curl -fsSL "https://github.com/icereed/paperless-gpt/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" + curl -fsSL "https://github.com/icereed/paperless-gpt/archive/refs/tags/v${RELEASE}.tar.gz" -o "$temp_file" tar zxf $temp_file rm -rf /opt/paperless-gpt mv paperless-gpt-${RELEASE} /opt/paperless-gpt @@ -57,7 +57,7 @@ curl -fsSL "https://github.com/icereed/paperless-gpt/archive/refs/tags/v${RELEAS msg_info "Cleaning Up" rm -f $temp_file msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi @@ -71,4 +71,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" diff --git a/ct/paperless-ngx.sh b/ct/paperless-ngx.sh index 42b09263d..fadbb6844 100644 --- a/ct/paperless-ngx.sh +++ b/ct/paperless-ngx.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -63,7 +63,7 @@ function update_script() { read -rp "Have you created a snapshot? [y/N]: " confirm if [[ ! "$confirm" =~ ^([yY]|[yY][eE][sS])$ ]]; then msg_error "Migration aborted. Please create a snapshot first." - exit 1 + exit fi msg_info "Migrating old Paperless-ngx installation to uv" rm -rf /opt/paperless/venv @@ -120,7 +120,7 @@ function update_script() { systemctl start paperless-consumer paperless-webserver paperless-scheduler paperless-task-queue sleep 1 msg_ok "Started all Paperless-ngx Services" - msg_ok "Updated Successfully!\n" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/part-db.sh b/ct/part-db.sh index 2a54fd12c..d5cd9f99c 100644 --- a/ct/part-db.sh +++ b/ct/part-db.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -63,7 +63,7 @@ function update_script() { rm -r "/opt/v${RELEASE}.zip" rm -r /opt/partdb-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/patchmon.sh b/ct/patchmon.sh index e3c373674..5d05ece3f 100644 --- a/ct/patchmon.sh +++ b/ct/patchmon.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -61,7 +61,7 @@ function update_script() { msg_info "Starting Service" systemctl start patchmon-server msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/paymenter.sh b/ct/paymenter.sh index 6316cf38c..e6cd27731 100644 --- a/ct/paymenter.sh +++ b/ct/paymenter.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Nícolas Pastorello (opastorello) @@ -41,7 +41,7 @@ function update_script() { cd /opt/paymenter $STD php artisan app:upgrade --no-interaction echo "${CHECK_UPDATE_RELEASE}" >~/.paymenter - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/peanut.sh b/ct/peanut.sh index f2b74158a..f6e910ff6 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: remz1337 @@ -31,9 +31,9 @@ function update_script() { NODE_VERSION="22" NODE_MODULE="pnpm" setup_nodejs if check_for_gh_release "peanut" "Brandawg93/PeaNUT"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop peanut - msg_ok "Stopped $APP" + msg_info "Stopped Service" fetch_and_deploy_gh_release "peanut" "Brandawg93/PeaNUT" "tarball" "latest" "/opt/peanut" @@ -46,10 +46,10 @@ function update_script() { ln -sf /etc/peanut/settings.yml /opt/peanut/.next/standalone/config/settings.yml msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start peanut - msg_ok "Started $APP" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/pelican-panel.sh b/ct/pelican-panel.sh index 961616d32..479b5e8a8 100644 --- a/ct/pelican-panel.sh +++ b/ct/pelican-panel.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -52,7 +52,7 @@ function update_script() { msg_info "Updating ${APP} to v${RELEASE}" cp -r /opt/pelican-panel/.env /opt/ - SQLITE_INSTALL=$(ls /opt/pelican-panel/database/*.sqlite 1> /dev/null 2>&1 && echo "true" || echo "false") + SQLITE_INSTALL=$(ls /opt/pelican-panel/database/*.sqlite 1>/dev/null 2>&1 && echo "true" || echo "false") $SQLITE_INSTALL && cp -r /opt/pelican-panel/database/*.sqlite /opt/ rm -rf * .* curl -fsSL "https://github.com/pelican-dev/panel/releases/download/v${RELEASE}/panel.tar.gz" -o $(basename "https://github.com/pelican-dev/panel/releases/download/v${RELEASE}/panel.tar.gz") @@ -78,7 +78,7 @@ function update_script() { msg_info "Cleaning up" rm -rf "/opt/pelican-panel/panel.tar.gz" msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/pelican-wings.sh b/ct/pelican-wings.sh index 3f0f6d374..350ebe256 100644 --- a/ct/pelican-wings.sh +++ b/ct/pelican-wings.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -35,7 +35,7 @@ function update_script() { msg_info "Updating ${APP} to v${RELEASE}" rm /usr/local/bin/wings -curl -fsSL "https://github.com/pelican-dev/wings/releases/download/v${RELEASE}/wings_linux_amd64" -o "/usr/local/bin/wings" + curl -fsSL "https://github.com/pelican-dev/wings/releases/download/v${RELEASE}/wings_linux_amd64" -o "/usr/local/bin/wings" chmod u+x /usr/local/bin/wings echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated $APP to v${RELEASE}" @@ -43,7 +43,7 @@ curl -fsSL "https://github.com/pelican-dev/wings/releases/download/v${RELEASE}/w msg_info "Starting Service" systemctl start wings msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi @@ -55,4 +55,4 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" \ No newline at end of file +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/pf2etools.sh b/ct/pf2etools.sh index f7f0d342d..e32970824 100644 --- a/ct/pf2etools.sh +++ b/ct/pf2etools.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: TheRealVira @@ -44,7 +44,7 @@ function update_script() { chown -R www-data: "/opt/${APP}" chmod -R 755 "/opt/${APP}" msg_ok "Updated ${APP}" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/photoprism.sh b/ct/photoprism.sh index 27fd2fe0c..cfb30dba8 100644 --- a/ct/photoprism.sh +++ b/ct/photoprism.sh @@ -48,7 +48,7 @@ function update_script() { msg_info "Starting PhotoPrism" systemctl start photoprism msg_ok "Started PhotoPrism" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/phpipam.sh b/ct/phpipam.sh index 7e0e4c375..02506f40a 100644 --- a/ct/phpipam.sh +++ b/ct/phpipam.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -44,7 +44,7 @@ function update_script() { msg_info "Cleaning up" rm -r /opt/phpipam-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/pialert.sh b/ct/pialert.sh index f41707b37..7d2f94231 100644 --- a/ct/pialert.sh +++ b/ct/pialert.sh @@ -20,16 +20,17 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/pialert ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - bash -c "$(curl -fsSL https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh)" -s --lxc - msg_ok "Updated $APP" + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/pialert ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + bash -c "$(curl -fsSL https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh)" -s --lxc + msg_ok "Updated $APP" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/pihole.sh b/ct/pihole.sh index 26f2414ec..73d28df7e 100644 --- a/ct/pihole.sh +++ b/ct/pihole.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -33,7 +33,7 @@ function update_script() { $STD apt upgrade -y /usr/local/bin/pihole -up msg_ok "Updated PiHole" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/planka.sh b/ct/planka.sh index 04f344acd..f5a6b7d60 100644 --- a/ct/planka.sh +++ b/ct/planka.sh @@ -29,9 +29,9 @@ function update_script() { exit fi if check_for_gh_release "planka" "plankanban/planka"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop planka - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Backing up data" BK="/opt/planka-backup" @@ -61,10 +61,10 @@ function update_script() { rm -rf "$BK" msg_ok "Restored data" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start planka - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/plant-it.sh b/ct/plant-it.sh index 879076cf2..4610fd41f 100644 --- a/ct/plant-it.sh +++ b/ct/plant-it.sh @@ -28,19 +28,19 @@ function update_script() { exit fi if check_for_gh_release "plant-it" "MDeLuise/plant-it"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop plant-it - msg_ok "Stopped $APP" + msg_info "Stopped Service" USE_ORIGINAL_FILENAME="true" fetch_and_deploy_gh_release "plant-it" "MDeLuise/plant-it" "singlefile" "0.10.0" "/opt/plant-it/backend" "server.jar" fetch_and_deploy_gh_release "plant-it-front" "MDeLuise/plant-it" "prebuild" "0.10.0" "/opt/plant-it/frontend" "client.tar.gz" msg_warn "Application is updated to latest Web version (v0.10.0). There will be no more updates available." msg_warn "Please read: https://github.com/MDeLuise/plant-it/releases/tag/1.0.0" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start plant-it - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/plex.sh b/ct/plex.sh index 3879839f1..3ad82df74 100644 --- a/ct/plex.sh +++ b/ct/plex.sh @@ -36,11 +36,13 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated ${APP} LXC" + msg_ok "Updated successfully!" exit fi if [ "$UPD" == "2" ]; then set +e bash -c "$(curl -fsSL https://raw.githubusercontent.com/mrworf/plexupdate/master/extras/installer.sh)" + msg_ok "Updated successfully!" exit fi } diff --git a/ct/pocketbase.sh b/ct/pocketbase.sh index 1e4037063..274431142 100644 --- a/ct/pocketbase.sh +++ b/ct/pocketbase.sh @@ -40,7 +40,7 @@ function update_script() { msg_info "Starting Service" systemctl start pocketbase msg_ok "Started Service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/pocketid.sh b/ct/pocketid.sh index 6f582af6c..b56bbbf9f 100755 --- a/ct/pocketid.sh +++ b/ct/pocketid.sh @@ -67,10 +67,10 @@ function update_script() { fetch_and_deploy_gh_release "pocket-id" "pocket-id/pocket-id" "singlefile" "latest" "/opt/pocket-id/" "pocket-id-linux-amd64" mv /opt/env /opt/pocket-id/.env - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start pocketid - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/podman-homeassistant.sh b/ct/podman-homeassistant.sh index 48e56e0f8..f0a24e43d 100644 --- a/ct/podman-homeassistant.sh +++ b/ct/podman-homeassistant.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" msg_info "Updating All Containers\n" CONTAINER_LIST="${1:-$(podman ps -q)}" diff --git a/ct/podman.sh b/ct/podman.sh index c29029b03..0e530ed62 100644 --- a/ct/podman.sh +++ b/ct/podman.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -39,4 +39,4 @@ build_container description msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" \ No newline at end of file +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" diff --git a/ct/postgresql.sh b/ct/postgresql.sh index 513cb48c5..1bd728898 100644 --- a/ct/postgresql.sh +++ b/ct/postgresql.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } @@ -41,4 +41,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:5432${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}${IP}:5432${CL}" diff --git a/ct/privatebin.sh b/ct/privatebin.sh index 35e4a1833..574797a10 100644 --- a/ct/privatebin.sh +++ b/ct/privatebin.sh @@ -42,7 +42,7 @@ function update_script() { chmod -R 0755 /opt/privatebin/data} systemctl reload nginx php8.2-fpm msg_ok "Configured ${APP}" - msg_ok "Successfully updated" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/projectsend.sh b/ct/projectsend.sh index d3af77c9c..8507d27e0 100644 --- a/ct/projectsend.sh +++ b/ct/projectsend.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -48,7 +48,7 @@ function update_script() { systemctl start apache2 msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/prometheus-alertmanager.sh b/ct/prometheus-alertmanager.sh index 1e98d6586..fbc6dd7ea 100755 --- a/ct/prometheus-alertmanager.sh +++ b/ct/prometheus-alertmanager.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Andy Grunwald (andygrunwald) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start prometheus-alertmanager msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/prometheus-blackbox-exporter.sh b/ct/prometheus-blackbox-exporter.sh index 55295c1d9..4a7353493 100644 --- a/ct/prometheus-blackbox-exporter.sh +++ b/ct/prometheus-blackbox-exporter.sh @@ -43,11 +43,11 @@ function update_script() { cp -r /opt/blackbox.yml /opt/blackbox-exporter rm -f /opt/blackbox.yml msg_ok "Backup restored" - + msg_info "Starting Service" systemctl start blackbox-exporter msg_ok "Started Service" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/prometheus-paperless-ngx-exporter.sh b/ct/prometheus-paperless-ngx-exporter.sh index b2a022831..1eb911261 100755 --- a/ct/prometheus-paperless-ngx-exporter.sh +++ b/ct/prometheus-paperless-ngx-exporter.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Andy Grunwald (andygrunwald) @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start prometheus-paperless-ngx-exporter msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/prometheus-pve-exporter.sh b/ct/prometheus-pve-exporter.sh index 906974de4..0772b6b08 100644 --- a/ct/prometheus-pve-exporter.sh +++ b/ct/prometheus-pve-exporter.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Andy Grunwald (andygrunwald) @@ -25,7 +25,7 @@ function update_script() { check_container_resources if [[ ! -f /etc/systemd/system/prometheus-pve-exporter.service ]]; then msg_error "No ${APP} Installation Found!" - exit 1 + exit fi msg_info "Stopping Service" @@ -81,7 +81,7 @@ EOF systemctl start prometheus-pve-exporter msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit 0 } diff --git a/ct/prometheus.sh b/ct/prometheus.sh index 2b32edd50..8e3a71190 100644 --- a/ct/prometheus.sh +++ b/ct/prometheus.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: tteck (tteckster) @@ -39,7 +39,7 @@ function update_script() { systemctl start prometheus msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/prowlarr.sh b/ct/prowlarr.sh index 72da3fe43..d91ce450f 100644 --- a/ct/prowlarr.sh +++ b/ct/prowlarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -39,7 +39,7 @@ function update_script() { msg_info "Starting Service" systemctl start prowlarr msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/proxmox-backup-server.sh b/ct/proxmox-backup-server.sh index d096a811f..94322dce6 100644 --- a/ct/proxmox-backup-server.sh +++ b/ct/proxmox-backup-server.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -e /usr/sbin/proxmox-backup-manager ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -e /usr/sbin/proxmox-backup-manager ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8007${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8007${CL}" diff --git a/ct/proxmox-datacenter-manager.sh b/ct/proxmox-datacenter-manager.sh index dc3728f13..6acadcd35 100644 --- a/ct/proxmox-datacenter-manager.sh +++ b/ct/proxmox-datacenter-manager.sh @@ -20,28 +20,29 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -e /usr/sbin/proxmox-datacenter-manager-admin ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if grep -q 'Debian GNU/Linux 12' /etc/os-release && [ -f /etc/apt/sources.list.d/proxmox-release-bookworm.list ] && [ -f /etc/apt/sources.list.d/pdm-test.list ]; then - msg_info "Updating outdated outdated source formats" - echo "deb [signed-by=/usr/share/keyrings/proxmox-archive-keyring.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test" > /etc/apt/sources.list.d/pdm-test.list - curl -fsSL https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -o /usr/share/keyrings/proxmox-archive-keyring.gpg - rm -f /etc/apt/keyrings/proxmox-release-bookworm.gpg /etc/apt/sources.list.d/proxmox-release-bookworm.list - $STD apt update - msg_ok "Updated old sources" - fi - - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -e /usr/sbin/proxmox-datacenter-manager-admin ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + + if grep -q 'Debian GNU/Linux 12' /etc/os-release && [ -f /etc/apt/sources.list.d/proxmox-release-bookworm.list ] && [ -f /etc/apt/sources.list.d/pdm-test.list ]; then + msg_info "Updating outdated outdated source formats" + echo "deb [signed-by=/usr/share/keyrings/proxmox-archive-keyring.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test" >/etc/apt/sources.list.d/pdm-test.list + curl -fsSL https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg -o /usr/share/keyrings/proxmox-archive-keyring.gpg + rm -f /etc/apt/keyrings/proxmox-release-bookworm.gpg /etc/apt/sources.list.d/proxmox-release-bookworm.list + $STD apt update + msg_ok "Updated old sources" + fi + + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/proxmox-mail-gateway.sh b/ct/proxmox-mail-gateway.sh index e86169eec..c8bd56772 100644 --- a/ct/proxmox-mail-gateway.sh +++ b/ct/proxmox-mail-gateway.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated ${APP}" + msg_ok "Updated successfully!" exit } @@ -41,4 +42,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8006/${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:8006/${CL}" diff --git a/ct/ps5-mqtt.sh b/ct/ps5-mqtt.sh index f9a45d1f7..108a4a1ac 100644 --- a/ct/ps5-mqtt.sh +++ b/ct/ps5-mqtt.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: liecno @@ -43,7 +43,7 @@ function update_script() { msg_info "Starting service" systemctl start ps5-mqtt msg_ok "Started service" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/pterodactyl-panel.sh b/ct/pterodactyl-panel.sh index ce04963f0..73e655693 100644 --- a/ct/pterodactyl-panel.sh +++ b/ct/pterodactyl-panel.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -81,7 +81,7 @@ EOF msg_info "Cleaning up" rm -rf "/opt/pterodactyl-panel/panel.tar.gz" msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/pterodactyl-wings.sh b/ct/pterodactyl-wings.sh index 2dbcee922..e2a33246a 100644 --- a/ct/pterodactyl-wings.sh +++ b/ct/pterodactyl-wings.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: bvdberg01 @@ -43,7 +43,7 @@ function update_script() { msg_info "Starting Service" systemctl start wings msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/pulse.sh b/ct/pulse.sh index e99b9d890..1a90d343e 100644 --- a/ct/pulse.sh +++ b/ct/pulse.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: rcourtman & vhsdream @@ -57,7 +57,7 @@ function update_script() { msg_info "Starting Services" systemctl start pulse msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/pve-scripts-local.sh b/ct/pve-scripts-local.sh index 904484190..ea8145c57 100644 --- a/ct/pve-scripts-local.sh +++ b/ct/pve-scripts-local.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: michelroegl-brunner @@ -60,7 +60,7 @@ function update_script() { msg_info "Starting Services" systemctl start pvescriptslocal msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/qbittorrent.sh b/ct/qbittorrent.sh index 6f03cedd6..b719bb96b 100644 --- a/ct/qbittorrent.sh +++ b/ct/qbittorrent.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: tteck (tteckster) | Co-Author: Slaviša Arežina (tremor021) @@ -43,7 +43,7 @@ function update_script() { msg_info "Starting Service" systemctl start qbittorrent-nox msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/rabbitmq.sh b/ct/rabbitmq.sh index bde470adc..1c6734e3c 100644 --- a/ct/rabbitmq.sh +++ b/ct/rabbitmq.sh @@ -47,12 +47,12 @@ EOF msg_info "Updating..." $STD apt install --only-upgrade rabbitmq-server - msg_ok "Update Successfully" + msg_ok "Updated successfully!" msg_info "Starting Service" systemctl start rabbitmq-server msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/radarr.sh b/ct/radarr.sh index ec0ec00f7..212e52a10 100644 --- a/ct/radarr.sh +++ b/ct/radarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -41,7 +41,7 @@ function update_script() { msg_info "Starting Service" systemctl start radarr msg_ok "Started Service" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/radicale.sh b/ct/radicale.sh index 559e2e613..400e61b34 100644 --- a/ct/radicale.sh +++ b/ct/radicale.sh @@ -20,25 +20,25 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/radicale ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - msg_info "Updating ${APP}" - python3 -m venv /opt/radicale - source /opt/radicale/bin/activate - python3 -m pip install --upgrade https://github.com/Kozea/Radicale/archive/master.tar.gz - msg_ok "Updated ${APP}" - - msg_info "Starting Service" - systemctl enable -q --now radicale - msg_ok "Started Service" - + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/radicale ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + + msg_info "Updating ${APP}" + $STD python3 -m venv /opt/radicale + source /opt/radicale/bin/activate + $STD python3 -m pip install --upgrade https://github.com/Kozea/Radicale/archive/master.tar.gz + msg_ok "Updated ${APP}" + + msg_info "Starting Service" + systemctl enable -q --now radicale + msg_ok "Started Service" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/rclone.sh b/ct/rclone.sh index 117a468ae..d5b4f1fe9 100644 --- a/ct/rclone.sh +++ b/ct/rclone.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start rclone-web msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/rdtclient.sh b/ct/rdtclient.sh index 033d2693a..bcb152eeb 100755 --- a/ct/rdtclient.sh +++ b/ct/rdtclient.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -51,7 +51,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/rdtc-backup msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/reactive-resume.sh b/ct/reactive-resume.sh index 2bb8b4316..c9f7522a2 100644 --- a/ct/reactive-resume.sh +++ b/ct/reactive-resume.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -85,7 +85,7 @@ function update_script() { rm -f /tmp/minio.deb rm -f "$brwsr_tmp" msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/readarr.sh b/ct/readarr.sh index 2f59db1ec..8c4d0c1cd 100644 --- a/ct/readarr.sh +++ b/ct/readarr.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var/lib/readarr/ ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var/lib/readarr/ ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/readeck.sh b/ct/readeck.sh index f76f4515f..1ad824ab0 100644 --- a/ct/readeck.sh +++ b/ct/readeck.sh @@ -27,15 +27,22 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - msg_info "Updating ${APP}" + msg_info "Stopping Service" + systemctl stop readeck + msg_ok "Stopped Service" + + msg_info "Updating Readeck" LATEST=$(curl -fsSL https://codeberg.org/readeck/readeck/releases/ | grep -oP '/releases/tag/\K\d+\.\d+\.\d+' | head -1) - systemctl stop readeck.service rm -rf /opt/readeck/readeck cd /opt/readeck curl -fsSL "https://codeberg.org/readeck/readeck/releases/download/${LATEST}/readeck-${LATEST}-linux-amd64" -o "readeck" chmod a+x readeck - systemctl start readeck.service - msg_ok "Updated ${APP}" + msg_ok "Updated Readeck" + + msg_info "Starting Service" + systemctl start readeck + msg_ok "Started Service" + msg_ok "Updated successfully!" exit } diff --git a/ct/recyclarr.sh b/ct/recyclarr.sh index ef090f9f4..6cc1f47ad 100644 --- a/ct/recyclarr.sh +++ b/ct/recyclarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MrYadro @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start recyclarr msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/redis.sh b/ct/redis.sh index e69e50105..25b4bdfa8 100644 --- a/ct/redis.sh +++ b/ct/redis.sh @@ -20,15 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /lib/systemd/system/redis-server.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_error "Currently we don't provide an update function for this ${APP}." + header_info + check_container_storage + check_container_resources + if [[ ! -f /lib/systemd/system/redis-server.service ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/reitti.sh b/ct/reitti.sh index 19a52208c..da070da79 100644 --- a/ct/reitti.sh +++ b/ct/reitti.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -39,7 +39,7 @@ function update_script() { msg_info "Starting Service" systemctl start reitti msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi if check_for_gh_release "photon" "dedicatedcode/reitti"; then msg_info "Stopping Service" @@ -53,7 +53,7 @@ function update_script() { msg_info "Starting Service" systemctl start photon msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/resiliosync.sh b/ct/resiliosync.sh index 89ec1261f..39b6b13c6 100644 --- a/ct/resiliosync.sh +++ b/ct/resiliosync.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: David Bennett (dbinit) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/revealjs.sh b/ct/revealjs.sh index 9c38f799b..7cd03ead5 100644 --- a/ct/revealjs.sh +++ b/ct/revealjs.sh @@ -29,9 +29,9 @@ function update_script() { fi if check_for_gh_release "revealjs" "hakimel/reveal.js"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop revealjs - msg_ok "Stopped $APP" + msg_info "Stopped Service" cp /opt/revealjs/index.html /opt fetch_and_deploy_gh_release "revealjs" "hakimel/reveal.js" "tarball" @@ -43,14 +43,14 @@ function update_script() { sed -i '25s/localhost/0.0.0.0/g' /opt/revealjs/gulpfile.js msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start revealjs - msg_ok "Started $APP" + msg_ok "Started Service" msg_info "Cleaning Up" rm -f /opt/index.html msg_ok "Cleanup Completed" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/runtipi.sh b/ct/runtipi.sh index 7c95519af..55e31ccf6 100644 --- a/ct/runtipi.sh +++ b/ct/runtipi.sh @@ -20,15 +20,16 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /opt/runtipi ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - cd /opt/runtipi && ./runtipi-cli update latest + header_info + check_container_storage + check_container_resources + if [[ ! -d /opt/runtipi ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + cd /opt/runtipi && ./runtipi-cli update latest + msg_ok "Updated successfully!" + exit } start diff --git a/ct/rustdeskserver.sh b/ct/rustdeskserver.sh index e705e8d97..58a959d64 100644 --- a/ct/rustdeskserver.sh +++ b/ct/rustdeskserver.sh @@ -32,13 +32,13 @@ function update_script() { RELEASE=$(curl -fsSL https://api.github.com/repos/rustdesk/rustdesk-server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') APIRELEASE=$(curl -fsSL https://api.github.com/repos/lejianwen/rustdesk-api/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ "${RELEASE}" != "$(cat ~/.rustdesk-hbbr)" ]] || [[ "${APIRELEASE}" != "$(cat ~/.rustdesk-api)" ]] || [[ ! -f ~/.rustdesk-hbbr ]] || [[ ! -f ~/.rustdesk-api ]]; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop rustdesk-hbbr systemctl stop rustdesk-hbbs if [[ -f /lib/systemd/system/rustdesk-api.service ]]; then systemctl stop rustdesk-api fi - msg_ok "Stopped $APP" + msg_info "Stopped Service" fetch_and_deploy_gh_release "rustdesk-hbbr" "rustdesk/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-hbbr*amd64.deb" fetch_and_deploy_gh_release "rustdesk-hbbs" "rustdesk/rustdesk-server" "binary" "latest" "/opt/rustdesk" "rustdesk-server-hbbs*amd64.deb" @@ -49,7 +49,7 @@ function update_script() { systemctl start -q rustdesk-* --all msg_ok "Services started" - msg_ok "Update Successful" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/sabnzbd.sh b/ct/sabnzbd.sh index 5b2c35de9..a6e0bdaf9 100644 --- a/ct/sabnzbd.sh +++ b/ct/sabnzbd.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) | Co-Author: MickLesk (CanbiZ) @@ -27,7 +27,7 @@ function update_script() { if par2 --version | grep -q "par2cmdline-turbo"; then fetch_and_deploy_gh_release "par2cmdline-turbo" "animetosho/par2cmdline-turbo" "prebuild" "latest" "/usr/bin/" "*-linux-amd64.zip" fi - + if [[ ! -d /opt/sabnzbd ]]; then msg_error "No ${APP} Installation Found!" exit @@ -38,7 +38,6 @@ function update_script() { cp -r /opt/sabnzbd /opt/sabnzbd_backup_$(date +%s) fetch_and_deploy_gh_release "sabnzbd-org" "sabnzbd/sabnzbd" "prebuild" "latest" "/opt/sabnzbd" "SABnzbd-*-src.tar.gz" - if [[ ! -d /opt/sabnzbd/venv ]]; then msg_info "Migrating SABnzbd to uv virtual environment" $STD uv venv /opt/sabnzbd/venv @@ -54,7 +53,7 @@ function update_script() { $STD uv pip install -r /opt/sabnzbd/requirements.txt --python=/opt/sabnzbd/venv/bin/python systemctl start sabnzbd - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/salt.sh b/ct/salt.sh index e7b331cfa..7f0b45fe7 100644 --- a/ct/salt.sh +++ b/ct/salt.sh @@ -36,7 +36,7 @@ function update_script() { $STD apt update $STD apt upgrade -y echo "${RELEASE}" >/~.salt - msg_ok "Updated ${APP} to ${RELEASE}" + msg_ok "Updated successfully!" else msg_ok "${APP} is already up to date (${RELEASE})" fi diff --git a/ct/scraparr.sh b/ct/scraparr.sh index be7707f51..9f1351021 100644 --- a/ct/scraparr.sh +++ b/ct/scraparr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: JasonGreenC @@ -48,7 +48,7 @@ function update_script() { msg_info "Starting Services" systemctl start scraparr msg_ok "Services Started" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/seelf.sh b/ct/seelf.sh index c991c77d5..d322d22d1 100644 --- a/ct/seelf.sh +++ b/ct/seelf.sh @@ -29,19 +29,19 @@ function update_script() { exit fi if check_for_gh_release "seelf" "YuukanOO/seelf"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop seelf - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Updating $APP" cd /opt/seelf $STD make build msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start seelf - msg_ok "Started $APP" - msg_ok "Update Successfully" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/semaphore.sh b/ct/semaphore.sh index 2c17515ab..eb88ada1c 100644 --- a/ct/semaphore.sh +++ b/ct/semaphore.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start semaphore msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/sftpgo.sh b/ct/sftpgo.sh index f8d5540a9..743b2fa74 100644 --- a/ct/sftpgo.sh +++ b/ct/sftpgo.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP LXC" - $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Updating $APP LXC" + $STD apt update + $STD apt -y upgrade + msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/shinobi.sh b/ct/shinobi.sh index 03078cf46..5ae9f34c7 100644 --- a/ct/shinobi.sh +++ b/ct/shinobi.sh @@ -27,13 +27,14 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - msg_info "Updating Shinobi LXC" + msg_info "Updating Shinobi" cd /opt/Shinobi - sh UPDATE.sh - pm2 flush - pm2 restart camera - pm2 restart cron - msg_ok "Updated Shinobi LXC" + $STD sh UPDATE.sh + $STD pm2 flush + $STD pm2 restart camera + $STD pm2 restart cron + msg_ok "Updated Shinobi" + msg_ok "Updated successfully!" exit } diff --git a/ct/signoz.sh b/ct/signoz.sh index 6733c8716..d46a6444f 100644 --- a/ct/signoz.sh +++ b/ct/signoz.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -48,7 +48,7 @@ function update_script() { systemctl start signoz-otel-collector systemctl start signoz msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/silverbullet.sh b/ct/silverbullet.sh index 737c94eec..0415d5421 100644 --- a/ct/silverbullet.sh +++ b/ct/silverbullet.sh @@ -37,7 +37,7 @@ function update_script() { msg_info "Starting Service" systemctl start silverbullet msg_ok "Started Service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/slskd.sh b/ct/slskd.sh index 89c45d298..174d5f388 100644 --- a/ct/slskd.sh +++ b/ct/slskd.sh @@ -31,9 +31,9 @@ function update_script() { RELEASE=$(curl -s https://api.github.com/repos/slskd/slskd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop slskd soularr.timer soularr.service - msg_ok "Stopped $APP" + msg_info "Stopped Service" msg_info "Updating $APP to v${RELEASE}" tmp_file=$(mktemp) @@ -42,9 +42,9 @@ function update_script() { echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated $APP to v${RELEASE}" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start slskd - msg_ok "Started $APP" + msg_ok "Started Service" rm -rf $tmp_file else msg_ok "No ${APP} update required. ${APP} is already at v${RELEASE}" diff --git a/ct/smokeping.sh b/ct/smokeping.sh index b49f0b5dd..b743fbf52 100644 --- a/ct/smokeping.sh +++ b/ct/smokeping.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -31,7 +31,7 @@ function update_script() { msg_info "Updating ${APP}" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/snipeit.sh b/ct/snipeit.sh index f00f65dc3..3f25fa32e 100644 --- a/ct/snipeit.sh +++ b/ct/snipeit.sh @@ -68,7 +68,7 @@ function update_script() { msg_info "Starting Service" systemctl start nginx msg_ok "Started Service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/sonarqube.sh b/ct/sonarqube.sh index 50963fc25..8a2e3a5d5 100644 --- a/ct/sonarqube.sh +++ b/ct/sonarqube.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: prop4n @@ -56,7 +56,7 @@ function update_script() { msg_info "Starting Service" systemctl start sonarqube msg_ok "Service started" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/sonarr.sh b/ct/sonarr.sh index 78e4f50e9..092d9d638 100644 --- a/ct/sonarr.sh +++ b/ct/sonarr.sh @@ -20,23 +20,29 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var/lib/sonarr/ ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating $APP v4" - systemctl stop sonarr.service - curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz" - tar -xzf SonarrV4.tar.gz - rm -rf /opt/Sonarr - mv Sonarr /opt - rm -rf SonarrV4.tar.gz - systemctl start sonarr.service - msg_ok "Updated $APP v4" + header_info + check_container_storage + check_container_resources + if [[ ! -d /var/lib/sonarr/ ]]; then + msg_error "No ${APP} Installation Found!" exit + fi + msg_info "Stopping Service" + systemctl stop sonarr + msg_ok "Stopped Service" + + msg_info "Updating Sonarr" + curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64" -o "SonarrV4.tar.gz" + tar -xzf SonarrV4.tar.gz + rm -rf /opt/Sonarr + mv Sonarr /opt + rm -rf SonarrV4.tar.gz + msg_ok "Updated Sonarr" + msg_info "Starting Service" + systemctl start sonarr + msg_ok "Started Service" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/spoolman.sh b/ct/spoolman.sh index 2698e0728..1fe4dccd0 100644 --- a/ct/spoolman.sh +++ b/ct/spoolman.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -54,7 +54,7 @@ function update_script() { rm -rf /opt/spoolman.zip msg_ok "Cleaned" - msg_ok "Updated Successfully!\n" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/sqlserver2022.sh b/ct/sqlserver2022.sh index e7533986f..14680d444 100644 --- a/ct/sqlserver2022.sh +++ b/ct/sqlserver2022.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Kristian Skov @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/stirling-pdf.sh b/ct/stirling-pdf.sh index 96906dc1d..21e03c07b 100644 --- a/ct/stirling-pdf.sh +++ b/ct/stirling-pdf.sh @@ -55,7 +55,7 @@ function update_script() { msg_info "Starting Services" systemctl start stirlingpdf libreoffice-listener unoserver msg_ok "Started Services" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/streamlink-webui.sh b/ct/streamlink-webui.sh index 9de0ec7af..b61b77d6a 100644 --- a/ct/streamlink-webui.sh +++ b/ct/streamlink-webui.sh @@ -30,9 +30,9 @@ function update_script() { fi if check_for_gh_release "streamlink-webui" "CrazyWolf13/streamlink-webui"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop ${APP} - msg_ok "Stopped $APP" + msg_info "Stopped Service" rm -rf /opt/${APP} NODE_VERSION="22" NODE_MODULE="yarn" setup_nodejs @@ -49,10 +49,10 @@ function update_script() { chmod +x /opt/"${APP}"/start.sh msg_ok "Updated $APP" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start ${APP} - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/stylus.sh b/ct/stylus.sh index 67a88c31c..5da355772 100644 --- a/ct/stylus.sh +++ b/ct/stylus.sh @@ -30,16 +30,16 @@ function update_script() { exit fi if check_for_gh_release "stylus" "mmastrac/stylus"; then - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop stylus - msg_ok "Stopped $APP" + msg_info "Stopped Service" fetch_and_deploy_gh_release "stylus" "mmastrac/stylus" "singlefile" "latest" "/usr/bin/" "*_linux_amd64" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start stylus - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/suwayomiserver.sh b/ct/suwayomiserver.sh index bc6d654a4..9c771a711 100644 --- a/ct/suwayomiserver.sh +++ b/ct/suwayomiserver.sh @@ -32,16 +32,16 @@ function update_script() { if check_for_gh_release "suwayomi-server" "Suwayomi/Suwayomi-Server"; then JAVA_VERSION=21 setup_java - msg_info "Stopping $APP" + msg_info "Stopping Service" systemctl stop suwayomi-server - msg_ok "Stopped $APP" + msg_info "Stopped Service" fetch_and_deploy_gh_release "suwayomi-server" "Suwayomi/Suwayomi-Server" "binary" - msg_info "Starting $APP" + msg_info "Starting Service" systemctl start suwayomi-server - msg_ok "Started $APP" - msg_ok "Update Successful" + msg_ok "Started Service" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/swizzin.sh b/ct/swizzin.sh index 96a7cdfb1..46b86da39 100644 --- a/ct/swizzin.sh +++ b/ct/swizzin.sh @@ -29,7 +29,7 @@ function update_script() { fi msg_info "Running 'sudo box update' inside the container" $STD sudo box update - msg_ok "Update finished" + msg_ok "Updated successfully!" exit } diff --git a/ct/syncthing.sh b/ct/syncthing.sh index 38d733616..f13adfb76 100644 --- a/ct/syncthing.sh +++ b/ct/syncthing.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/tandoor.sh b/ct/tandoor.sh index 5f9319ea3..0ffeaac02 100644 --- a/ct/tandoor.sh +++ b/ct/tandoor.sh @@ -74,7 +74,7 @@ EOF msg_info "Cleaning Up" rm -rf /opt/tandoor.bak msg_ok "Cleanup Completed" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/tasmoadmin.sh b/ct/tasmoadmin.sh index e0c975560..58a703fb6 100644 --- a/ct/tasmoadmin.sh +++ b/ct/tasmoadmin.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated TasmoAdmin" + msg_ok "Updated successfully!" exit } diff --git a/ct/tasmocompiler.sh b/ct/tasmocompiler.sh index 64fc87bad..fb16107f1 100644 --- a/ct/tasmocompiler.sh +++ b/ct/tasmocompiler.sh @@ -55,7 +55,7 @@ function update_script() { msg_info "Cleaning up" rm -r "/opt/v${RELEASE}.tar.gz" msg_ok "Cleaned" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/tautulli.sh b/ct/tautulli.sh index 28670f603..c6e1d312e 100644 --- a/ct/tautulli.sh +++ b/ct/tautulli.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -31,7 +31,7 @@ function update_script() { $STD apt update $STD apt upgrade -y msg_ok "Updated Tautulli" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/tdarr.sh b/ct/tdarr.sh index aee753023..553257508 100644 --- a/ct/tdarr.sh +++ b/ct/tdarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -42,7 +42,7 @@ function update_script() { msg_info "Cleaning up" rm -rf /opt/tdarr/Tdarr_Updater.zip msg_ok "Cleaned up" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/teamspeak-server.sh b/ct/teamspeak-server.sh index 16238d85a..c81eacebc 100644 --- a/ct/teamspeak-server.sh +++ b/ct/teamspeak-server.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: tremor021 (Slaviša Arežina) @@ -45,7 +45,7 @@ function update_script() { msg_info "Starting Service" systemctl start teamspeak-server msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" else msg_ok "Already up to date" fi diff --git a/ct/technitiumdns.sh b/ct/technitiumdns.sh index 9ed624665..37cd88963 100644 --- a/ct/technitiumdns.sh +++ b/ct/technitiumdns.sh @@ -38,6 +38,7 @@ function update_script() { msg_info "Cleaning up" rm -f /opt/DnsServerPortable.tar.gz msg_ok "Cleaned up" + msg_ok "Updated successfully!" else msg_ok "No update required. Technitium DNS is already at v${RELEASE}." fi diff --git a/ct/teddycloud.sh b/ct/teddycloud.sh index 140ef7840..5dcc416ff 100644 --- a/ct/teddycloud.sh +++ b/ct/teddycloud.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Dominik Siebel (dsiebel) @@ -50,7 +50,7 @@ function update_script() { msg_info "Cleaning up" rm -rf /opt/teddycloud_bak msg_ok "Cleaned up" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/telegraf.sh b/ct/telegraf.sh index 796f03ef5..1a82999db 100644 --- a/ct/telegraf.sh +++ b/ct/telegraf.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: CrazyWolf13 @@ -40,7 +40,7 @@ function update_script() { msg_info "Starting Service" systemctl start telegraf msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/the-lounge.sh b/ct/the-lounge.sh index d9e237b4f..4cd8dfb62 100644 --- a/ct/the-lounge.sh +++ b/ct/the-lounge.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: kristocopani @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start thelounge msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/threadfin.sh b/ct/threadfin.sh index 4f8f8fbb1..ece9c8096 100644 --- a/ct/threadfin.sh +++ b/ct/threadfin.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start threadfin msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/tianji.sh b/ct/tianji.sh index 485ba3a24..066688fb7 100644 --- a/ct/tianji.sh +++ b/ct/tianji.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -71,7 +71,7 @@ function update_script() { rm -rf /opt/tianji/website rm -rf /opt/tianji/reporter msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/traccar.sh b/ct/traccar.sh index 970f0e0b2..c97d4d568 100644 --- a/ct/traccar.sh +++ b/ct/traccar.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -62,7 +62,7 @@ function update_script() { $STD apt -y autoclean $STD apt -y clean msg_ok "Cleaned up" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/tracktor.sh b/ct/tracktor.sh index 234a5febc..b71648689 100644 --- a/ct/tracktor.sh +++ b/ct/tracktor.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: CrazyWolf13 @@ -35,16 +35,16 @@ function update_script() { msg_info "Correcting Services" if [ -f /opt/tracktor/app/backend/.env ]; then - mv /opt/tracktor/app/backend/.env /opt/tracktor.env - echo 'AUTH_PIN=123456' >> /opt/tracktor.env - sed -i 's|^EnvironmentFile=.*|EnvironmentFile=/opt/tracktor.env|' /etc/systemd/system/tracktor.service - systemctl daemon-reload + mv /opt/tracktor/app/backend/.env /opt/tracktor.env + echo 'AUTH_PIN=123456' >>/opt/tracktor.env + sed -i 's|^EnvironmentFile=.*|EnvironmentFile=/opt/tracktor.env|' /etc/systemd/system/tracktor.service + systemctl daemon-reload fi if [ ! -d "/opt/tracktor-data/uploads" ]; then - mkdir -p /opt/tracktor-data/{uploads,logs} - EXISTING_AUTH_PIN=$(grep '^AUTH_PIN=' /opt/tracktor.env 2>/dev/null | cut -d'=' -f2) - AUTH_PIN=${EXISTING_AUTH_PIN:-123456} - cat </opt/tracktor.env + mkdir -p /opt/tracktor-data/{uploads,logs} + EXISTING_AUTH_PIN=$(grep '^AUTH_PIN=' /opt/tracktor.env 2>/dev/null | cut -d'=' -f2) + AUTH_PIN=${EXISTING_AUTH_PIN:-123456} + cat </opt/tracktor.env NODE_ENV=production DB_PATH=/opt/tracktor-data/tracktor.db UPLOADS_DIR="/opt/tracktor-data/uploads" @@ -77,7 +77,7 @@ EOF msg_info "Starting Service" systemctl start tracktor msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/traefik.sh b/ct/traefik.sh index ac82301a1..373f3089c 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Service" systemctl start traefik msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/transmission.sh b/ct/transmission.sh index 869b25a75..135dacbaf 100644 --- a/ct/transmission.sh +++ b/ct/transmission.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated Transmission" + msg_ok "Updated successfully!" exit } diff --git a/ct/trilium.sh b/ct/trilium.sh index af47b82db..d2557a7bd 100644 --- a/ct/trilium.sh +++ b/ct/trilium.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -36,7 +36,7 @@ function update_script() { DB_RESTORE_PATH="/opt/trilium/assets/db" else msg_error "Database not found in either /opt/trilium/db or /opt/trilium/assets/db" - exit 1 + exit fi msg_info "Stopping Service" @@ -68,7 +68,7 @@ function update_script() { systemctl start trilium sleep 1 msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/tududi.sh b/ct/tududi.sh index 8ddcd68b3..ae617283d 100644 --- a/ct/tududi.sh +++ b/ct/tududi.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -62,7 +62,7 @@ function update_script() { msg_info "Starting Service" systemctl start tududi msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/tunarr.sh b/ct/tunarr.sh index 04ded915e..9bdfe2147 100644 --- a/ct/tunarr.sh +++ b/ct/tunarr.sh @@ -44,7 +44,7 @@ function update_script() { msg_info "Starting Service" systemctl start tunarr msg_ok "Started Service" - msg_ok "Update Successfully" + msg_ok "Updated successfully!" fi if check_for_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg"; then @@ -64,7 +64,7 @@ function update_script() { msg_info "Starting Service" systemctl start tunarr msg_ok "Started Service" - msg_ok "Update Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/twingate-connector.sh b/ct/twingate-connector.sh index 42fe1a6f7..00222bfdc 100644 --- a/ct/twingate-connector.sh +++ b/ct/twingate-connector.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: twingate-andrewb @@ -33,7 +33,7 @@ function update_script() { $STD apt update $STD apt install -yq twingate-connector $STD systemctl restart twingate-connector - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/typesense.sh b/ct/typesense.sh index 6cd88d220..f89406a54 100644 --- a/ct/typesense.sh +++ b/ct/typesense.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: tlissak | Co-Author MickLesk @@ -31,7 +31,7 @@ function update_script() { msg_info "Updating Typesense" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/ubuntu.sh b/ct/ubuntu.sh index 8c56166de..57c101a53 100644 --- a/ct/ubuntu.sh +++ b/ct/ubuntu.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt-get update $STD apt-get -y upgrade msg_ok "Updated ${APP} LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/uhf.sh b/ct/uhf.sh index 2528320e5..6f7a05ff9 100644 --- a/ct/uhf.sh +++ b/ct/uhf.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: zackwithak13 @@ -49,7 +49,7 @@ function update_script() { $STD apt -y autoclean $STD apt -y clean msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/umami.sh b/ct/umami.sh index 32fc01159..c236d6bb4 100644 --- a/ct/umami.sh +++ b/ct/umami.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -44,7 +44,7 @@ function update_script() { msg_info "Starting Service" systemctl start umami msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/umlautadaptarr.sh b/ct/umlautadaptarr.sh index 41b0908c1..f2b424ce6 100644 --- a/ct/umlautadaptarr.sh +++ b/ct/umlautadaptarr.sh @@ -42,7 +42,7 @@ function update_script() { msg_info "Starting Service" systemctl start umlautadaptarr msg_ok "Started Service" - msg_ok "$APP has been updated to ${RELEASE}." + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/unbound.sh b/ct/unbound.sh index b38c74427..cf7294af0 100644 --- a/ct/unbound.sh +++ b/ct/unbound.sh @@ -31,6 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated Unbound" + msg_ok "Updated successfully!" exit } diff --git a/ct/unifi.sh b/ct/unifi.sh index 1cc948e49..e68b5fadb 100644 --- a/ct/unifi.sh +++ b/ct/unifi.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP}" $STD apt update --allow-releaseinfo-change $STD apt install -y unifi - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/unmanic.sh b/ct/unmanic.sh index 3b453db58..3836c4f3b 100644 --- a/ct/unmanic.sh +++ b/ct/unmanic.sh @@ -31,6 +31,7 @@ function update_script() { $STD pip3 install -U unmanic $STD apt -y upgrade msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/upsnap.sh b/ct/upsnap.sh index b64db903b..48d89b30c 100644 --- a/ct/upsnap.sh +++ b/ct/upsnap.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting Services" systemctl start upsnap msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/uptimekuma.sh b/ct/uptimekuma.sh index fa5fd0754..dc15a1518 100644 --- a/ct/uptimekuma.sh +++ b/ct/uptimekuma.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -46,7 +46,7 @@ function update_script() { msg_info "Starting Service" systemctl start uptime-kuma msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/urbackupserver.sh b/ct/urbackupserver.sh index 0ffe716c3..94d642a6f 100644 --- a/ct/urbackupserver.sh +++ b/ct/urbackupserver.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Kristian Skov @@ -30,7 +30,7 @@ function update_script() { msg_info "Updating ${APP} LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/vaultwarden.sh b/ct/vaultwarden.sh index 11a9b6ccf..46a9fccd6 100644 --- a/ct/vaultwarden.sh +++ b/ct/vaultwarden.sh @@ -66,8 +66,7 @@ function update_script() { msg_info "Starting Service" systemctl start vaultwarden msg_ok "Started Service" - - msg_ok "$VAULT Update Successful" + msg_ok "Updated successfully!" exit fi if [ "$UPD" == "2" ]; then @@ -87,7 +86,7 @@ function update_script() { msg_info "Starting Service" systemctl start vaultwarden msg_ok "Started Service" - msg_ok "$WVRELEASE Update Successful" + msg_ok "Updated successfully!" exit fi if [ "$UPD" == "3" ]; then diff --git a/ct/verdaccio.sh b/ct/verdaccio.sh index facce9991..d1497d551 100644 --- a/ct/verdaccio.sh +++ b/ct/verdaccio.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: BrynnJKnight @@ -35,7 +35,7 @@ function update_script() { NODE_VERSION="22" NODE_MODULE="verdaccio" setup_nodejs systemctl restart verdaccio - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" exit } diff --git a/ct/victoriametrics.sh b/ct/victoriametrics.sh index af7de16ef..130ab7736 100644 --- a/ct/victoriametrics.sh +++ b/ct/victoriametrics.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -54,7 +54,7 @@ function update_script() { systemctl start victoriametrics [[ -f /etc/systemd/system/victoriametrics-logs.service ]] && systemctl start victoriametrics-logs msg_ok "Started Service" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/vikunja.sh b/ct/vikunja.sh index 88611356e..b481a8af8 100644 --- a/ct/vikunja.sh +++ b/ct/vikunja.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (Canbiz) @@ -49,7 +49,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/vikunja-"$RELEASE"-amd64.deb msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at ${RELEASE}" fi diff --git a/ct/wallos.sh b/ct/wallos.sh index 004236852..0df1152ac 100644 --- a/ct/wallos.sh +++ b/ct/wallos.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -53,7 +53,7 @@ function update_script() { msg_info "Reload Apache2" systemctl reload apache2 msg_ok "Apache2 Reloaded" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/warracker.sh b/ct/warracker.sh index ccc3261ea..edc7f3621 100644 --- a/ct/warracker.sh +++ b/ct/warracker.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: BvdBerg01 @@ -48,7 +48,7 @@ function update_script() { systemctl start warracker systemctl start nginx msg_ok "Started Services" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/wastebin.sh b/ct/wastebin.sh index 19f0808b7..565638e54 100644 --- a/ct/wastebin.sh +++ b/ct/wastebin.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -83,7 +83,7 @@ EOF msg_info "Cleaning Up" rm -f "$temp_file" msg_ok "Cleanup Completed" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/watcharr.sh b/ct/watcharr.sh index aacd3015c..7190f2d3f 100644 --- a/ct/watcharr.sh +++ b/ct/watcharr.sh @@ -51,7 +51,7 @@ function update_script() { msg_info "Starting Service" systemctl start watcharr msg_ok "Started Service" - msg_ok "Update Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/watchyourlan.sh b/ct/watchyourlan.sh index b374d26e4..3f5357e3d 100644 --- a/ct/watchyourlan.sh +++ b/ct/watchyourlan.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -45,7 +45,7 @@ function update_script() { msg_info "Starting service" systemctl enable -q --now watchyourlan msg_ok "Service started" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/wavelog.sh b/ct/wavelog.sh index 4516739c6..b13394e91 100644 --- a/ct/wavelog.sh +++ b/ct/wavelog.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Don Locke (DonLocke) @@ -62,7 +62,7 @@ function update_script() { msg_info "Starting Services" systemctl start apache2 msg_ok "Started Services" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/wazuh.sh b/ct/wazuh.sh index c67b1e8e3..d9cd1e4a2 100644 --- a/ct/wazuh.sh +++ b/ct/wazuh.sh @@ -20,18 +20,19 @@ color catch_errors function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -f /lib/systemd/system/wazuh-manager.service ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - msg_info "Updating ${APP} LXC" - $STD apt-get update - $STD apt-get -y upgrade - msg_ok "Updated ${APP} LXC" - exit + header_info + check_container_storage + check_container_resources + if [[ ! -f /lib/systemd/system/wazuh-manager.service ]]; then + msg_error "No ${APP} Installation Found!" + exit + fi + msg_info "Updating ${APP} LXC" + $STD apt-get update + $STD apt-get -y upgrade + msg_ok "Updated ${APP} LXC" + msg_ok "Updated successfully!" + exit } start diff --git a/ct/wger.sh b/ct/wger.sh index 5379300e2..4a7b9f82d 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: Slaviša Arežina (tremor021) @@ -55,7 +55,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf "$temp_file" msg_ok "Cleanup Completed" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" else msg_ok "No update required. ${APP} is already at v${RELEASE}" fi diff --git a/ct/whisparr.sh b/ct/whisparr.sh index 820a5ca21..5d28f9274 100644 --- a/ct/whisparr.sh +++ b/ct/whisparr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -31,7 +31,7 @@ function update_script() { $STD apt update $STD apt -y upgrade msg_ok "Updated Whisparr" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/wikijs.sh b/ct/wikijs.sh index 299b726ed..8b15d4f77 100644 --- a/ct/wikijs.sh +++ b/ct/wikijs.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -63,7 +63,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf /opt/wikijs-backup msg_ok "Cleanup Completed" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/wireguard.sh b/ct/wireguard.sh index 045f23fa6..aa23a64cb 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -42,7 +42,7 @@ function update_script() { ./wgd.sh update ./wgd.sh start fi - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/wizarr.sh b/ct/wizarr.sh index 09b4f69cd..14138f59b 100644 --- a/ct/wizarr.sh +++ b/ct/wizarr.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: vhsdream @@ -65,7 +65,7 @@ function update_script() { msg_info "Cleaning Up" rm -rf "$BACKUP_FILE" msg_ok "Cleanup Completed" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/yt-dlp-webui.sh b/ct/yt-dlp-webui.sh index 2901995c8..a0efd5463 100644 --- a/ct/yt-dlp-webui.sh +++ b/ct/yt-dlp-webui.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: CrazyWolf13 @@ -43,7 +43,7 @@ function update_script() { msg_info "Starting Service" systemctl start yt-dlp-webui msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/yunohost.sh b/ct/yunohost.sh index ae62a6ea7..c9b785b9e 100644 --- a/ct/yunohost.sh +++ b/ct/yunohost.sh @@ -37,6 +37,7 @@ function update_script() { $STD yunohost tools upgrade system $STD yunohost tools upgrade apps msg_ok "Updated $APP LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/zabbix.sh b/ct/zabbix.sh index 43ce54de2..f3e4b940d 100644 --- a/ct/zabbix.sh +++ b/ct/zabbix.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -32,7 +32,7 @@ function update_script() { . /etc/os-release if [ "$VERSION_CODENAME" != "trixie" ]; then msg_error "Unsupported Debian version: $VERSION_CODENAME – please upgrade to Debian 13 (Trixie) before updating Zabbix." - exit 1 + exit fi if systemctl list-unit-files | grep -q zabbix-agent2.service; then @@ -103,7 +103,7 @@ function update_script() { $STD apt -y autoclean $STD apt -y clean msg_ok "Cleaned" - msg_ok "Updated Successfully!" + msg_ok "Updated successfully!" exit } diff --git a/ct/zammad.sh b/ct/zammad.sh index bf9f2fe5f..2c582cce9 100644 --- a/ct/zammad.sh +++ b/ct/zammad.sh @@ -42,6 +42,7 @@ function update_script() { msg_info "Starting Service" systemctl start zammad msg_ok "Updated ${APP} LXC" + msg_ok "Updated successfully!" exit } diff --git a/ct/zerotier-one.sh b/ct/zerotier-one.sh index 10d9e41ef..fb9d3a14b 100644 --- a/ct/zerotier-one.sh +++ b/ct/zerotier-one.sh @@ -41,6 +41,7 @@ function update_script() { msg_info "Starting Service" systemctl start zerotier-one msg_ok "Started Service" + msg_ok "Updated successfully!" exit } diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index dbd5dc566..3356e0ad2 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -59,7 +59,7 @@ function update_script() { msg_info "Cleaning up" rm -rf /opt/z2m_backup msg_ok "Cleaned up" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/zipline.sh b/ct/zipline.sh index 64a449b42..f49823c36 100644 --- a/ct/zipline.sh +++ b/ct/zipline.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: MickLesk (Canbiz) @@ -52,7 +52,7 @@ function update_script() { msg_info "Starting Service" systemctl start zipline msg_ok "Started Service" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/zitadel.sh b/ct/zitadel.sh index 039cbf67d..d3fc16265 100644 --- a/ct/zitadel.sh +++ b/ct/zitadel.sh @@ -43,7 +43,7 @@ function update_script() { msg_info "Starting Service" systemctl start zitadel msg_ok "Started Service" - msg_ok "Update Successful" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/zoraxy.sh b/ct/zoraxy.sh index 8d9e37e55..141152e4c 100644 --- a/ct/zoraxy.sh +++ b/ct/zoraxy.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -38,7 +38,7 @@ function update_script() { msg_info "Starting service" systemctl start zoraxy msg_ok "Service started" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/zot-registry.sh b/ct/zot-registry.sh index 2918dce7f..5ff65a8ab 100644 --- a/ct/zot-registry.sh +++ b/ct/zot-registry.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: MickLesk (CanbiZ) @@ -43,7 +43,7 @@ function update_script() { msg_info "Starting service" systemctl start zot msg_ok "Service started" - msg_ok "Updated successfully" + msg_ok "Updated successfully!" fi exit } diff --git a/ct/zwave-js-ui.sh b/ct/zwave-js-ui.sh index c33aa397e..2132fd6fd 100644 --- a/ct/zwave-js-ui.sh +++ b/ct/zwave-js-ui.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) # Copyright (c) 2021-2025 tteck # Author: tteck (tteckster) @@ -43,7 +43,7 @@ function update_script() { msg_info "Cleanup" rm -rf /opt/zwave-js-ui/store msg_ok "Cleaned" - msg_ok "Updated Successfully" + msg_ok "Updated successfully!" fi exit }