R
Railway12mo ago
jad

build/deploy failing since 01 December

Yesterday, without making any changes, my app tried to start another version, and crashed. I tried to force a new deployment, and the deployment fails to build. During this stage: #10 [stage-0 6/21] RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d #10 33.47 error: Unable to build profile. There is a conflict for the following files: #10 33.47 /nix/store/fg86njc0q2djbyfaqvnaq7x0khpc6sf4-nodejs-18.17.1/include/node/v8-promise.h #10 33.47 /nix/store/yg9sjwlrr5f9l3xfaw11q6rc7gpij5d1-bf744fe90419885eefced41b3e5ae442d732712d-env/include/node/v8-promise.h #10 33.52 error: builder for '/nix/store/1di4gk028rrx2w7gc50f650zb1pyx9bp-user-environment.drv' failed with exit code 1 I think my last "real" deploy was about 3 months ago, before this, and was probably only gemfile or yarn upgrades Do you know what I might be able to do to get this working again? (It's a hobby project, but used to register children at a toddler group, which happened, most recently, last Friday and they'd like to get the details for that day on the system)
25 Replies
Percy
Percy12mo ago
Project ID: 124704bc-b741-49be-ac2e-952ba9836fe5
jad
jadOP12mo ago
Service id: 124704bc-b741-49be-ac2e-952ba9836fe5 ? Project id: 8cc416ed-de5c-461d-bc36-c09be8ed9437
Brody
Brody12mo ago
Brody
Brody12mo ago
can you also provide your build logs for the last known working deployment?
jad
jadOP12mo ago
they're not available any more ... was September
Brody
Brody12mo ago
gotcha, let me go find a version of nixpacks that came out in September and we can revert to that version, one minute would you happen to have a date of some sort when your last deployment worked? maybe a date from a github commit?
jad
jadOP12mo ago
I'm sure I used to have an environment variable in my nixpacks setup for having java, for the "rails assets:precompile", but I can't find it any more it was working up until yesterday, when it suddenly crashed ... was september 10th (last deploy)
Brody
Brody12mo ago
yeah there was a big incident
jad
jadOP12mo ago
i heard, which is why I was leaving it alone, but you've cleared it, and my system still isn't working ... thanks for this
Brody
Brody12mo ago
before we revert to an older version of nixpacks, for kicks, give this a try https://bookmarklets.up.railway.app/service-redeploy/ since sometimes the redoploy button on your deployment can deploy some old versions of code
jad
jadOP12mo ago
to the latest version? (I did a "bundle update" and a "yarn upgrade" to force a change, and then deployed that ... or back to the last known working one?
Brody
Brody12mo ago
ah okay then nvm, what you did would have the same effect
jad
jadOP12mo ago
happy to poke at stuff till it works with the new packs, if that's preferred?
jad
jadOP12mo ago
GitHub
GitHub - t12nslookup/toddletime at railway
A registration system used for a Church Youth Group (ToddleTime) - GitHub - t12nslookup/toddletime at railway
Brody
Brody12mo ago
using the latest version of nixpacks is definitely preferable, but I don't actually know why your build would fail, it's nothing of your fault, so I will need to tag in someone from the team during work hours, but for now I just wanna get your app back online
jad
jadOP12mo ago
ta
Brody
Brody12mo ago
alright we will be going back to a version of nixpacks from sept 7th, add a railway.toml file to your project with this in it
[build]
nixpacksVersion = "1.14.0"
[build]
nixpacksVersion = "1.14.0"
jad
jadOP12mo ago
in the root?
Brody
Brody12mo ago
if that's where you've set railway to deploy from then yep!
jad
jadOP12mo ago
okay, building Build time: 425.48 seconds ... looks better
Brody
Brody12mo ago
awesome
jad
jadOP12mo ago
and it's up, apparently
Brody
Brody12mo ago
good to hear, confirm everything works as intended please
jad
jadOP12mo ago
yep, just this second got the login screen and created a "meet" for yesterday. looks good to me. Thanks @Brody
Want results from more Discord servers?
Add your server