0.0.0-beta-202602130446 doesn't start / "no such table" error #9258

Closed
opened 2026-02-16 18:12:01 -05:00 by yindo · 1 comment
Owner

Originally created by @mtymek on GitHub (Feb 13, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Description

I just upgraded OC to the latest beta version (0.0.0-beta-202602130446). When trying to start it, I'm getting the following error:

{
  "name": "UnknownError",
  "data": {
    "message": "SQLiteError: no such table: control_account\n    at prepare (unknown)\n    at prepare (bun:sqlite:331:37)\n    at prepareQuery (../../node_modules/.bun/drizzle-orm@1.0.0-beta.12-a5629fb+1f516382cd87cd66/node_modules/drizzle-orm/bun-sqlite/session.js:23:40)\n    at _prepare (../../node_modules/.bun/drizzle-orm@1.0.0-beta.12-a5629fb+1f516382cd87cd66/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:558:71)\n    at get (../../node_modules/.bun/drizzle-orm@1.0.0-beta.12-a5629fb+1f516382cd87cd66/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:587:15)\n    at run (node:async_hooks:62:22)\n    at use (src/storage/db.ts:109:28)\n    at token (src/control/index.ts:30:26)\n    at <anonymous> (src/config/config.ts:97:33)\n    at processTicksAndRejections (native:7:39)"
  }
}

Plugins

no plugins

OpenCode version

0.0.0-beta-202602130446

Steps to reproduce

  1. Upgrade OC to the latest version from Beta channel
  2. Attempt starting OC

Screenshot and/or share link

No response

Operating System

macOS 26.02

Terminal

Ghossty

Originally created by @mtymek on GitHub (Feb 13, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Description I just upgraded OC to the latest beta version (0.0.0-beta-202602130446). When trying to start it, I'm getting the following error: ``` { "name": "UnknownError", "data": { "message": "SQLiteError: no such table: control_account\n at prepare (unknown)\n at prepare (bun:sqlite:331:37)\n at prepareQuery (../../node_modules/.bun/drizzle-orm@1.0.0-beta.12-a5629fb+1f516382cd87cd66/node_modules/drizzle-orm/bun-sqlite/session.js:23:40)\n at _prepare (../../node_modules/.bun/drizzle-orm@1.0.0-beta.12-a5629fb+1f516382cd87cd66/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:558:71)\n at get (../../node_modules/.bun/drizzle-orm@1.0.0-beta.12-a5629fb+1f516382cd87cd66/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:587:15)\n at run (node:async_hooks:62:22)\n at use (src/storage/db.ts:109:28)\n at token (src/control/index.ts:30:26)\n at <anonymous> (src/config/config.ts:97:33)\n at processTicksAndRejections (native:7:39)" } } ``` ### Plugins no plugins ### OpenCode version 0.0.0-beta-202602130446 ### Steps to reproduce 1. Upgrade OC to the latest version from Beta channel 2. Attempt starting OC ### Screenshot and/or share link _No response_ ### Operating System macOS 26.02 ### Terminal Ghossty
yindo added the bug label 2026-02-16 18:12:01 -05:00
yindo closed this issue 2026-02-16 18:12:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #13335: Opencode fails to start after autoupdate on Windows
  • #12598: After upgrading to the latest version of OpenCode, it won't respond/open
  • #12889: NotFoundError on startup: session JSON files not found in storage

These all involve startup failures after upgrade with database/storage access issues.

@github-actions[bot] commented on GitHub (Feb 13, 2026): This issue might be a duplicate of existing issues. Please check: - #13335: Opencode fails to start after autoupdate on Windows - #12598: After upgrading to the latest version of OpenCode, it won't respond/open - #12889: NotFoundError on startup: session JSON files not found in storage These all involve startup failures after upgrade with database/storage access issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9258