You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
Summary
Keep open: this official-release update failure remains unclassified, and the merged diagnostic correction explicitly does not establish recovery for this installation.
Reproducibility: no. high-confidence reproduction identifies this installation's failure: the linked stock reproduction establishes a matching report shape, while its actual target and refusal remain unknown; no runtime reproduction was performed in this review.
Next step
Obtain redacted lastRun.origin.nextAction and lastRun.target from openclaw update status --json before another update overwrites history, plus openclaw config validate, to identify the safe recovery path.
Review details
Best possible solution:
Provide visible Doctor or Fix recovery for repairable update failures while preserving protection against incompatible database downgrades.
Do we have a high-confidence way to reproduce the issue?
No high-confidence reproduction identifies this installation's failure: the linked stock reproduction establishes a matching report shape, while its actual target and refusal remain unknown; no runtime reproduction was performed in this review.
Is this the best way to solve the issue?
The shipped diagnostic correction is appropriate, but neither it nor similar reports establish which recovery or source repair this installation needs.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
The missing target and saved refusal prevent distinguishing invalid configuration, an intentional incompatible-schema refusal, and a database inspection failure.
Codex review notes: model internal, reasoning medium; reviewed against e4ac046c6446.
Label changes
Label changes:
No label changes.
Label justifications:
P0: The reported update is blocked without actionable in-product recovery, and identifying a safe next step requires terminal diagnostics or support.
impact:ux-release-blocker: The generated report provides neither the underlying refusal nor a visible recovery action for completing the update.
Evidence reviewed
What I checked:
Unclassified official-release failure: The report identifies 2026.9.4 on Linux and verified safe rollback, but omits the target and underlying refusal; the full discussion contains no reporter response supplying them.
Discussion distinguishes matching symptoms from diagnosis: The follow-up at Update failure: database-schema-preflight (2026.9.4) #149259 (comment) reports a stock invalid-config reproduction and corrects the earlier interpretation of mode unknown; it requests saved target/refusal details and config validation to classify this installation.
Current configuration and schema boundaries: Configuration admission delegates to createUpdateConfigFailure, while schema checks separately report incompatible versions and inspection failures; the phase alone cannot identify this report's cause. (src/cli/update-cli/schema-preflight.ts:128, e28a63d8b99e)
Diagnostic correction release inclusion: GitHub comparison places the diagnostic commit in v2026.9.6 with behind_by zero, and the release endpoint confirms publication; this establishes shipment of diagnostics, not resolution of the unknown refusal. (e6e52c9cc831)
How this review workflow works
ClawSweeper keeps one durable marker-backed review comment per issue or PR.
Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
Maintainers can also comment @clawsweeper review to request a fresh review only.
Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Reviewed October 20, 2026, 10:25 AM ET / 14:25 UTC.
Thanks for the report. database-schema-preflight means the 2026.9.4 updater refused to activate the candidate because its check of the state database's schema did not pass, and it rolled back cleanly ("verified safe to restart"), so your Gateway should still be serving as before. Update mode: unknown means the refusal happened before the updater resolved how OpenClaw is installed, and the bounded report does not say which check tripped, so please add, with hostnames and tokens redacted:
openclaw update status --json; it records the target version and the preflight's refusal reason.
The lines under database-schema-preflight in the newest update log (~/.openclaw/logs/update-*.log, or the update section of openclaw-<date>.log).
openclaw doctor (without --fix) and openclaw gateway status --deep.
Whether this state directory was ever run by a newer build than 2026.9.4 (a nightly, a main checkout, or a downgrade). The preflight refuses when the database is already at a newer schema than the candidate understands; that is the one case where blocking is correct, because the data would be at risk, and the supported path is to run a build at least as new as the one that last wrote the database.
If it is not that case, the refusal reason from step 1 tells us which check to fix. Two improvements for this class are already on main for the next release: the refusal now names the found and supported schema versions and the writer build, and the generated report will carry the reason instead of only the phase.
Follow-up after reproducing this report shape on a stock 2026.9.4 install: an invalid or unreadable openclaw.json (an unknown top-level key, or a core field that fails validation) makes the 2026.9.4 updater refuse with exactly this database-schema-preflight / mode: unknown report before it inspects any database, and the shipped report drops the reason. One correction to my note above: 2026.9.4 records mode: unknown for every early package refusal even after it resolved the target, so that field does not mean install detection failed.
Two commands tell us which case yours is, no log digging needed:
openclaw update status --json — lastRun.origin.nextAction and lastRun.target carry the refusal reason if this run is still the latest.
openclaw config validate — if it reports a problem, fix it (or run openclaw doctor --fix for retired fields) and run openclaw update again; that is the reproduced cause.
If the config validates cleanly and nextAction names a database with a schema newer than the target supports, keep running a build at least as new as the one that last wrote it. The next release names the exact reason in this report (#149571) instead of the database phase.
Closing as stale. The 2026.9.3/9.4 updater dropped the refusal reason from this report, and the two known causes behind it (an invalid openclaw.json reported as a schema refusal, #147771; duplicate Windows database paths, #147762) are fixed since 2026.9.5, where the refusal names the exact field or store. Nothing was changed by this refusal.
Because the first update step runs the installed 9.3/9.4 updater, please move past it with one manual hop: after a verified backup, stop the Gateway with openclaw gateway stop, install with the package manager that owns the install (npm 12 or 11.16+: npm i -g openclaw@latest --allow-scripts=openclaw; npm 11.15 and earlier: drop --allow-scripts=openclaw), run openclaw doctor --fix, refresh the service with openclaw gateway install --force, then run openclaw gateway start and check openclaw gateway status --deep (steps: https://docs.openclaw.ai/install/updating/update-methods#alternative-manual-npm-pnpm-or-bun). If an update from a current release still refuses at database-schema-preflight, please open a new report with the refusal lines from openclaw update status --json.
P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.issue-rating: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.
Activity
clawsweeper commentedon Sep 15, 2026
Codex review: this still needs some work.
Summary
Keep open: this official-release update failure remains unclassified, and the merged diagnostic correction explicitly does not establish recovery for this installation.
Reproducibility: no. high-confidence reproduction identifies this installation's failure: the linked stock reproduction establishes a matching report shape, while its actual target and refusal remain unknown; no runtime reproduction was performed in this review.
Next step
Obtain redacted lastRun.origin.nextAction and lastRun.target from openclaw update status --json before another update overwrites history, plus openclaw config validate, to identify the safe recovery path.
Review details
Best possible solution:
Provide visible Doctor or Fix recovery for repairable update failures while preserving protection against incompatible database downgrades.
Do we have a high-confidence way to reproduce the issue?
No high-confidence reproduction identifies this installation's failure: the linked stock reproduction establishes a matching report shape, while its actual target and refusal remain unknown; no runtime reproduction was performed in this review.
Is this the best way to solve the issue?
The shipped diagnostic correction is appropriate, but neither it nor similar reports establish which recovery or source repair this installation needs.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against e4ac046c6446.
Label changes
Label changes:
No label changes.
Label justifications:
P0: The reported update is blocked without actionable in-product recovery, and identifying a safe next step requires terminal diagnostics or support.impact:ux-release-blocker: The generated report provides neither the underlying refusal nor a visible recovery action for completing the update.Evidence reviewed
What I checked:
src/cli/update-cli/schema-preflight.ts:128, e28a63d8b99e)docs/cli/update.md:142, e28a63d8b99e)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 20, 2026, 10:25 AM ET / 14:25 UTC.
steipete commentedon Sep 15, 2026
Thanks for the report.
database-schema-preflightmeans the 2026.9.4 updater refused to activate the candidate because its check of the state database's schema did not pass, and it rolled back cleanly ("verified safe to restart"), so your Gateway should still be serving as before.Update mode: unknownmeans the refusal happened before the updater resolved how OpenClaw is installed, and the bounded report does not say which check tripped, so please add, with hostnames and tokens redacted:openclaw update status --json; it records the target version and the preflight's refusal reason.database-schema-preflightin the newest update log (~/.openclaw/logs/update-*.log, or the update section ofopenclaw-<date>.log).openclaw doctor(without--fix) andopenclaw gateway status --deep.maincheckout, or a downgrade). The preflight refuses when the database is already at a newer schema than the candidate understands; that is the one case where blocking is correct, because the data would be at risk, and the supported path is to run a build at least as new as the one that last wrote the database.If it is not that case, the refusal reason from step 1 tells us which check to fix. Two improvements for this class are already on
mainfor the next release: the refusal now names the found and supported schema versions and the writer build, and the generated report will carry the reason instead of only the phase.steipete commentedon Sep 16, 2026
Follow-up after reproducing this report shape on a stock 2026.9.4 install: an invalid or unreadable
openclaw.json(an unknown top-level key, or a core field that fails validation) makes the 2026.9.4 updater refuse with exactly thisdatabase-schema-preflight/mode: unknownreport before it inspects any database, and the shipped report drops the reason. One correction to my note above: 2026.9.4 recordsmode: unknownfor every early package refusal even after it resolved the target, so that field does not mean install detection failed.Two commands tell us which case yours is, no log digging needed:
openclaw update status --json—lastRun.origin.nextActionandlastRun.targetcarry the refusal reason if this run is still the latest.openclaw config validate— if it reports a problem, fix it (or runopenclaw doctor --fixfor retired fields) and runopenclaw updateagain; that is the reproduced cause.If the config validates cleanly and
nextActionnames a database with a schema newer than the target supports, keep running a build at least as new as the one that last wrote it. The next release names the exact reason in this report (#149571) instead of the database phase.openclaw-barnacle commentedon Oct 20, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.
steipete commentedon Oct 27, 2026
Closing as stale. The 2026.9.3/9.4 updater dropped the refusal reason from this report, and the two known causes behind it (an invalid
openclaw.jsonreported as a schema refusal, #147771; duplicate Windows database paths, #147762) are fixed since 2026.9.5, where the refusal names the exact field or store. Nothing was changed by this refusal.Because the first update step runs the installed 9.3/9.4 updater, please move past it with one manual hop: after a verified backup, stop the Gateway with
openclaw gateway stop, install with the package manager that owns the install (npm 12 or 11.16+:npm i -g openclaw@latest --allow-scripts=openclaw; npm 11.15 and earlier: drop--allow-scripts=openclaw), runopenclaw doctor --fix, refresh the service withopenclaw gateway install --force, then runopenclaw gateway startand checkopenclaw gateway status --deep(steps: https://docs.openclaw.ai/install/updating/update-methods#alternative-manual-npm-pnpm-or-bun). If an update from a current release still refuses atdatabase-schema-preflight, please open a new report with the refusal lines fromopenclaw update status --json.