Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with libssl in Docker #573

Closed
elBelgg opened this issue May 31, 2024 · 4 comments
Closed

Error with libssl in Docker #573

elBelgg opened this issue May 31, 2024 · 4 comments

Comments

@elBelgg
Copy link

elBelgg commented May 31, 2024

I have just updated to 4.3.2 and Im getting this error

Error code:
[5/31/2024] [7:10:13 PM] [antiCrash.js] [Lavamusic] › ✖ error Unhandled Rejection at: Promise {
PrismaClientInitializationError:
Invalid prisma.stay.findMany() invocation:

Unable to require(/opt/lavamusic/node_modules/.prisma/client/libquery_engine-debian-openssl-1.1.x.so.node).
Prisma cannot find the required libssl system library in your system. Please install openssl and try again.

Details: libssl.so.1.1: cannot open shared object file: No such file or directory
at In.handleRequestError (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:122:7177)
at In.handleAndLogRequestError (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:122:6211)
at In.request (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:122:5919)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:127:11167)
at async ServerData.get_247 (file:///opt/lavamusic/dist/database/server.js:82:20)
at async NodeConnect.run (file:///opt/lavamusic/dist/events/player/NodeConnect.js:11:20) {
clientVersion: '5.14.0',
errorCode: undefined
}
} reason: PrismaClientInitializationError:
Invalid prisma.stay.findMany() invocation:

Unable to require(/opt/lavamusic/node_modules/.prisma/client/libquery_engine-debian-openssl-1.1.x.so.node).
Prisma cannot find the required libssl system library in your system. Please install openssl and try again.

Details: libssl.so.1.1: cannot open shared object file: No such file or directory
at In.handleRequestError (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:122:7177)
at In.handleAndLogRequestError (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:122:6211)
at In.request (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:122:5919)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/opt/lavamusic/node_modules/@prisma/client/runtime/library.js:127:11167)
at async ServerData.get_247 (file:///opt/lavamusic/dist/database/server.js:82:20)
at async NodeConnect.run (file:///opt/lavamusic/dist/events/player/NodeConnect.js:11:20) {
clientVersion: '5.14.0',
errorCode: undefined
}

@LucasB25
Copy link
Collaborator

LucasB25 commented Jun 1, 2024

@elBelgg
Copy link
Author

elBelgg commented Jun 1, 2024

Both main and latest keeps giving me that error (im using docker compose in Unraid)

@appujet
Copy link
Owner

appujet commented Jun 2, 2024

fixed mabye 9a524f5

@elBelgg
Copy link
Author

elBelgg commented Jun 2, 2024

Now it works without problems! Many thanks

@LucasB25 LucasB25 closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants