New install producing NOT NULL constraint failure #290

Closed
opened 2025-11-13 11:55:44 -06:00 by GiteaMirror · 1 comment
Owner

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"}

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"}`
Author
Owner

@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!

@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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#290