From 4710550d8d062be19392898f15fe9deb73723d32 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 13 Jan 2026 13:57:15 +0100 Subject: [PATCH] local_ip --- ct/ampache.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ct/ampache.sh b/ct/ampache.sh index 5bc082f0f..ef6bb7903 100644 --- a/ct/ampache.sh +++ b/ct/ampache.sh @@ -23,11 +23,13 @@ function update_script() { header_info check_container_storage check_container_resources + if [[ ! -d /opt/ampache ]]; then msg_error "No ${APP} Installation Found!" exit fi if check_for_gh_release "Ampache" "ampache/ampache"; then + import_local_ip msg_info "Stopping Apache" systemctl stop apache2 msg_ok "Stopped Apache" @@ -61,7 +63,7 @@ function update_script() { systemctl start apache2 msg_ok "Started Apache" msg_ok "Updated successfully!" - msg_custom "⚠️" "${YW}" "Complete database update by visiting: http://${IP}/update.php" + msg_custom "⚠️" "${YW}" "Complete database update by visiting: http://${LOCAL_IP}/update.php" fi exit }