Originally created by @jackrosenberg on GitHub (Nov 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?
Originally created by @jackrosenberg on GitHub (Nov 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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jackrosenberg on GitHub (Nov 3, 2025).
Describe the Bug
Hey team,
Running into an error while building for 1.12.0 and 1.12.1:
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
$BUILDto"oss". I hope i am missing a build step or something. Any pointers?Environment
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.