Can't deploy Laravel template service.
vlivanov1232
TRIAL
a year ago
I tried to deploy my project and got a build error.
Then, I tried to deploy the template service provided by the railway to test Laravel deployment.
I got the same error.
What did I do wrong?
Logs:
#8 [ 4/12] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
Apr 09 18:42:54
Apr 09 18:43:19
#8 24.61 installing '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
Apr 09 18:43:19
Apr 09 18:43:20
#8 25.56 error:
Apr 09 18:43:20
#8 25.56 … while calling the 'derivationStrict' builtin
Apr 09 18:43:20
#8 25.56 at :9:12:
Apr 09 18:43:20
#8 25.56 8|
Apr 09 18:43:20
#8 25.56 9| strict = derivationStrict drvAttrs;
Apr 09 18:43:20
#8 25.56 | ^
Apr 09 18:43:20
#8 25.56 10|
Apr 09 18:43:20
#8 25.56
Apr 09 18:43:20
#8 25.56 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
Apr 09 18:43:20
#8 25.56 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
Apr 09 18:43:20
#8 25.56
Apr 09 18:43:20
#8 25.56 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
Apr 09 18:43:20
#8 25.56 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
Apr 09 18:43:20
#8 25.56 87| inherit buildCommand name;
Apr 09 18:43:20
#8 25.56 88| passAsFile = [ "buildCommand" ]
Apr 09 18:43:20
#8 25.56 | ^
Apr 09 18:43:20
#8 25.56 89| ++ (derivationArgs.passAsFile or []);
Apr 09 18:43:20
#8 25.56
Apr 09 18:43:20
#8 25.56 error: php80 has been dropped due to the lack of maintenance from upstream for future releases
Apr 09 18:43:20
Apr 09 18:43:20
#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
Apr 09 18:43:20
Apr 09 18:43:20
-----
Apr 09 18:43:20
> [ 4/12] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d:
Apr 09 18:43:20
25.56 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7
Apr 09 18:43:20
25.56
Apr 09 18:43:20
25.56 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'
Apr 09 18:43:20
25.56 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:
Apr 09 18:43:20
25.56 87| inherit buildCommand name;
Apr 09 18:43:20
25.56 88| passAsFile = [ "buildCommand" ]
Apr 09 18:43:20
25.56 | ^
Apr 09 18:43:20
25.56 89| ++ (derivationArgs.passAsFile or []);
Apr 09 18:43:20
25.56
Apr 09 18:43:20
25.56 error: php80 has been dropped due to the lack of maintenance from upstream for future releases
Apr 09 18:43:20
-----
Apr 09 18:43:20
Apr 09 18:43:20
Dockerfile:8
Apr 09 18:43:20
-------------------
Apr 09 18:43:20
6 |
Apr 09 18:43:20
7 | COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix
Apr 09 18:43:20
8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
Apr 09 18:43:20
9 |
Apr 09 18:43:20
10 | COPY .nixpacks/assets /assets/
Apr 09 18:43:20
-------------------
Apr 09 18:43:20
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
Apr 09 18:43:20
Apr 09 18:43:20
Error: Docker build failed
> ⓘ Deployment information is only viewable by Project members and Railway admins.
1 Replies
vlivanov1232
TRIAL
a year ago
Found solution php80 has been dropped due to the lack of maintenance from upstream for future releases
. Have to specify version from >=8.0 to 8.2 explicitly.
Status changed to Solved railway[bot] • about 1 year ago