's'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user