halborg
11/20/2018, 12:11 PMRamin B
11/20/2018, 2:54 PM2018-11-20T14:53:58.646526+00:00 heroku[web.1]: Starting process with command `/bin/sh -c bash\ /app/start.sh`
2018-11-20T14:54:00.648756+00:00 app[web.1]: ./app/prerun_hook.sh: line 20: can't create : nonexistent directory
2018-11-20T14:54:00.734378+00:00 heroku[web.1]: Process exited with status 1
2018-11-20T14:54:00.888110+00:00 heroku[web.1]: State changed from starting to crashed
Any clues?Ramin B
11/20/2018, 2:55 PMapp
dir in the Dockerfile file?halborg
11/20/2018, 2:56 PMhalborg
11/20/2018, 2:57 PMprerun_hook.sh
in your Heroku app?Ramin B
11/20/2018, 3:00 PMPRISMA_CONFIG_PATH
to? the error seems to come from that lineRamin B
11/20/2018, 3:02 PMprisma.yml
?halborg
11/20/2018, 3:02 PMPRISMA_CONFIG_PATH
AFAIK. I’ve only set the following options in my Heroku server configRamin B
11/20/2018, 3:03 PMPRISMA_CONFIG_PATH
there?Ramin B
11/20/2018, 3:03 PMhalborg
11/20/2018, 3:05 PMhalborg
11/20/2018, 3:06 PMRamin B
11/20/2018, 3:12 PMRamin B
11/20/2018, 3:25 PMRamin B
11/20/2018, 3:25 PMprisma token
halborg
11/20/2018, 3:25 PMhalborg
11/20/2018, 3:52 PMhalborg
11/20/2018, 3:52 PMRamin B
11/20/2018, 4:32 PMprisma deploy
.. so i ahve Prisma running on Heroku + PG database. lemme try to hit the server using my local graphql servicehalborg
11/20/2018, 4:33 PMhalborg
11/20/2018, 4:33 PMRamin B
11/20/2018, 4:49 PM.env
file which points to the proper PRISMA_ENDPOINT
Ramin B
11/20/2018, 4:49 PM2018-11-20T16:48:30.612300+00:00 app[web.1]: org.postgresql.util.PSQLException: ERROR: relation "public.User" does not exist
2018-11-20T16:48:30.612310+00:00 app[web.1]: Position: 220
Ramin B
11/20/2018, 4:52 PMERROR: Whoops. Looks like an internal server error. Search your server logs for request ID: local:api:cjopz7y23001z0668liv1oht6
{
"data": null,
"errors": [
{
"message": "Whoops. Looks like an internal server error. Search your server logs for request ID: local:api:cjopz7y23001z0668liv1oht6",
"path": [
"read"
],
"locations": [
{
"line": 2,
"column": 3
}
],
"requestId": "local:api:cjopz7y23001z0668liv1oht6"
}
],
"status": 200
}
Ramin B
11/20/2018, 4:53 PM2018-11-20T16:51:46.062620+00:00 app[web.1]: org.postgresql.util.PSQLException: ERROR: relation "public.Permission" does not exist
Ramin B
11/20/2018, 4:53 PMpublic
)Ramin B
11/20/2018, 5:09 PMschema
from my config (since im using PG vs MySQL, guess it doesnt need it)Ramin B
11/20/2018, 5:09 PMRamin B
11/20/2018, 5:10 PMRamin B
11/20/2018, 5:12 PM