Builds failing

Hello, our build are failing with: ERROR: failed to solve: process "/bin/bash -ol pipefail -c apt-get update && apt-get install -y --no-install-recommends libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgbm1 libasound2 libpangocairo-1.0-0 libxss1 libgtk-3-0 libxshmfence1 libglu1 build-essential libcairo2-dev libpango1.0-dev libpangocairo-1.0-0 libjpeg-dev libgif-dev librsvg2-dev libuuid1" did not complete successfully: exit code: 100 Haven't changed nix config or anything and it repros continuously.
23 Replies
Percy
Percy15mo ago
Project ID: 95c304a2-fe2b-4ad1-bc3f-5296fd26f36c
Ian Woodfill
Ian WoodfillOP15mo ago
95c304a2-fe2b-4ad1-bc3f-5296fd26f36c something is definitely broken here, old succesful deploys won't redeploy, build fails immediately
Brody
Brody15mo ago
nixpacks has updated it's global nix archive version, this was bound to beak some builds but please provide full build logs https://bookmarklets.up.railway.app/log-downloader/
Brody
Brody15mo ago
do you have a build log with more context?
Duchess
Duchess15mo ago
Thread has been flagged to Railway team by @Angelo.
angelo
angelo15mo ago
@Ian Woodfill - what version of Node is your project using?
Ian Woodfill
Ian WoodfillOP15mo ago
18
angelo
angelo15mo ago
Is it pinned via engines.node?
Ian Woodfill
Ian WoodfillOP15mo ago
yeah in package.json
angelo
angelo15mo ago
Also are you using a Nixpacks archive? Hmmm- jumping in.
Ian Woodfill
Ian WoodfillOP15mo ago
our nixpacks file:
[phases.setup]
nixPkgs = ["...", "libuuid", "python39"]
aptPkgs = ["...", "build-essential", "libcairo2-dev", "libpango1.0-dev", "libpangocairo-1.0-0", "libjpeg-dev", "libgif-dev", "librsvg2-dev", "libuuid1"]
nixLibs = ["...", "libuuid"]
[phases.setup]
nixPkgs = ["...", "libuuid", "python39"]
aptPkgs = ["...", "build-essential", "libcairo2-dev", "libpango1.0-dev", "libpangocairo-1.0-0", "libjpeg-dev", "libgif-dev", "librsvg2-dev", "libuuid1"]
nixLibs = ["...", "libuuid"]
angelo
angelo15mo ago
Oh jeez, Python / Node Makes sense. Can you pin to Node 16? Also what env is your builds are, I am in your project but I wanna see the failed build myself, linking to it helps. Also can you try adding this?
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
Ian Woodfill
Ian WoodfillOP15mo ago
Railway
404 - Page not found
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Ian Woodfill
Ian WoodfillOP15mo ago
you mean node 18 via nixpacks?
angelo
angelo15mo ago
Lets try this before anything I suggested:
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
Ian Woodfill
Ian WoodfillOP15mo ago
yup, shipping it now
angelo
angelo15mo ago
watching
Ian Woodfill
Ian WoodfillOP15mo ago
whoops failed again
angelo
angelo15mo ago
looking
Ian Woodfill
Ian WoodfillOP15mo ago
it seems like it still is 1.16, weirdly tho
[build]
nixpacksVersion = "1.15.0"

[phases.setup]
nixPkgs = ["...", "libuuid", "python39"]
aptPkgs = ["...", "build-essential", "libcairo2-dev", "libpango1.0-dev", "libpangocairo-1.0-0", "libjpeg-dev", "libgif-dev", "librsvg2-dev", "libuuid1"]
nixLibs = ["...", "libuuid"]
[build]
nixpacksVersion = "1.15.0"

[phases.setup]
nixPkgs = ["...", "libuuid", "python39"]
aptPkgs = ["...", "build-essential", "libcairo2-dev", "libpango1.0-dev", "libpangocairo-1.0-0", "libjpeg-dev", "libgif-dev", "librsvg2-dev", "libuuid1"]
nixLibs = ["...", "libuuid"]
?
Brody
Brody15mo ago
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
needs to be in a railway.toml file
Ian Woodfill
Ian WoodfillOP15mo ago
trying looks to have resolved it, thanks folks
Want results from more Discord servers?
Add your server