No cron service deployment logs
chinanderm
PROOP

3 months ago

I'm standing up my first cron service on Railway and am running into some issues. To test, I'm manually executing the process but it fails after ~1s (as indicated by a red "dot" next to the execution) but there are ZERO logs available to tell me what's wrong.

I'm not sure how to debug without logs. I'm using a Dockerfile because I need v17 of pg_dump available in my execution for the purposes of an external DB backup. Specifying postgresql-client version isn't seemingly possible with Railpack, so I've resorted to Dockerfile. The Docker build process completes successfully but something is happening during the execution that I have zero visibility into.

Solved

6 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


chinanderm
PROOP

3 months ago

Of course, right after posting this I got the issue resolved. In my railway.json, I still had deploy.startCommand configured despite moving to the Dockerfile set up. I removed deploy.startCommand and it started working. Mistake on my part.


Status changed to Solved chinanderm 3 months ago


3 months ago

Glad you found the issue, but internally, it was a failure from 'cd' not being found in PATH that was not propagated to the logs.


Status changed to Awaiting User Response Railway 3 months ago


Railway
BOT

3 months ago

Hello!

We're acknowledging your issue and attaching a ticket to this thread.

We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.

Please reply to this thread if you have any questions!


Railway
BOT

3 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 3 months ago


Railway
BOT

2 months ago

❌ The ticket Build error messages not shown to users has been marked as canceled.


Railway
BOT

2 months ago

✅ The ticket Build error messages not shown to users has been marked as completed.


Loading...