It won't let me deploy my Laravel project

aldair0308
HOBBY

a year ago

8 16.86

8 16.86 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

8 16.86 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7

8 16.86

8 16.86 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

8 16.86 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:

8 16.86 87| inherit buildCommand name;

8 16.86 88| passAsFile = [ "buildCommand" ]

8 16.86 | ^

8 16.86 89| ++ (derivationArgs.passAsFile or []);

8 16.86

8 16.86 (stack trace truncated; use '--show-trace' to show the full, detailed trace)

8 16.86

8 16.86 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/12] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d:

16.86 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env'

16.86 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7:

16.86 87| inherit buildCommand name;

16.86 88| passAsFile = [ "buildCommand" ]

16.86 | ^

16.86 89| ++ (derivationArgs.passAsFile or []);

16.86

16.86 (stack trace truncated; use '--show-trace' to show the full, detailed trace)

16.86

16.86 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 |

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

Error: Docker build failed

Estos son los logs y este es mi .env del proyecto

APPDEBUG=true APPENV=production
APPKEY=base64:Qb5Ul4U/u1wgpWC6i6/tgU3Rw2H14BZdcNDruaUvRkc= APPNAME=Laravel
APPURL=https:pueblo-web.railway.internal AWSACCESSKEYID=
AWSBUCKET= AWSDEFAULTREGION=us-east-1 AWSSECRETACCESSKEY=
AWSUSEPATHSTYLEENDPOINT=false
BROADCASTDRIVER=log CACHEDRIVER=file
DBCONNECTION=mysql DBDATABASE=railway
DBHOST=monorail.proxy.rlwy.net DBPASSWORD=btFtQPcgTDtngJwgZNbHOvgdUzNXBsXJ
DBPORT=58781 DBUSERNAME=root
FILESYSTEMDISK=local LOGCHANNEL=stack
LOGDEPRECATIONSCHANNEL=null
LOGLEVEL=debug MAILENCRYPTION=null
MAILFROMADDRESS=hello@example.com
MAILFROMNAME=${APPNAME} MAILHOST=mailpit
MAILMAILER=smtp MAILPASSWORD=null
MAILPORT=1025 MAILUSERNAME=null
MEMCACHEDHOST=127.0.0.1 NIXPACKSBUILDCMD=composer install && npm install --production && php artisan optimize && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force PUSHERAPPCLUSTER=mt1 PUSHERAPPID= PUSHERAPPKEY= PUSHERAPPSECRET= PUSHERHOST=
PUSHERPORT=443 PUSHERSCHEME=https
QUEUECONNECTION=sync REDISHOST=127.0.0.1
REDISPASSWORD=null REDISPORT=6379
SESSIONDRIVER=file SESSIONLIFETIME=120
VITEPUSHERAPPCLUSTER=${PUSHERAPPCLUSTER} VITEPUSHERAPPKEY=${PUSHERAPPKEY}
VITEPUSHERHOST=${PUSHERHOST} VITEPUSHERPORT=${PUSHERPORT}
VITEPUSHERSCHEME=${PUSHER_SCHEME}

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

a year ago

As per your build logs -

php80 has been dropped due to the lack of maintenance

Please upgrade to php 8.1, if your app is already compatible please update the php version as set in your composer.json file.


It won't let me deploy my Laravel project - Railway Help Station