Issue with nixpacks build
nerko85
HOBBYOP

a year ago

I have a issue with a Laravel build on Railway. Please help me. I have a running app and i pushed some minor changes to the git and since than builds are failing and I really dont know why. This nixpacks builder is a garbage. Can anyone help me.
project ID: 393f3b53-a2da-4a7b-b40c-84e7306cebe4

14 Replies

nerko85
HOBBYOP

a year ago

Project ID: 393f3b53-a2da-4a7b-b40c-84e7306cebe4


coderjoshdk
TRIAL

a year ago

2 things. 1, please post the build logs. And 2, you don't have to use nixpacks. You can just use docker. Although, nixpacks is easy to use since it can figure things out based on layout of program


nerko85
HOBBYOP

a year ago

here is the log @Joshie

1291507338968305700


a year ago

Josh will need all of the logs to help you. That log just tells you that there was an error, not what the error is


a year ago

please send the entire log file


coderjoshdk
TRIAL

a year ago

@mr. Nermin No need to DM me. You can just ask here 😄
You can take screen shots of the entire build logs; you can drag and copy all of the text and paste it in. Or if you want to be fancy, you can use https://bookmarklets.up.railway.app/log-downloader/
It doesn't need to be perfect; it just is really hard to tell what is going on solely based on the screenshot you sent.


nerko85
HOBBYOP

a year ago

@Joshie here it is:
[Region: us-west1]

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

Using Nixpacks

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

context: 234d743ab5747111b1b3bec17492cc53

╔══════════════════════════════ Nixpacks v1.29.0 ══════════════════════════════╗

║ setup │ (php.withExtensions (pe: pe.enabled ++ [pe.all.gd])), nginx, ║

║ │ libmysqlclient, phpPackages.composer, nodejs18, yarn-1x, ║

║ │ phpExtensions.gd

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

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

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

║ │ yarn install --frozen-lockfile ║

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

║ build │ composer install && php artisan storage:link ║

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

║ start │ php artisan serve ║

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

0 building with "builder-OLE8" instance using docker-container driver

1 [internal] load build definition from Dockerfile

1 transferring dockerfile: 4.79kB done

1 DONE 0.0s

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

2 DONE 0.1s

3 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86

3 resolve ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86 done

3 DONE 0.0s

4 [stage-0 2/10] WORKDIR /app/

4 CACHED

5 [internal] load .dockerignore

5 transferring context: 2B done

5 DONE 0.0s

6 [internal] load build context


nerko85
HOBBYOP

a year ago

@Joshie Is there some kind of admin or someone that is responsible for answering questions or only users can help you?


coderjoshdk
TRIAL

a year ago

Is this the entire build log? I am pretty sure it isn’t.


coderjoshdk
TRIAL

a year ago

Generally this is a community platform. Some team members do answer questions here. To get more “enterprise” / first party help, you will need to be be on a higher plan.
That said, I have always had all of my questions answered here. Just please be present and patient and it does come. And if it doesn’t, it might be because we are missing information to be able to help.


a year ago

@mr. Nermin That is not the full build logs. In order to help, you'll have to send the entire log file.


nerko85
HOBBYOP

a year ago

@Joshie i copied whole log that was on the platform but it copied only this. You can see at the top the settings on the nixpacks and on the end that build failed.


a year ago

that is not enough, there are more logs. All that log tells us is that the build failed, not why it failed


a year ago

if you want help, you will need to provide the entire log


Loading...