Error with Prisma / openSSL
magicmike123
HOBBYOP

a year ago

Hi, Im getting this error: {
"severity": "error",
"timestamp": "2025-03-25T22:09:13.327993891Z",
"message": "PrismaClientInitializationError: Unable to require(/app/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node).",
"tags": {
"deploymentId": "62858dcd-b1a4-4156-84ee-29102e3fad0d",
"deploymentInstanceId": "e115e539-4c96-48fc-8d61-5173b0130ca2",
"environmentId": "249fa739-6ad3-4651-b7aa-4f492c51f86e",
"pluginId": null,
"projectId": "20b311e9-9f30-40a4-bbc2-2d5543030462",
"serviceId": "9ee7504a-f09c-469f-b610-cde9a6158a68",
"snapshotId": null
},
"attributes": {
"level": "error"
}
}, and this: {
"severity": "error",
"timestamp": "2025-03-25T22:09:13.328048212Z",
"message": "Prisma cannot find the required libssl system library in your system. Please install openssl-3.0.x and try again.",
"tags": {
"deploymentId": "62858dcd-b1a4-4156-84ee-29102e3fad0d",
"deploymentInstanceId": "e115e539-4c96-48fc-8d61-5173b0130ca2",
"environmentId": "249fa739-6ad3-4651-b7aa-4f492c51f86e",
"pluginId": null,
"projectId": "20b311e9-9f30-40a4-bbc2-2d5543030462",
"serviceId": "9ee7504a-f09c-469f-b610-cde9a6158a68",
"snapshotId": null
},
"attributes": {
"level": "error"
}
}, but this works locally in my PC no idea whats going on

Solved

16 Replies

magicmike123
HOBBYOP

a year ago

what


magicmike123
HOBBYOP

a year ago

Im using bun if it helps


magicmike123
HOBBYOP

a year ago

this is real project ID: 20b311e9-9f30-40a4-bbc2-2d5543030462


magicmike123
HOBBYOP

a year ago

I believe this had something to do with a build command or something, something simiklar happened to me long ago


a year ago

Interesting


a year ago

Do you mind changing the builder from Nixpacks to Railpack, if the service in question is using Nixpacks?


magicmike123
HOBBYOP

a year ago

ah yeah might be that, ima try that, think I also did that in past when something like this had similar issue


magicmike123
HOBBYOP

a year ago

@uxuz nice, works now, also, I wonder if sharing the logs above is any dangerous,a lot of ids appear there like deploymentId, deploymentInstanceId and so on, is it safe if anybody can read these?


a year ago

While anyone can read the ids above, they are only useful for the team.


magicmike123
HOBBYOP

a year ago

ah nice


magicmike123
HOBBYOP

a year ago

I even wonder if theres an option to make railway the default thing instead of nix


a year ago

There indeed is, you will have to enable the "Default to Railpack" feature flag under https://railway.com/account/feature-flags in this case.


a year ago

Hey @CodeForge, do you have any further questions?


magicmike123
HOBBYOP

a year ago

all g, thanks


a year ago

Great, I'll mark this thread as solved then.


a year ago

!s


Status changed to Solved uxuz 12 months ago


Loading...