18 days ago
I created a volume for my node service and specified the path as "app/storage". When my backend redeploys, the container starts up but then immediately stops and is left in a loop trying to deploy.
If I remove the volume, the application starts.
This is a NestJS app, so there should be some logging if it were a service startup failure.
I confirmed I don't have any code that needs this path on startup.
Anything worth trying would help, thank you.
Attachments
4 Replies
Status changed to Open Railway • 18 days ago
18 days ago
Try adding a custom start command that uses node to start your application instead of a package manager like npm or pnpm.
https://docs.railway.com/deployments/troubleshooting/nodejs-sigterm-handling
18 days ago
18 days ago
AI suggested I remove my predeploy script which migrated the db. But that just causes it to sit indefinitely.
https://github.com/cgatian/gettin-paid/commit/fa0a0eba47361859ee91045ca52967897341cb30
Attachments