fix(ops): add backfill step to update.sh for one-command fix
NexusGuard CI / server-core-test (push) Failing after 34s
NexusGuard CI / device-agent-test (push) Failing after 35s
NexusGuard CI / dashboard-ui-build (push) Failing after 24s

This commit is contained in:
datadunia
2026-05-26 02:42:14 +07:00
parent 695b7dd875
commit 40f14cbfe1
+4
View File
@@ -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