Pre-deploy command failed and logs are not visible
abdo-lafraise
PROOP

25 days ago

The "agent" also didn't give me any meaningful help, I just want to see the logs.

$20 Bounty

4 Replies

Railway
BOT

25 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 25 days ago


What are you trying to deploy? What predeploy command did you set it to?


abdo-lafraise
PROOP

25 days ago

An internal service, custom docker file, can't share here cause its public, but this is my preDeployCommand from railway.json

```

"preDeployCommand": "cd apps/my-app && sh ./railway-predeploy.sh"

```

The sh file just runs db migrations

I can figure out the solution to the problem if I fiddle around enough with it, but I having the logs would be oh so helpful.

Just to emphasise: my problem is not that my app is not deploying, this is something I have to solve, my problem is that I don't see any logs to why it is failing to deploy, this is a railway problem.


anthonysette
PRO

17 days ago

Im experiencing the same, making it really difficult to debug a failing predeploy script.

Everything works just fine but there are no logs for pre deploy script. One time I saw them, otherwise Ive run the CI like 15 times with no logs from failing pre deploy script.


anthonysette
PRO

17 days ago

The diagnose tool can see the predeploy logs though, but all im working on then is a summary of the issue which is a bit unclear at this point


Welcome!

Sign in to your Railway account to join the conversation.

Loading...