bo
bo
RRailway
Created by bo on 11/24/2023 in #✋|help
Nixpacks Deployment Error
Trying to deploy a service i've deployed plenty of times before and now I'm getting the following error: "ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 1f70767f-cf58-441a-8eff-a3752eac8501::ack54q9o32afi4ir84x12lrkc: "/.nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix": not found" Here are the full logs:
Using Nixpacks

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


context: c48a45c01120ba871156e05598c0b792



╔══════════════ Nixpacks v1.19.0 ═════════════╗

║ setup │ nodejs_18, yarn-1_x ║

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

║ install │ yarn install --frozen-lockfile ║

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

║ build │ yarn run build ║

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

║ start │ yarn run start ║

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





#0 building with "default" instance using docker driver



#1 [internal] load .dockerignore

#1 transferring context: 154B done

#1 DONE 0.1s



#2 [internal] load build definition from Dockerfile



#2 transferring dockerfile: 2.45kB done

#2 DONE 0.1s



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



#3 DONE 0.2s



#4 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1699920194@sha256:c861ec45a7401768f59183a4a51056daf7dd26ab9a5215836c81b09725b9cbb6

#4 DONE 0.0s





#5 [internal] load build context

#5 transferring context: 84.51kB done

#5 DONE 0.0s



#6 [stage-0 2/10] WORKDIR /app/

#6 CACHED



#7 [stage-0 3/10] COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix

#7 ERROR: failed to calculate checksum of ref 1f70767f-cf58-441a-8eff-a3752eac8501::ack54q9o32afi4ir84x12lrkc: "/.nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix": not found

-----



> [stage-0 3/10] COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix:

-----

Dockerfile:7

-------------------

5 |

6 |

7 | >>> COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix

8 | RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d
Using Nixpacks

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


context: c48a45c01120ba871156e05598c0b792



╔══════════════ Nixpacks v1.19.0 ═════════════╗

║ setup │ nodejs_18, yarn-1_x ║

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

║ install │ yarn install --frozen-lockfile ║

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

║ build │ yarn run build ║

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

║ start │ yarn run start ║

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





#0 building with "default" instance using docker driver



#1 [internal] load .dockerignore

#1 transferring context: 154B done

#1 DONE 0.1s



#2 [internal] load build definition from Dockerfile



#2 transferring dockerfile: 2.45kB done

#2 DONE 0.1s



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



#3 DONE 0.2s



#4 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1699920194@sha256:c861ec45a7401768f59183a4a51056daf7dd26ab9a5215836c81b09725b9cbb6

#4 DONE 0.0s





#5 [internal] load build context

#5 transferring context: 84.51kB done

#5 DONE 0.0s



#6 [stage-0 2/10] WORKDIR /app/

#6 CACHED



#7 [stage-0 3/10] COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix

#7 ERROR: failed to calculate checksum of ref 1f70767f-cf58-441a-8eff-a3752eac8501::ack54q9o32afi4ir84x12lrkc: "/.nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix": not found

-----



> [stage-0 3/10] COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix:

-----

Dockerfile:7

-------------------

5 |

6 |

7 | >>> COPY .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix

8 | RUN nix-env -if .nixpacks/nixpkgs-bf744fe90419885eefced41b3e5ae442d732712d.nix && nix-collect-garbage -d
16 replies