New install producing NOT NULL constraint failure #1544

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

Originally created by @AaronFOhl on 5/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 5/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"}`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1544