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