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
Project ID:
124704bc-b741-49be-ac2e-952ba9836fe5
Service id: 124704bc-b741-49be-ac2e-952ba9836fe5 ?
Project id: 8cc416ed-de5c-461d-bc36-c09be8ed9437
please provide your build logs https://bookmarklets.up.railway.app/log-downloader/
can you also provide your build logs for the last known working deployment?
they're not available any more ... was September
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?
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)
yeah there was a big incident
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
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
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?
ah okay then nvm, what you did would have the same effect
happy to poke at stuff till it works with the new packs, if that's preferred?
GitHub
GitHub - t12nslookup/toddletime at railway
A registration system used for a Church Youth Group (ToddleTime) - GitHub - t12nslookup/toddletime at railway
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
ta
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
in the root?
if that's where you've set railway to deploy from then yep!
okay, building
Build time: 425.48 seconds ... looks better
awesome
and it's up, apparently
good to hear, confirm everything works as intended please
yep, just this second got the login screen
and created a "meet" for yesterday. looks good to me.
Thanks @Brody