App deployment failure
afc-gif
HOBBYOP

2 months ago

I have built and deployed this app on render and it was smooth just switched to Railway and everything is falling apart, the deployment keeps failing without any error log
Starting Container

===== APP STARTUP: Sun Dec 14 11:37:58 UTC 2025 =====

[Sun Dec 14 11:37:58 UTC 2025] Creating .env from environment variables...

[Sun Dec 14 11:37:58 UTC 2025] Setting up directories...

[Sun Dec 14 11:37:58 UTC 2025] ✓ Directories ready

[Sun Dec 14 11:37:58 UTC 2025] Setting up storage link...

INFO The [public/storage] link has been connected to [storage/app/public].

[Sun Dec 14 11:37:58 UTC 2025] ✓ Storage link verified

[Sun Dec 14 11:37:58 UTC 2025] Clearing caches...

INFO Configuration cache cleared successfully.

INFO Route cache cleared successfully.

INFO Compiled views cleared successfully.

[Sun Dec 14 11:37:59 UTC 2025] ✓ Caches cleared

[Sun Dec 14 11:37:59 UTC 2025] Caching configuration...

INFO Configuration cached successfully.

[Sun Dec 14 11:38:00 UTC 2025] ✓ Config cached

[Sun Dec 14 11:38:00 UTC 2025] Caching routes...

[Sun Dec 14 11:38:00 UTC 2025] Running migrations...

INFO Routes cached successfully.

[Sun Dec 14 11:38:00 UTC 2025] ✓ Routes cached

INFO Nothing to migrate.

[Sun Dec 14 11:38:00 UTC 2025] ✓ Migrations complete

[Sun Dec 14 11:38:00 UTC 2025] Validating Nginx...

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

nginx: configuration file /etc/nginx/nginx.conf test is successful

[Sun Dec 14 11:38:00 UTC 2025] ✓ Nginx config valid

[Sun Dec 14 11:38:00 UTC 2025] Starting PHP-FPM...

[14-Dec-2025 11:38:00] NOTICE: fpm is running, pid 91

[14-Dec-2025 11:38:00] NOTICE: ready to handle connections

Attachments

Solved

2 Replies

proudparrot2
HOBBY

2 months ago

Make sure you configure your domains to the correct port being exposed by your application


echohack
EMPLOYEE

2 months ago

Looks like you're building php-fpm and nginx in the same container but nginx isn't running

root@2f0c91edefb5:/app/backend# ss -tlnp State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess LISTEN 0 4096 :9000 :* users:(("php-fpm",pid=96,fd=9))

You're binding to 8080 but there's nothing running on 8080. This would suggest something is wrong with your Dockerfile.

Have you tried building the application with Railpack instead? https://railpack.com


Status changed to Awaiting User Response Railway 2 months ago


Railway
BOT

2 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway about 2 months ago


Loading...