DBOMproject / DBOMproject/database-agent

Database Agent Fails to Start on ARM64

Open
#205 2 comments 0 reactions 0 assignees View on GitHub
bug docker help wanted
Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**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](https://github.com/DBOMproject/database-agent/assets/57193503/7b867bf2-b9cb-4edc-813c-d86e91d1c165)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.