-
Deployment Log [2024-Jul-10 03:53:22.635501] Oops something is not okay, are you okay? 😢
[2024-Jul-10 03:53:22.656862] #0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.18kB done
#1 DONE 0.0s
#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1716249803
#2 DONE 0.7s
#3 [internal] load .dockerignore
#3 transferring context: 2B 0.0s done
#3 DONE 0.1s
#4 [ 1/13] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1716249803@sha256:5ef4d2021c418fcaabb56cea5ea9e24a5fdedfe27f58062d9689214dfed45c46
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 536.54kB 0.7s done
#5 DONE 0.7s
#6 [ 2/13] WORKDIR /app/
#6 CACHED
#7 [ 3/13] COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix
#7 CACHED
#8 [ 4/13] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
#8 106.4 installing '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
#8 115.5 error:
#8 115.5 … while calling the 'derivationStrict' builtin
#8 115.5 at <nix/derivation-internal.nix>:9:12:
#8 115.5 8|
#8 115.5 9| strict = derivationStrict drvAttrs;
#8 115.5 | ^
#8 115.5 10|
#8 115.5
#8 115.5 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
#8 115.5 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
#8 115.5
#8 115.5 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
#8 115.5 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
#8 115.5 87| inherit buildCommand name;
#8 115.5 88| passAsFile = [ "buildCommand" ]
#8 115.5 | ^
#8 115.5 89| ++ (derivationArgs.passAsFile or []);
#8 115.5
#8 115.5 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
#8 115.5
#8 115.5 error: php80 has been dropped due to the lack of maintenance from upstream for future releases
#8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
------
> [ 4/13] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d:
115.5 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
115.5 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
115.5 87| inherit buildCommand name;
115.5 88| passAsFile = [ "buildCommand" ]
115.5 | ^
115.5 89| ++ (derivationArgs.passAsFile or []);
115.5
115.5 (stack trace truncated; use '--show-trace' to show the full, detailed trace)
115.5
115.5 error: php80 has been dropped due to the lack of maintenance from upstream for future releases
------
Dockerfile:8
--------------------
6 |
7 | COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix
8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
9 | RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends curl wget
10 | COPY .nixpacks/assets /assets/
--------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
[2024-Jul-10 03:53:22.660652] Deployment failed. Removing the new version of your application. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Same, it is nice when someone has the same issue I tried to deploy a NodeJS, here are the logs: |
Beta Was this translation helpful? Give feedback.
-
same problem |
Beta Was this translation helpful? Give feedback.
-
just updated my
It suggests we use another PHP version, as you can also check the Nixpack docs about PHP https://nixpacks.com/docs/providers/php they support starting 8.1 now. NOTE: when upgrading major version, make sure to follow official migration guide. |
Beta Was this translation helpful? Give feedback.
just updated my
composer.json
to the latest Laravel version and also the PHP. Check the log error:It suggests we use another PHP version, as you can also check the Nixpack docs about PHP https://nixpacks.com/docs/providers/php they support starting 8.1 now.
NOTE: when upgrading major version, make sure to follow official migration guide.