From 40f14cbfe1de54f3a83412b543886d3484cd7d7f Mon Sep 17 00:00:00 2001 From: datadunia Date: Tue, 26 May 2026 02:42:14 +0700 Subject: [PATCH] fix(ops): add backfill step to update.sh for one-command fix --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.sh b/update.sh index 64a6075..a0e0739 100755 --- a/update.sh +++ b/update.sh @@ -37,6 +37,10 @@ docker compose up -d echo "[+] Running automated database migrations..." docker exec nexus-guard-suite-server-core-1 ./server-core -migrate-prod || echo "[!] Migration skipped or failed. It might not be needed." +# 5b. Backfill interface addresses for existing nodes (idempotent) +echo "[+] Backfilling interface addresses for existing nodes..." +docker exec nexus-guard-suite-server-core-1 ./server-core -backfill-interface 2>/dev/null || echo "[!] Backfill skipped or not needed." + # 6. Cleanup echo "[+] Cleaning up unused dangling images to free up space..." docker image prune -f