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
{{ message }}
Repository navigation
Commit dbd794c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/reference/database-schemas.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,7 @@ A newer OpenClaw build wrote your databases, and the running build is older. The
260
260
261
261
Act on the install root, not the version. One release version string spans many `main` commits, schema levels, and same-version schema shapes, so two installs can both call themselves `2026.7.2` and still disagree about a database. A prerelease version may not exist on the `latest` npm tag at all: check `npm view openclaw dist-tags` before reinstalling, because the tag carrying the schema you need may be `beta`, and reinstalling from `latest` can move you further away.
262
262
263
-
A linked source checkout is the case where the commit misleads: `openclaw --version` reports the checkout's git HEAD, but the code actually executing is whatever `dist/` was last built. If the install root is a checkout, rebuild it (`pnpm build`) before concluding the version is wrong.
263
+
When a Gateway runs from a linked source checkout, its status and schema-refusal diagnostics report the commit captured when `dist/` was built, not the checkout's current Git HEAD. If that build identity is unknown, rebuild the checkout (`pnpm build`) before concluding the version is wrong.
264
264
265
265
Open the database with a build that supports its schema, or point the older build at a separate `OPENCLAW_STATE_DIR`. Do not edit the database to silence the error.
returnroot ? `${identity} installed at ${root}` : identity;
40
36
}
@@ -48,7 +44,7 @@ export function createNewerSqliteSchemaVersionError(
48
44
returnnewSqliteSchemaVersionError(
49
45
`${databaseLabel}${pathname} uses newer schema version ${schemaVersion}; this build supports ${supportedVersion}. `+
50
46
`Refused by ${describeRunningOpenClawBuild()}. `+
51
-
"Identify installs by that path: one version string spans many builds, and a linked source checkout reports its git HEAD even when its built output is older. "+
47
+
"Identify installs by that path when multiple installs share a version or build. "+
52
48
`Run a build that supports schema ${schemaVersion} or newer against this state directory — rebuild or update the install above — or point this build at a different OPENCLAW_STATE_DIR. `+
0 commit comments