From 237c93c87ed596d2c47397ff0783d51d6688f139 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Wed, 24 Jun 2026 21:52:03 +0200 Subject: [PATCH] Use explicit LibreNMS name in update messages Replace generic ${APP} placeholders with the explicit name 'LibreNMS' in ct/librenms.sh update script messages to produce clearer logs. Also perform minor whitespace cleanup (remove extra blank lines) around the backup and fetch/deploy steps. --- ct/librenms.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ct/librenms.sh b/ct/librenms.sh index 9dd9f8574..c9ed36493 100644 --- a/ct/librenms.sh +++ b/ct/librenms.sh @@ -34,12 +34,10 @@ function update_script() { msg_ok "Stopped Services" create_backup /opt/librenms/.env /opt/librenms/config.php /opt/librenms/rrd - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "librenms" "librenms/librenms" "tarball" - restore_backup - msg_info "Updating ${APP}" + msg_info "Updating LibreNMS" mkdir -p /opt/librenms/{rrd,logs,bootstrap/cache,storage} chown -R librenms:librenms /opt/librenms chmod 771 /opt/librenms @@ -48,7 +46,7 @@ function update_script() { $STD su - librenms -s /bin/bash -c "cd /opt/librenms && COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev" $STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan optimize:clear" $STD su - librenms -s /bin/bash -c "cd /opt/librenms && php8.4 artisan migrate --force --isolated" - msg_ok "Updated ${APP}" + msg_ok "Updated LibreNMS" msg_info "Starting Services" systemctl start php8.4-fpm librenms-scheduler.timer