fix(ops): add backfill step to update.sh for one-command fix
This commit is contained in:
@@ -37,6 +37,10 @@ docker compose up -d
|
|||||||
echo "[+] Running automated database migrations..."
|
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."
|
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
|
# 6. Cleanup
|
||||||
echo "[+] Cleaning up unused dangling images to free up space..."
|
echo "[+] Cleaning up unused dangling images to free up space..."
|
||||||
docker image prune -f
|
docker image prune -f
|
||||||
|
|||||||
Reference in New Issue
Block a user