PHP 8.2 Template Nixpacks Failing

nw-bHOBBY

a year ago

Starting first deploy for a PHP/Laravel project from Github is failing:

[Region: us-west1]

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

Using Nixpacks

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

context: 3e2ef8ead8064ad4420068e00528a76a

╔══════════════════════════════ Nixpacks v1.24.0 ══════════════════════════════╗

║ setup │ (php82.withExtensions (pe: pe.enabled ++ [pe.all.bcmath ║

║ │ pe.all.ctype pe.all.curl pe.all.dom pe.all.fileinfo ║

║ │ pe.all.filter pe.all.hash pe.all.igbinary pe.all.imagick ║

║ │ pe.all.intl pe.all.mbstring pe.all.msgpack pe.all.openssl ║

║ │ pe.all.pcre pe.all.pdo pe.all.pdo_mysql pe.all.readline ║

║ │ pe.all.redis pe.all.session pe.all.tokenizer pe.all.zip

║ │ pe.all.zlib])), nginx, libmysqlclient, php82Packages.composer, ║

║ │ nodejs18, yarn-1x, php82Extensions.bcmath, ║

║ │ php82Extensions.ctype, php82Extensions.curl, ║

║ │ php82Extensions.dom, php82Extensions.fileinfo, ║

║ │ php82Extensions.filter, php82Extensions.hash, ║

║ │ php82Extensions.igbinary, php82Extensions.imagick, ║

║ │ php82Extensions.intl, php82Extensions.mbstring, ║

║ │ php82Extensions.msgpack, php82Extensions.openssl, ║

║ │ php82Extensions.pcre, php82Extensions.pdo, ║

║ │ php82Extensions.pdo_mysql, php82Extensions.readline, ║

║ │ php82Extensions.redis, php82Extensions.session, ║

║ │ php82Extensions.tokenizer, php82Extensions.zip, ║

║ │ php82Extensions.zlib ║

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

║ install │ mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx ║

║ │ composer install --ignore-platform-reqs ║

║ │ yarn install --check-cache ║

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

║ build │ yarn run prod ║

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

║ start │ node /assets/scripts/prestart.mjs /assets/nginx.template.conf ║

║ │ /nginx.conf && (php-fpm -y /assets/php-fpm.conf & nginx -c ║

║ │ /nginx.conf) ║

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

0 building with "default" instance using docker driver

1 [internal] load build definition from Dockerfile

1 transferring dockerfile: 2.08kB done

1 DONE 0.1s

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

2 DONE 0.1s

3 [stage-0 1/20] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1716249803@sha256:5ef4d2021c418fcaabb56cea5ea9e24a5fdedfe27f58062d9689214dfed45c46

3 DONE 0.0s

4 [internal] load .dockerignore

4 transferring context: 2B done

4 DONE 0.1s

5 [internal] load build context

View Deploy details

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

1 Replies

a year ago

Full build logs please -

https://bookmarklets.up.railway.app/log-downloader/


PHP 8.2 Template Nixpacks Failing - Railway Help Station