-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
openclaw status reports gateway service as failed while systemd user unit is active #79515
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Hi OpenClaw team,
I am seeing a reproducible mismatch between
openclaw statusand the actual systemd user-unit state on a Linux VPS after updating to OpenClaw 2026.5.7.openclaw statusreports the gateway service as stopped/failed, but the gateway is reachable, Discord is OK, andsystemctl --user showreports the unit as active/running with a successful result.This looks related to older systemd status reporting issues such as #40275 and #27267, and possibly the fix in #39325, but it still reproduces for me on 2026.5.7.
Environment
2026.5.7 (eeef486)6.8.0-106-generic22.22.2ws://127.0.0.1:18789Linger=yes)What
openclaw statusreportsSo the status output says the gateway is reachable and Discord is OK, but also says the systemd service is stopped/failed.
What systemd reports
systemctl --user status openclaw-gateway --no-pager -lalso shows the service active and running:No failed units are reported:
Gateway ports are listening:
Other health checks
openclaw statusreports Discord as OK:Expected behavior
If the systemd user unit is active/running and the gateway is reachable,
openclaw statusshould report the gateway service as active/running instead of stopped/failed.Actual behavior
openclaw statusreports:while systemd reports:
Notes
This happened after
openclaw update --yesfrom 2026.5.6 to 2026.5.7. The update completed the core update successfully, but the automatic gateway restart timed out after 60 seconds waiting for health checks. Shortly afterward the gateway was actually running and reachable on 2026.5.7.The service also had a recent unit refresh from
openclaw doctor, followed by:Resetting the failed state did not change the
openclaw statusdisplay:Systemd still reports the unit as active/running and with no failed units, while
openclaw statuscontinues to showstopped (state failed).Thank you for looking into this.