Deployment Failed during build process
soumyakantid5
HOBBYOP

a year ago

[Region: us-east4]

Jan 15 19:18:41

==============

Jan 15 19:18:41

Using Nixpacks

Jan 15 19:18:41

==============

Jan 15 19:18:41

Jan 15 19:18:41

context: f3accfb75208ba78336eaa325ceda4b2

Jan 15 19:18:41

Jan 15 19:18:41

╔══════════════════════════════ Nixpacks v1.31.0 ══════════════════════════════╗

Jan 15 19:18:41

║ setup │ python39, postgresql_16.dev, gcc ║

Jan 15 19:18:41

║──────────────────────────────────────────────────────────────────────────────║

Jan 15 19:18:41

║ install │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate ║

Jan 15 19:18:41

║ │ && pip install -r requirements.txt ║

Jan 15 19:18:41

║──────────────────────────────────────────────────────────────────────────────║

Jan 15 19:18:41

║ start │ gunicorn '***.wsgi' ║

Jan 15 19:18:41

╚══════════════════════════════════════════════════════════════════════════════╝

Jan 15 19:18:41

Jan 15 19:18:41

Jan 15 19:18:42

#0 building with "builder-NhXf" instance using docker-container driver

Jan 15 19:18:42

Jan 15 19:18:42

#1 [internal] load build definition from Dockerfile

Jan 15 19:18:42

#1 transferring dockerfile: 3.59kB done

Jan 15 19:18:42

#1 DONE 0.0s

Jan 15 19:18:42

Jan 15 19:18:42

#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1736208272

Jan 15 19:18:42

#2 DONE 0.1s

Jan 15 19:18:42

Jan 15 19:18:42

Jan 15 19:18:42

Jan 15 19:18:42

#3 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1736208272@sha256:373a5b6b1b703c1b8cb6e5bf9c0147a22b54f0497265fd108c303aaf4032b6c9

Jan 15 19:18:42

#3 resolve ghcr.io/railwayapp/nixpacks:ubuntu-1736208272@sha256:373a5b6b1b703c1b8cb6e5bf9c0147a22b54f0497265fd108c303aaf4032b6c9 done

Jan 15 19:18:42

#3 DONE 0.0s

Jan 15 19:18:42

Jan 15 19:18:42

#4 [stage-0 2/8] WORKDIR /app/

Jan 15 19:18:42

#4 CACHED

Jan 15 19:18:42

Jan 15 19:18:42

#5 [internal] load .dockerignore

Jan 15 19:18:42

#5 transferring context: 2B done

Jan 15 19:18:42

Jan 15 19:18:42

#5 DONE 0.0s

Jan 15 19:18:42

Jan 15 19:18:42

Jan 15 19:18:42

#6 [internal] load build context

Jan 15 19:18:42

Jan 15 19:18:42

#6 transferring context: 8.59MB 0.2s done

Jan 15 19:18:42

#6 DONE 0.2s

Jan 15 19:18:42

Jan 15 19:18:42

#7 [stage-0 3/8] COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix

Jan 15 19:18:42

#7 CACHED

Jan 15 19:18:42

Jan 15 19:18:42

#8 [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d

Need to understand why build failing again & again, I havn't changed any configuraion

Solved

2 Replies

soumyakantid5
HOBBYOP

a year ago

i can see that earlier it was using Nixpacks v1.29.1 and it was working fine (last successful deployment on 13th jan,2025)
Now it is using Nixpacks v1.31.0 and not sure may be this is why I'm getting the build error.
I have changed the verion & now it has worked for me.
But I want to know why this has happened, what might be the reason.


brody
EMPLOYEE

a year ago

Hello,

It was likely an upstream change in nix that caused an error with your specific build configuration and packages, pinning nixpacks as you've done is the current recommended solution.

Best,
Brody


Status changed to Awaiting User Response Railway about 1 year ago


Railway
BOT

6 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...