diff --git a/install.sh b/install.sh index f4f664c..c6eb816 100755 --- a/install.sh +++ b/install.sh @@ -1482,6 +1482,10 @@ if $UPDATE_ONLY; then ok "Gateway-Neustart übersprungen (--no-restart)" else log "Starte Gateway neu..." + # Zeitstempel VOR dem Neustart setzen, damit journalctl --since + # die Initialisierungs-Logs (PresenceEngine, Archivar, Connected) + # erfasst, die in den ersten 6-10s nach Gateway-Start erscheinen. + _verify_since="$(date '+%Y-%m-%d %H:%M:%S')" restart_gateway 2>/dev/null || true # Warte bis active (max 30s) @@ -1513,8 +1517,6 @@ if $UPDATE_ONLY; then ok "Gateway-Prozess ist active — starte Log-Verifikation" if command -v journalctl >/dev/null 2>&1; then - # Präziser Zeitstempel für journalctl --since (ab Gateway-Start) - _verify_since="$(date '+%Y-%m-%d %H:%M:%S')" # Warte 20s: Gateway braucht ~6-8s für PresenceEngine, ~10-15s für # Archivar/Connected (besonders nach Plugin-Updates mit FAISS-Rebuild) sleep 20