-
-
Notifications
You must be signed in to change notification settings - Fork 593
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
The 4.0 docker container does not start. Logs:
Checking environment...
[preinstall] nothing to do
Preparing the database...
[postinstall] provider=mysql
[postinstall] copying mysql schema & migrations
[postinstall] > npx prisma generate
node:internal/errors:983
const err = new Error(message);
^
Error: Command failed: npx prisma generate
Error: Failed to fetch sha256 checksum at https://binaries.prisma.sh/all_commits/605197351a3c8bdd595af2d2a9bc3025bca48ea2/linux-musl-openssl-3.0.x/libquery_engine.so.node.sha256 - 403 Forbidden
If you need to ignore this error (e.g. in an offline environment), set the PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING environment variable to a truthy value.
Example: PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING=1
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.4.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2
npm notice To update run: npm install -g [email protected]
npm notice
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:414:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:351:12) {
code: 1,
killed: false,
signal: null,
cmd: 'npx prisma generate',
stdout: '',
stderr: 'Error: Failed to fetch sha256 checksum at https://binaries.prisma.sh/all_commits/605197351a3c8bdd595af2d2a9bc3025bca48ea2/linux-musl-openssl-3.0.x/libquery_engine.so.node.sha256 - 403 Forbidden\n' +
'\n' +
'If you need to ignore this error (e.g. in an offline environment), set the PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING environment variable to a truthy value.\n' +
'Example: PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING=1\n' +
'npm notice\n' +
'npm notice New major version of npm available! 10.9.2 -> 11.4.2\n' +
'npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2\n' +
'npm notice To update run: npm install -g [email protected]\n' +
'npm notice\n'
}
Node.js v22.16.0
Starting...
######## #### ###### ###### ####### ######## ########
## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ##
## ## ## ###### ## ## ## ######## ## ##
## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ##
######## #### ###### ###### ####### ## ## ########
######## #### ###### ## ## ######## ######## ######
## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ##
## ## ## ##### ###### ## ######
## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ##
## #### ###### ## ## ######## ## ######
Discord Tickets (https://discordtickets.app) bot v4.0.44 by eartharoid
Sponsor this project at https://discordtickets.app/sponsor
Warning: The current working directory is not the same as the base directory.
Base directory: /app
Current directory: /home/container
Learn more at https://lnk.earth/dt-cwd.
2025-07-18 19:29:44 [NOTICE] Discord Tickets v4.0.44 on Node.js v22.16.0 (linux)
2025-07-18 19:29:44 [WARN] Uncaught exception
2025-07-18 19:29:44 [ERROR] Error: Cannot find module '.prisma/client/default'
Require stack:
- /app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/default.js
- /app/src/client.js
- /app/src/index.js
at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
at Function._load (node:internal/modules/cjs/loader:1211:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1487:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (/app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/default.js:2:6)
at Module._compile (node:internal/modules/cjs/loader:1730:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/default.js',
'/app/src/client.js',
'/app/src/index.js'
]
}
Relevant error seems to be:
cmd: 'npx prisma generate',
stdout: '',
stderr: 'Error: Failed to fetch sha256 checksum at https://binaries.prisma.sh/all_commits/605197351a3c8bdd595af2d2a9bc3025bca48ea2/linux-musl-openssl-3.0.x/libquery_engine.so.node.sha256 - 403 Forbidden\n' +
This happens both on new deployments and on existing ones, when the container restarts
Found out the hard way by migrating to a new host.
Expected Behavior
Docker container should start
Steps To Reproduce
No response
Environment
- OS: Docker
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working