R
Railway12mo ago
Reubz

Error while deploying to railway. Works fine on my machine.

I somewhat don't understand what this error means and what to do about it. I am guessing this has something to do with nixpacks. Cuz it works perfectly fine on my PC without any issues. Project ID - 632944d6-5215-4250-b329-f102f284154a
No description
No description
Solution:
add this as a railway.toml file to your project
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
...
Jump to solution
21 Replies
Percy
Percy12mo ago
Project ID: 632944d6-5215-4250-b329-f102f284154a
Brody
Brody12mo ago
try adding a nixpacks.toml file to your project with this in it
[phases.setup]
nixLibs = ['zlib']
[phases.setup]
nixLibs = ['zlib']
Reubz
Reubz12mo ago
Still same issue
No description
Brody
Brody12mo ago
can you provide me with a minimal reproducible example repo?
Reubz
Reubz12mo ago
I didn't get you. What do you want exactly?
Reubz
Reubz12mo ago
I can't figure out whats producing the problem either cuz I didn't do anything new other than restart this railway deployment
Brody
Brody12mo ago
I don't think you read that page that fast lol
Reubz
Reubz12mo ago
I had this deployment running like 6 months ago ... I bymistake pushed a commit on github which triggered a deploy and I came back to the original one aswell so basically nothing has changed but just a redeploy so Idk whats the problem here.
Brody
Brody12mo ago
then let's just do the bandaid fix what version of nixpacks did your last successful deployment use?
Reubz
Reubz12mo ago
how do I get that now
Brody
Brody12mo ago
it's on top of the build table in the build logs
Reubz
Reubz12mo ago
?
No description
Reubz
Reubz12mo ago
This was the last sucessful build - may 21
Brody
Brody12mo ago
ah guess railway doesn't keep logs for that long, I'll just guess
Solution
Brody
Brody12mo ago
add this as a railway.toml file to your project
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
Reubz
Reubz12mo ago
atp anything that works ... I wanna rewrite this whole repo but can't find the time to do it cuz its irriratingly long work and I also lost interest in discord bots. I just wanna keep it running for the sake of it. okay
Brody
Brody12mo ago
bandaid fix
Reubz
Reubz12mo ago
lesgoo
No description
Reubz
Reubz12mo ago
finally works thanks man <3
Brody
Brody12mo ago
no prob
Want results from more Discord servers?
Add your server