R
Railway10mo 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
Percy10mo ago
Project ID: 124704bc-b741-49be-ac2e-952ba9836fe5
jad
jad10mo ago
Service id: 124704bc-b741-49be-ac2e-952ba9836fe5 ? Project id: 8cc416ed-de5c-461d-bc36-c09be8ed9437
Brody
Brody10mo ago
Brody
Brody10mo ago
can you also provide your build logs for the last known working deployment?
jad
jad10mo ago
they're not available any more ... was September
Brody
Brody10mo 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
jad10mo 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
Brody10mo ago
yeah there was a big incident
jad
jad10mo 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
Brody10mo 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
jad10mo 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
Brody10mo ago
ah okay then nvm, what you did would have the same effect
jad
jad10mo ago
happy to poke at stuff till it works with the new packs, if that's preferred?
jad
jad10mo ago
GitHub
GitHub - t12nslookup/toddletime at railway
A registration system used for a Church Youth Group (ToddleTime) - GitHub - t12nslookup/toddletime at railway
Want results from more Discord servers?
Add your server