hasura / hasura/graphql-engine

hasura/graphql-engine:v1.3.3.cli-migrations-v2 crashes on heroku

Open
#6,929 18 comments 6 reactions 2 assignees Claimed by @rikinsk View on GitHub
a/collab-ci-cd c/cli t/cli
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Hi,
after a few months hasura stopped working on heroku, even though there were no changes made to the code.

Error-Message:
```
{"timestamp":"2021-05-14T08:42:38.000+0000","level":"info","type":"startup","detail":{"kind":"installing cli-ext plugin","info":""}}
FATA[0000] preparing execution context failed: setting up global config failed: cannot get home directory: exec: "getent": executable file not found in $PATH
```

I deployed hasura on a heroku-container.
Environment varialbes are set.
I use a 7$ Dyno, Western Europe.

Dockerimage:
```
FROM hasura/graphql-engine:v1.3.3.cli-migrations-v2

COPY ./hasura/migrations /hasura-migrations
COPY ./hasura/metadata /hasura-metadata

CMD graphql-engine \
--database-url $DATABASE_URL \
serve \
--server-port $PORT
```

heroku.yml
```
build:
docker:
web: Dockerfile
```

Does anyone have a similar problem or has an idea what the problem might be?

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.