Repository navigation
Closed
Labels
P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.Emergency: data loss, security bypass, crash loop, or unusable core runtime.bugSomething isn't workingSomething isn't workingclawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.ClawSweeper needs more reporter information before it can verify this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.A 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.Thin issue quality; more reproduction proof or environment detail is needed.
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
sqlite 3.51.3 is not available on ubuntu today, 3.46.1-9 is the lastest version in LTS and normal. making update impossible.
Steps to reproduce
- update to 2026.7.1 on ubuntu
- gateway silently fails to start
Expected behavior
- OC should not require a sqlite version greater than commonly available.
- update script should check for failing dependencies
- gateway should be clear on startup WHY it's failing to start
Actual behavior
- update proceeds without warning
- gateway emits no reasonable error on startup,
- doctor doesn't output anything useful
OpenClaw version
2026.7.1
Operating system
Ubuntu 26.04
Install method
npm global
Model
codex
Provider / routing chain
local network
Additional provider/model setup details
No response
Logs
Screenshots, recordings, and evidence
No response
Impact and severity
No response
Additional information
No response
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P0Emergency: data loss, security bypass, crash loop, or unusable core runtime.Emergency: data loss, security bypass, crash loop, or unusable core runtime.bugSomething isn't workingSomething isn't workingclawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.ClawSweeper needs more reporter information before it can verify this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:ux-release-blockerA non-technical user is blocked without terminal, logs, config, or support.A 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.Thin issue quality; more reproduction proof or environment detail is needed.
Type
Fields
Priority
None yet
Activity
Nattle commentedon Jul 14, 2026
I was able to install sqlite3 manually with:
Nattle commentedon Jul 14, 2026
according to cli codex, this was the issue:
Root cause was the legacy installs.json containing older Brave/Codex 2026.5.27 records while SQLite contained 2026.7.1. I quarantined that stale index and refreshed the registry.clawsweeper commentedon Jul 14, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed July 14, 2026, 8:50 PM ET / July 15, 2026, 00:50 UTC.
Summary
Keep this issue open for targeted evidence collection. The original Ubuntu SQLite-package diagnosis is contradicted by the reporter’s later plugin-registry diagnosis, but the reported post-update gateway startup blocker remains unresolved and current main is not proven to repair that state automatically.
Reproducibility: no. The report gives a high-level update-and-start sequence, but no fatal log, doctor output, conflicting record sample, or controlled confirmation distinguishes the SQLite-package theory from the later plugin-metadata theory.
Ways to help us reproduce this
Next step
Do not queue an implementation until a redacted startup failure bundle and the conflicting plugin records identify the fatal code path; likely related people are shakkernerd (high confidence), Vincent Haupert (medium), and steipete (medium).
Review details
Best possible solution:
Reproduce the conflicting file/SQLite plugin-record state on v2026.7.1 or current main, then make startup report the exact conflict and provide an idempotent in-product repair—preferably automatic reconciliation or a clearly offered Doctor/Fix action—without requiring package downloads or manual state-file edits.
Do we have a high-confidence way to reproduce the issue?
No. The report gives a high-level update-and-start sequence, but no fatal log, doctor output, conflicting record sample, or controlled confirmation distinguishes the SQLite-package theory from the later plugin-metadata theory.
Is this the best way to solve the issue?
Unclear. Better dependency messages would help generally, but the narrow maintainable fix depends on proving whether startup should reconcile conflicting plugin records, direct Doctor to repair them, or merely expose a hidden fatal error.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 525db34f80f4.
Label changes
Label changes:
maturity:stable: Current issue review selected no maturity labels.Label justifications:
P0: A supported npm update reportedly left the gateway unable to start, and recovery required manual system-package or internal-state intervention.impact:crash-loop: The reported failure prevents the gateway process from reaching a usable running state after upgrade.impact:ux-release-blocker: The user had no actionable startup or doctor guidance and resorted to package installation and manual plugin-index quarantine.Evidence reviewed
What I checked:
installs.jsonrecords conflicted with newer SQLite-backed records and that quarantining the stale index restored operation.docs/help/environment.md. (docs/help/environment.md, 525db34f80f4)docs/plugins/plugin-management.md. (docs/plugins/plugin-management.md, 525db34f80f4)2d2ddc43d0dcf71f31283d780f9fe9ff4cc04fe4; available release notes include Linux gateway smoke coverage but no identified fix for the reporter's conflicting plugin-record state. (CHANGELOG.md, 2d2ddc43d0dc)Likely related people:
src/plugins/install-index.ts,src/plugins/discovery.ts,src/plugins/loader.ts)src/plugins/install-index.ts,src/commands/doctor.ts)src/plugins/install-index.ts,src/plugins/loader.ts)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 autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Nattle commentedon Jul 15, 2026
Root cause summary
An OpenClaw update left plugin installation metadata inconsistent between two state stores:
The legacy index contained older Brave and Codex records (2026.5.27), while SQLite contained updated records (2026.7.1). It also retained an Honcho record that was no longer needed.
During startup, OpenClaw detected conflicting metadata for brave, codex, and openclaw- honcho. Its migration logic preserved the legacy index rather than resolving or removing it, then treated the incomplete migration as fatal:
Neither openclaw doctor --fix nor openclaw plugins registry --refresh resolved the conflicting legacy file.
The issue was fixed by backing up and quarantining the stale installs.json, refreshing the registry from SQLite/current installations, leaving Honcho uninstalled, and re-enabling Brave. Afterward, plugin diagnostics reported no issues and the gateway started normally on OpenClaw 2026.7.1.
steipete commentedon Jul 27, 2026
Thank you for posting the actual diagnosed root cause. The failure was conflicting legacy plugins/installs.json versus canonical state/openclaw.sqlite, rather than Ubuntu's system SQLite version. This exact upgrade blocker is fixed on main by #107961 (ef110e9): doctor and startup preserve authoritative SQLite records, merge genuinely missing legacy entries, archive conflicting retired metadata, and converge cleanly on reruns. The merged proof includes the exact conflicting-install regression, 141 passing migration tests, a packaged gateway upgrade, repeated successful doctor runs, and a healthy gateway readiness probe. Closing as completed; thank you for documenting the real cause.