R
Railwayβ€’2mo ago
mr. Nermin

Issue with nixpacks build

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
11 Replies
Percy
Percyβ€’2mo ago
Project ID: 393f3b53-a2da-4a7b-b40c-84e7306cebe4
mr. Nermin
mr. NerminOPβ€’2mo ago
Project ID: 393f3b53-a2da-4a7b-b40c-84e7306cebe4
Joshie
Joshieβ€’2mo 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
mr. Nermin
mr. NerminOPβ€’2mo ago
here is the log @Joshie
No description
Adam
Adamβ€’2mo 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 please send the entire log file
Joshie
Joshieβ€’2mo 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.
mr. Nermin
mr. NerminOPβ€’2mo 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, nodejs_18, yarn-1_x, β•‘ β•‘ β”‚ 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 @Joshie Is there some kind of admin or someone that is responsible for answering questions or only users can help you?
Joshie
Joshieβ€’2mo ago
Is this the entire build log? I am pretty sure it isn’t. 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.
Adam
Adamβ€’2mo ago
@mr. Nermin That is not the full build logs. In order to help, you'll have to send the entire log file.
mr. Nermin
mr. NerminOPβ€’2mo 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.
Adam
Adamβ€’2mo ago
that is not enough, there are more logs. All that log tells us is that the build failed, not why it failed if you want help, you will need to provide the entire log
Want results from more Discord servers?
Add your server