1.12.0/1 Stack: SqliteError: no such table: hostMeta #681

Closed
opened 2026-04-05 17:33:35 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jackrosenberg on 11/3/2025

Describe the Bug

Hey team,

Running into an error while building for 1.12.0 and 1.12.1:

pangolin[427113]: Stack: SqliteError: no such table: hostMeta
pangolin[427113]:     at Database.prepare (..pangolin-1.12.1/share/pangolin/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
pangolin[427113]:     at BetterSQLiteSession.prepareQuery ..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/better-sqlite3/session.js:23:30)
pangolin[427113]:     at BetterSQLiteSession.prepareOneTimeQuery ..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/session.js:141:17)
pangolin[427113]:     at SQLiteSelectBase._prepare (..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:615:88)
pangolin[427113]:     at SQLiteSelectBase.all (..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:641:17)
pangolin[427113]:     at SQLiteSelectBase.execute (..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:650:17)
pangolin[427113]:     at SQLiteSelectBase.then(..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/query-promise.js:21:17) {"error":{"code":"SQLITE_ERROR"}}

This seems like the migrations are not being run successfully. The next build and all other build steps are run correctly AFAIK. I have set $BUILD to "oss". I hope i am missing a build step or something. Any pointers?

Environment

  • OS Type & Version: NixOS (master: 0be01004)
  • Pangolin Version: 1.12.0/1
  • Gerbil Version: na
  • Traefik Version: na
  • Newt Version: na
  • Olm Version: na

To Reproduce

Kinda complicated if not running NixOs, this is the code i have changed since last working version :
https://github.com/NixOS/nixpkgs/pull/458076

Expected Behavior

Migrations should run successfully.

*Originally created by @jackrosenberg on 11/3/2025* ### Describe the Bug Hey team, Running into an error while building for 1.12.0 and 1.12.1: ``` pangolin[427113]: Stack: SqliteError: no such table: hostMeta pangolin[427113]: at Database.prepare (..pangolin-1.12.1/share/pangolin/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21) pangolin[427113]: at BetterSQLiteSession.prepareQuery ..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/better-sqlite3/session.js:23:30) pangolin[427113]: at BetterSQLiteSession.prepareOneTimeQuery ..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/session.js:141:17) pangolin[427113]: at SQLiteSelectBase._prepare (..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:615:88) pangolin[427113]: at SQLiteSelectBase.all (..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:641:17) pangolin[427113]: at SQLiteSelectBase.execute (..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/sqlite-core/query-builders/select.js:650:17) pangolin[427113]: at SQLiteSelectBase.then(..pangolin-1.12.1/share/pangolin/node_modules/drizzle-orm/query-promise.js:21:17) {"error":{"code":"SQLITE_ERROR"}} ``` This seems like the migrations are not being run successfully. The next build and all other build steps are run correctly AFAIK. I have set `$BUILD` to `"oss"`. I hope i am missing a build step or something. Any pointers? ### Environment - OS Type & Version: NixOS (master: 0be01004) - Pangolin Version: 1.12.0/1 - Gerbil Version: na - Traefik Version: na - Newt Version: na - Olm Version: na ### To Reproduce Kinda complicated if not running NixOs, this is the code i have changed since last working version : https://github.com/NixOS/nixpkgs/pull/458076 ### Expected Behavior Migrations should run successfully.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#681