Cloudron packaging issue with Prisma client #4001
-
|
Hello, I am currently building a Langfuse application for Cloudron @ https://github.com/Lanhild/langfuse-cloudron I have successfully packaged the application, but have an issue regarding the database migrations and connection with the following error: I do not expect nor am I warranted any help, but would you happen to know if this error happens because of; Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello @Lanhild! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together! The error you're encountering with the Prisma Client is likely due to a mismatch between the expected and actual runtime environments. This can happen if the To resolve this issue, you should ensure that the generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-3.0.x"]
}This configuration will ensure that the Prisma Client is generated with the correct binaries for your deployment environment. Additionally, verify that your Docker base image aligns with the expected runtime environment specified in the If the issue persists, double-check the compatibility of your base image and consider regenerating the Prisma Client after updating the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for sharing. I'd assume that this is a common issue of Cloudron users that is not specific to Langfuse. Do you mind moving this discussion to the Cloudron repo as the Cloudron community is probably the better place to get help by others on this? |
Beta Was this translation helpful? Give feedback.
Thanks for sharing. I'd assume that this is a common issue of Cloudron users that is not specific to Langfuse. Do you mind moving this discussion to the Cloudron repo as the Cloudron community is probably the better place to get help by others on this?