#build/deploy failing since 01 December

36 messages · Page 1 of 1 (latest)

sinful scarab
#

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)

lean dragonBOT
#

Project ID: 124704bc-b741-49be-ac2e-952ba9836fe5

sinful scarab
#

Service id: 124704bc-b741-49be-ac2e-952ba9836fe5 ?

#

Project id: 8cc416ed-de5c-461d-bc36-c09be8ed9437

agile plume
sinful scarab
agile plume
#

can you also provide your build logs for the last known working deployment?

sinful scarab
#

they're not available any more ... was September

agile plume
#

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?

sinful scarab
#

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)

agile plume
#

yeah there was a big incident

sinful scarab
#

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

agile plume
sinful scarab
#

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?

agile plume
#

ah okay then nvm, what you did would have the same effect

sinful scarab
#

happy to poke at stuff till it works with the new packs, if that's preferred?

agile plume
#

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

sinful scarab
#

ta

agile plume
#

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"
sinful scarab
#

in the root?

agile plume
#

if that's where you've set railway to deploy from then yep!

sinful scarab
#

okay, building

#

Build time: 425.48 seconds ... looks better

agile plume
#

awesome

sinful scarab
#

and it's up, apparently

agile plume
#

good to hear, confirm everything works as intended please

sinful scarab
#

yep, just this second got the login screen

#

and created a "meet" for yesterday. looks good to me.

#

Thanks @agile plume