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

Can not save workspace on fedora 39 #935

Closed
anchikhorov opened this issue Mar 20, 2024 · 2 comments
Closed

Can not save workspace on fedora 39 #935

anchikhorov opened this issue Mar 20, 2024 · 2 comments
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@anchikhorov
Copy link

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Can not save workspace with error: Error: Invalid prisma.workspaces.create() invocation: Prisma Client could not locate the Query Engine for runtime "rhel-openssl-1.1.x". This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "rhel-openssl-1.1.x". Add "rhel-openssl-1.1.x" to binaryTargets in the "schema.prisma" file and run prisma generate after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "rhel-openssl-1.1.x"] } The following locations have been searched: /tmp/.mount_AnythiNgkgnj/resources/backend/node_modules/.prisma/client /tmp/.mount_AnythiNgkgnj/resources/backend/node_modules/@prisma/client /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client /tmp/prisma-engines /tmp/.mount_AnythiNgkgnj/resources/backend/prisma

Are there known steps to reproduce?

Install desktop app on fedora 39 and try to start and setup it as usual. The final step with saving workspace will produce the error : Error: Invalid prisma.workspaces.create() invocation: Prisma Client could not locate the Query Engine for runtime "rhel-openssl-1.1.x". This happened because Prisma Client was generated for "debian-openssl-3.0.x", but the actual deployment required "rhel-openssl-1.1.x". Add "rhel-openssl-1.1.x" to binaryTargets in the "schema.prisma" file and run prisma generate after saving it: generator client { provider = "prisma-client-js" binaryTargets = ["native", "rhel-openssl-1.1.x"] } The following locations have been searched: /tmp/.mount_AnythiNgkgnj/resources/backend/node_modules/.prisma/client /tmp/.mount_AnythiNgkgnj/resources/backend/node_modules/@prisma/client /home/tim/Documents/anything-llm-desktop/anything-llm/server/node_modules/@prisma/client /tmp/prisma-engines /tmp/.mount_AnythiNgkgnj/resources/backend/prisma

@anchikhorov anchikhorov added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Mar 20, 2024
@skamansam
Copy link

I am also having this issue on Fedora 39.

@timothycarambat
Copy link
Member

Duplicate of #898 - it is a bug in the bundling of the package and will be patched for the desktop app. Fix is in that issue's thread and/or can run Docker image instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

No branches or pull requests

3 participants