[GH-ISSUE #3023] fresh 1.18.3 fails to launch #23589

Closed
opened 2026-06-05 06:30:05 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @LaurenceJJones on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/3023

Describe the Bug

Node.js v24.15.0

> @fosrl/pangolin@0.0.0 start
> ENVIRONMENT=prod node dist/migrations.mjs && ENVIRONMENT=prod NODE_ENV=development node --enable-source-maps dist/server.mjs


/app/node_modules/better-sqlite3/lib/database.js:69
                [util.cppdb]: { value: new addon.Database(filename, filenameGiven, anonymous, readonly, fileMustExist, timeout, verbose || null, buffer || null) },
                                       ^
SqliteError: unable to open database file
    at new Database (/app/node_modules/better-sqlite3/lib/database.js:69:26)
    at createDb (file:///app/dist/migrations.mjs:1052:18)
    at server/db/sqlite/driver.ts (file:///app/dist/migrations.mjs:1100:10)
    at __init (file:///app/dist/migrations.mjs:16:56)
    at server/db/sqlite/index.ts (file:///app/dist/migrations.mjs:1586:5)
    at __init (file:///app/dist/migrations.mjs:16:56)
    at file:///app/dist/migrations.mjs:1616:1
    at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
    at async node:internal/modules/esm/loader:639:26
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
  code: 'SQLITE_CANTOPEN'
}

Environment

  • OS Type & Version: (e.g., Ubuntu 22.04)
  • Pangolin Version:
  • Gerbil Version:
  • Traefik Version:
  • Newt Version:
  • Olm Version: (if applicable)

To Reproduce

Start a fresh install

Expected Behavior

Create the first database on launch without creating an exception

Originally created by @LaurenceJJones on GitHub (May 7, 2026). Original GitHub issue: https://github.com/fosrl/pangolin/issues/3023 ### Describe the Bug ``` Node.js v24.15.0 > @fosrl/pangolin@0.0.0 start > ENVIRONMENT=prod node dist/migrations.mjs && ENVIRONMENT=prod NODE_ENV=development node --enable-source-maps dist/server.mjs /app/node_modules/better-sqlite3/lib/database.js:69 [util.cppdb]: { value: new addon.Database(filename, filenameGiven, anonymous, readonly, fileMustExist, timeout, verbose || null, buffer || null) }, ^ SqliteError: unable to open database file at new Database (/app/node_modules/better-sqlite3/lib/database.js:69:26) at createDb (file:///app/dist/migrations.mjs:1052:18) at server/db/sqlite/driver.ts (file:///app/dist/migrations.mjs:1100:10) at __init (file:///app/dist/migrations.mjs:16:56) at server/db/sqlite/index.ts (file:///app/dist/migrations.mjs:1586:5) at __init (file:///app/dist/migrations.mjs:16:56) at file:///app/dist/migrations.mjs:1616:1 at ModuleJob.run (node:internal/modules/esm/module_job:437:25) at async node:internal/modules/esm/loader:639:26 at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) { code: 'SQLITE_CANTOPEN' } ``` ### Environment - OS Type & Version: (e.g., Ubuntu 22.04) - Pangolin Version: - Gerbil Version: - Traefik Version: - Newt Version: - Olm Version: (if applicable) ### To Reproduce Start a fresh install ### Expected Behavior Create the first database on launch without creating an exception
Author
Owner

@LaurenceJJones commented on GitHub (May 7, 2026):

closing ref: #1207

tldr fedora linux uses SElinux and fails to propogate permissions for folder

<!-- gh-comment-id:4396177461 --> @LaurenceJJones commented on GitHub (May 7, 2026): closing ref: #1207 _tldr_ fedora linux uses SElinux and fails to propogate permissions for folder
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#23589