Skip to content

Database Agent Fails to Start on ARM64 #205

Description

@mathisonryan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdockerPull requests that update Docker codehelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions