Error in Logs with Sigterm

anup2702
FREE

2 months ago

My project is facing some errors in logs.

MongoDB connected

Server running on port 8080

Health check endpoint hit

Stopping Container

npm error path /app

npm error command failed

npm error signal SIGTERM

npm error command sh -c node server.js

npm error A complete log of this run can be found in: /root/.npm/_logs/2025-08-15T05_11_26_252Z-debug-0.log

Client connected: YEWLQBb_KESD8rW8AAAD

$10 Bounty

5 Replies

Railway
BOT

2 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!


clashing
HOBBY

2 months ago

Provide the snippet of the server file, which has the healthcheckup endpoint


clashing
HOBBY

2 months ago

Ensure that you have configured the health check endpoint correctly. You can refer to my post, in which I have mentioned everything about health checkups

https://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w


clashing

Ensure that you have configured the health check endpoint correctly. You can refer to my post, in which I have mentioned everything about health checkupshttps://station.railway.com/questions/node-js-service-failing-to-deploy-with-s-dc58e402#mk2w

clashing
HOBBY

2 months ago

Any progress, anup2702?

If the previous reply helped, do mark that as the solution


papakrlo
FREE

2 months ago

Hey, the "Stopping Container" and SIGTERM logs that appear after a new deployment refer to the termination of the previous deployment's container, not the new one. You latest deployment is probably fine. Railway will probably make this distinction clearer in the logs at some point...


Error in Logs with Sigterm - Railway Help Station