Fly deploy restart loop due to Prisma error #995
-
I'm trying to diagnose an issue I'm having with our deployment on Fly and having a hard time locating where to look to solve the problem. After a deploy, I'm getting this in my logs:
After prisma loads, something is trying to reach I checked the Dockerfile and don't see any explicit mention of this file/directory other than copying the whole Can anyone point me in the appropriate direction to debug this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you deleted that directory because you're not using any SQL queries, then you need to remove the Line 44 in 4bee576 Line 20 in 4bee576 epic-stack/.github/workflows/deploy.yml Line 37 in 4bee576 epic-stack/.github/workflows/deploy.yml Line 64 in 4bee576 |
Beta Was this translation helpful? Give feedback.
-
Ah, thanks for the direction @kentcdodds ! For anyone else who might appear here from search results, this occurred from my recent update to a later version using the It's probably rare enough of a problem for other users who happened to upgrade from past versions similar to mine, but would adding a check in the Dockerfile to ensure the |
Beta Was this translation helpful? Give feedback.
If you deleted that directory because you're not using any SQL queries, then you need to remove the
--sql
flag from your Prisma commands. They appear in a couple of places.epic-stack/other/litefs.yml
Line 44 in 4bee576
epic-stack/package.json
Line 20 in 4bee576
epic-stack/.github/workflows/deploy.yml
Line 37 in 4bee576
epic-stack/.github/workflows/deploy.yml
Line 64 in 4bee576