ci: add diagnostics for nginx, ports, and services
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 43s
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 43s
This commit is contained in:
parent
172325154e
commit
402738ff4a
1 changed files with 10 additions and 0 deletions
|
|
@ -59,6 +59,16 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "=== Diagnostic: Active Listening Ports ==="
|
||||||
|
sudo ss -tulpn | grep -E "3000|3001|3002|node" || true
|
||||||
|
echo "=== Diagnostic: Nginx Configuration for status.tradhox.com ==="
|
||||||
|
sudo grep -rn "status.tradhox.com" /etc/nginx/ -A 20 || true
|
||||||
|
echo "=== Diagnostic: Systemd Services Status ==="
|
||||||
|
sudo systemctl is-active resourcemanagement.service || true
|
||||||
|
sudo systemctl is-active uptime-kuma.service || true
|
||||||
|
echo "=== Diagnostic: PM2 status ==="
|
||||||
|
pm2 list || which pm2 || true
|
||||||
|
|
||||||
# ── 5. Reload Nginx ─────────────────────────────────────────
|
# ── 5. Reload Nginx ─────────────────────────────────────────
|
||||||
sudo nginx -t && sudo systemctl reload nginx
|
sudo nginx -t && sudo systemctl reload nginx
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue