R
Railway13mo 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
Percy13mo ago
Project ID: 632944d6-5215-4250-b329-f102f284154a
Brody
Brody13mo ago
try adding a nixpacks.toml file to your project with this in it
[phases.setup]
nixLibs = ['zlib']
[phases.setup]
nixLibs = ['zlib']
Reubz
ReubzOP13mo ago
Still same issue
No description
Brody
Brody13mo ago
can you provide me with a minimal reproducible example repo?
Reubz
ReubzOP13mo ago
I didn't get you. What do you want exactly?
Reubz
ReubzOP13mo 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
Brody13mo ago
I don't think you read that page that fast lol
Reubz
ReubzOP13mo 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
Brody13mo ago
then let's just do the bandaid fix what version of nixpacks did your last successful deployment use?
Reubz
ReubzOP13mo ago
how do I get that now
Brody
Brody13mo ago
it's on top of the build table in the build logs
Reubz
ReubzOP13mo ago
?
No description
Reubz
ReubzOP13mo ago
This was the last sucessful build - may 21
Brody
Brody13mo ago
ah guess railway doesn't keep logs for that long, I'll just guess
Solution
Brody
Brody13mo ago
add this as a railway.toml file to your project
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
Reubz
ReubzOP13mo 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
Brody13mo ago
bandaid fix
Reubz
ReubzOP13mo ago
lesgoo
No description
Reubz
ReubzOP13mo ago
finally works thanks man <3
Brody
Brody13mo ago
no prob
Want results from more Discord servers?
Add your server