Natchi
Natchi
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
[phases.build]
cmds = ['npm run build']

[start]
cmd = 'sleep 3 && npm run prisma migrate deploy && npm run start'
[phases.build]
cmds = ['npm run build']

[start]
cmd = 'sleep 3 && npm run prisma migrate deploy && npm run start'
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
and i create this nixpacks.toml file
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
i come back to build v1
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
it's the last logs
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
nothing
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
after 10min
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
No description
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
it fail
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
No description
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
it takes much longer
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
this v2 is used to take up less space for snapshots?
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
I see that it deletes lots of files, why?
60 store paths deleted, 512.58 MiB freed
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
No description
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
but the builder v2 return this
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
No description
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
I noticed that it does not find a start command even though I put a custom start command on the settings of my backend service (on railway directly).
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
@Brody If you have any questions do not hesitate. sorry I wasn't on my pc before
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
I had the bug concerning prisma which could not connect to my database during the build via the internal url, because during the build there is no access to the internal network. You therefore suggested that I use the builder v2 which could potentially solve this problem. So I activated the builder v2 via the variables. But I noticed that it does not find a start command even though I put a custom start command on the settings of my backend service (on railway directly). So I wanted to create a nixpacks.toml configuration file to define the build, start, etc. commands... But the problem is that I noticed that I didn't know what to put in nixPcks in the setup phase. Because without a nixpacks.toml file, it has nodejs_20, npm_9 and openssl as default. And in mine I just put nodejs, and I didn't know if I should put other things. So I'm just wondering if it's better to migrate my database during start or during build. To me this makes more sense during the build. But in this case, I would like someone to explain the nixpacks.toml configuration file to me.
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
I'm going to put the whole context back
52 replies
RRailway
Created by Natchi on 5/31/2024 in #✋|help
Prisma can't reach database server (during build)
yes but i need nixpacks.toml to run the v2 builder
52 replies