Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
I am running openclaw in a container in Azure Container Apps. I deployed a container with 2026.6.1. After doing some configuration and restarting the container I am seeing this error in the web UI:
GatewayRequestError: Error: file is not a database: code=ERR_SQLITE_ERROR
The openclaw logs show several other ERR_SQLITE_ERROR messages. (below)
I redeployed the container and it resolved the issue. After another restart I observed the error one more time.
I reverted my container image back to 2026.5.27 and the container is working just fine now.
Steps to reproduce
- Deploy container image version 2026.6.1.
- Restart the container.
- Gateway report SQLITE errors.
Expected behavior
Container should continue to work after restart.
Actual behavior
Gateway display SQLITE error. Openclaw CLI refuses to work with similar SQLITE error related to plugin state database.
OpenClaw version
2026.6.1
Operating system
Docker image Debian version
Install method
docker
Model
claude-sonnet-4-6
Provider / routing chain
openclaw -> prompt security gateway -> Anthropic
Additional provider/model setup details
No response
Logs, screenshots, and evidence
2026-06-05T00:29:05.26957 Connecting to the container 'openclaw'...
2026-06-05T00:29:05.29967 Successfully Connected to container: 'openclaw' [Revision: 'heimdall-app--0000004', Replica: 'heimdall-app--0000004-7769bd8576-jjkm2']
2026-06-05T00:24:36.7380730Z stdout F 2026-06-05T00:24:36.737+00:00 [ws] ⇄ res ✓ agent.identity.get 226ms conn=880de20a…f4dc id=262e2b05…203d
2026-06-05T00:24:36.7416932Z stdout F 2026-06-05T00:24:36.740+00:00 [ws] ⇄ res ✓ health 229ms cached=true conn=880de20a…f4dc id=9d433464…e9db
2026-06-05T00:24:37.1952035Z stderr F 2026-06-05T00:24:37.194+00:00 [gateway] request handler failed: Error: file is not a database: code=ERR_SQLITE_ERROR
2026-06-05T00:24:37.1966523Z stdout F 2026-06-05T00:24:37.196+00:00 [ws] ⇄ res ✗ chat.startup 418ms errorCode=UNAVAILABLE errorMessage=Error: file is not a database: code=ERR_SQLITE_ERROR conn=880de20a…f4dc id=b89547ec…8127
2026-06-05T00:24:37.3207625Z stdout F 2026-06-05T00:24:37.320+00:00 [ws] ⇄ res ✓ agents.list 83ms conn=880de20a…f4dc id=cde13576…a687
2026-06-05T00:24:37.5809793Z stdout F 2026-06-05T00:24:37.580+00:00 [ws] ⇄ res ✓ models.authStatus 343ms conn=880de20a…f4dc id=49884b73…2f90
2026-06-05T00:24:47.9522673Z stderr F 2026-06-05T00:24:47.952+00:00 [tasks/task-registry-maintenance] Failed to list ACP sessions during task maintenance
2026-06-05T00:25:47.9417863Z stderr F 2026-06-05T00:25:47.941+00:00 [tasks/task-registry-maintenance] Failed to list ACP sessions during task maintenance
2026-06-05T00:26:41.5404355Z stdout F 2026-06-05T00:26:41.540+00:00 [ws] webchat disconnected code=1001 reason=n/a conn=880de20a-af68-4baa-9eb6-b33547dff4dc
2026-06-05T00:26:41.6584043Z stderr F 2026-06-05T00:26:41.657+00:00 [ws] Proxy headers detected from untrusted address. Connection will not be treated as local. Configure gateway.trustedProxies to restore local client detection behind your proxy.
2026-06-05T00:26:42.1028128Z stdout F 2026-06-05T00:26:42.102+00:00 [ws] webchat connected conn=b601fd8c-773e-4451-89b7-2f1293736415 remote=100.100.1.42 client=openclaw-control-ui webchat vcontrol-ui
2026-06-05T00:26:42.5402657Z stdout F 2026-06-05T00:26:42.539+00:00 [ws] ⇄ res ✓ commands.list 346ms conn=b601fd8c…6415 id=f015042b…77a1
2026-06-05T00:26:43.2201476Z stderr F 2026-06-05T00:26:43.219+00:00 [gateway] request handler failed: Error: file is not a database: code=ERR_SQLITE_ERROR
2026-06-05T00:26:43.2223519Z stdout F 2026-06-05T00:26:43.222+00:00 [ws] ⇄ res ✗ chat.startup 1072ms errorCode=UNAVAILABLE errorMessage=Error: file is not a database: code=ERR_SQLITE_ERROR conn=b601fd8c…6415 id=ac0168b4…c99a
2026-06-05T00:26:43.2601904Z stdout F 2026-06-05T00:26:43.259+00:00 [ws] ⇄ res ✓ models.list 1067ms conn=b601fd8c…6415 id=abbe1113…e57d
2026-06-05T00:26:43.6274661Z stdout F 2026-06-05T00:26:43.627+00:00 [ws] ⇄ res ✓ models.authStatus 157ms conn=b601fd8c…6415 id=be360876…324b
2026-06-05T00:26:43.7298469Z stdout F 2026-06-05T00:26:43.729+00:00 [ws] ⇄ res ✓ agents.list 260ms conn=b601fd8c…6415 id=1fd25f78…fab5
2026-06-05T00:26:47.9466808Z stderr F 2026-06-05T00:26:47.946+00:00 [tasks/task-registry-maintenance] Failed to list ACP sessions during task maintenance
2026-06-05T00:27:47.9495164Z stderr F 2026-06-05T00:27:47.949+00:00 [tasks/task-registry-maintenance] Failed to list ACP sessions during task maintenance
2026-06-05T00:28:47.9534200Z stderr F 2026-06-05T00:28:47.953+00:00 [tasks/task-registry-maintenance] Failed to list ACP sessions during task maintenance
Impact and severity
High impact. Agent is unusable.
Additional information
No response
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
I am running openclaw in a container in Azure Container Apps. I deployed a container with 2026.6.1. After doing some configuration and restarting the container I am seeing this error in the web UI:
GatewayRequestError: Error: file is not a database: code=ERR_SQLITE_ERROR
The openclaw logs show several other ERR_SQLITE_ERROR messages. (below)
I redeployed the container and it resolved the issue. After another restart I observed the error one more time.
I reverted my container image back to 2026.5.27 and the container is working just fine now.
Steps to reproduce
Expected behavior
Container should continue to work after restart.
Actual behavior
Gateway display SQLITE error. Openclaw CLI refuses to work with similar SQLITE error related to plugin state database.
OpenClaw version
2026.6.1
Operating system
Docker image Debian version
Install method
docker
Model
claude-sonnet-4-6
Provider / routing chain
openclaw -> prompt security gateway -> Anthropic
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
High impact. Agent is unusable.
Additional information
No response