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

Database Agent Fails to Start on ARM64 #205

Open
mathisonryan opened this issue Sep 8, 2023 · 2 comments
Open

Database Agent Fails to Start on ARM64 #205

mathisonryan opened this issue Sep 8, 2023 · 2 comments
Labels
bug Something isn't working docker Pull requests that update Docker code help wanted Extra attention is needed

Comments

@mathisonryan
Copy link
Member

mathisonryan commented Sep 8, 2023

Your Environment

MacOS

  • Versions of your services : 2.0.0-alpha
  • Operating System :

Describe the current behavior

Database agent fails to start

Describe the expected behavior

Database agent should start

Standalone steps to reproduce the issue

  • Try running the arm64 docker image on an arm64 device

Other info / logs:

> database-agent@0.0.0 migrate /usr/src/app
> npx prisma generate && npx prisma db push
Prisma schema loaded from prisma/schema.prisma
Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture arm64 is not supported, or that libc is missing from the sy
stem.
Details: Unable to require( ` /usr/src/app/node modules/prisma/libquery engine-linux-arm64-openssl-3.0.x.so.node`
Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /usr/src/app/node modules/prisma/libquery engine-linux-arm64-openss1-3.0.x.so.node
[Context: getDmmf]

Prisma CLI Version : 4.8.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! database-agent@0.0.0 migrate: npx prisma generate && npx prisma db push
npm ERR! Exit status 1

npm ERR!
npm ERR! Failed at the database-agent@0.0.0 migrate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
root/.npm/_ logs/2023-09-07T18 43 10 _444%-debug.log

image

@mathisonryan mathisonryan added bug Something isn't working help wanted Extra attention is needed docker Pull requests that update Docker code labels Sep 8, 2023
@mathisonryan
Copy link
Member Author

Looks like should be fixed if we move up to Prisma 4.10.0 or newer, however we may not be able to move up on node 14. We used to be on node 18 before the dbom 2.0 alpha, is there a reason we moved back to node 14 which is end of life?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker Pull requests that update Docker code help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant