mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-06 08:56:45 -05:00
New install producing NOT NULL constraint failure #290
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AaronFOhl on GitHub (May 2, 2025).
I have done the installer both with and without Gerbil for pangolin versions 1.2.0 and 1.3.0.
This morning when I was running testing, everything was running fine, but as of about 12pm today, I keep getting the following error:
pangolin | 2025-05-02T16:58:54.618Z [error]: NOT NULL constraint failed: user.username pangolin | Stack: SqliteError: NOT NULL constraint failed: user.username pangolin | at PreparedQuery.run (/app/node_modules/src/better-sqlite3/session.ts:113:20) pangolin | at QueryPromise.run (/app/node_modules/src/sqlite-core/query-builders/insert.ts:385:26) pangolin | at QueryPromise.execute (/app/node_modules/src/sqlite-core/query-builders/insert.ts:401:53) pangolin | at QueryPromise.then (/app/node_modules/src/query-promise.ts:31:15) {"code":"SQLITE_CONSTRAINT_NOTNULL"} pangolin | 2025-05-02T16:58:54.619Z [error]: Error running setup functions: Rollback pangolin | Stack: DrizzleError: Rollback pangolin | at BetterSQLiteTransaction.rollback (/app/node_modules/src/sqlite-core/session.ts:229:9) pangolin | at Function.<anonymous> (/app/server/setup/setupServerAdmin.ts:78:17) pangolin | at async setupServerAdmin (/app/server/setup/setupServerAdmin.ts:27:5) pangolin | at async runSetupFunctions (/app/server/setup/index.ts:10:9) pangolin | at async startServers (/app/server/index.ts:8:5) {"name":"DrizzleError"}@AaronFOhl commented on GitHub (May 2, 2025):
Must have been a blip between versions changing or something, or user error. I'm all set now!