This commit is contained in:
eric
2026-03-29 04:10:44 -05:00
parent 63443ea854
commit e20c1a0b0b
5 changed files with 37 additions and 0 deletions

View File

@@ -64,3 +64,15 @@ echo "2) Try: http://${LAN_IP}:${PORT}/ (direct control plane, bypasses :80 a
echo "3) live.local needs mDNS (Android often OK; Windows may need Bonjour or use IP)."
echo "4) If OK on IP but not live.local: Avahi on this host — systemctl status avahi-daemon"
echo ""
if ! systemctl is-active live-console.service >/dev/null 2>&1; then
echo "=== Fix live-console (your case: edge OK, :${PORT} down) ==="
echo "sudo systemctl reset-failed live-console.service 2>/dev/null || true"
echo "sudo systemctl enable --now live-console.service"
echo "sleep 3 && curl -sf http://127.0.0.1:${PORT}/health && echo OK || echo still failing — logs:"
echo "sudo journalctl -u live-console.service -n 80 --no-pager"
echo ""
echo "After git pull / code update, prefer: sudo bash upgrade-live.sh"
echo "Only systemd unit changed? sudo bash refresh-live-unit.sh"
echo ""
fi