Railway deployment mongodb issue
lofizdev
PROOP

a month ago

i had deploy my service 2 weeks ago everything working good. but this morning railway notice server issue etc... and then my service mongodb got error and crash

i need to fix and resolve that

please thiss urgent issue please resolve ASAP

image.png

Attachments

$20 Bounty

18 Replies

Railway
BOT

a month ago

Your MongoDB service was affected by the ongoing platform disruption. The logs show MongoDB is unable to start due to a Linux kernel 6.19 incompatibility with the MongoDB version you're running. We are currently in recovery, automatically redeploying unhealthy services. If your MongoDB does not recover on its own, try triggering a manual redeploy from the dashboard. If it continues to crash with the same kernel error, you may need to upgrade your MongoDB image to a version that supports kernel 6.19+.


Status changed to Awaiting User Response Railway 26 days ago


lofizdev
PROOP

a month ago

that mean i no need do everything and wait railway fix that ?


Status changed to Awaiting Railway Response Railway 26 days ago


Railway
BOT

a month 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 26 days ago


lofizdev
PROOP

a month ago

please answer my question


eerieisnotuser
HOBBY

a month ago

Should receive a fix once Railway comes online for everyone. Some users remain impacted


a month ago

Your MongoDB image isn't pinned to a specific version, which is unfortunately what caused this issue. Redeploying your service changed the minor version which surfaces errors like this.

You'll need to update the Docker image tag in your MongoDB service's Settings tab to a compatible version (e.g., mongo:8 or mongo:7-jammy) and redeploy. The community here should be able to help you diagnose further.


Status changed to Awaiting User Response Railway 26 days ago


lofizdev
PROOP

a month ago

still crash

image.png

Attachments


Status changed to Awaiting Railway Response Railway 26 days ago


lofizdev
PROOP

a month ago

please check


lofizdev
PROOP

a month ago

PLEASE FIX ASAP


grussell1-commits
HOBBY

a month ago

Same here since following the outage on 19th May, my Postgres service is stuck in a crash loop with the error: failed to exec pid1: No such file or directory. Volume ID: vol_wlhrlmbk6hsatnvc. I see they are stating that it has been fixed, it is not for me and other it seems.


grussell1-commits

Same here since following the outage on 19th May, my Postgres service is stuck in a crash loop with the error: failed to exec pid1: No such file or directory. Volume ID: vol_wlhrlmbk6hsatnvc. I see they are stating that it has been fixed, it is not for me and other it seems.

a month ago

This can be fixed with a redeploy of your PostgreSQL service. I went in and manually issued one for your service so that should resolve things 🙂. If you have any other issues, please open your own thread with us and we can dig in.


Status changed to Awaiting User Response Railway 26 days ago


mykal

This can be fixed with [a redeploy](https://docs.railway.com/deployments/deployment-actions#redeploy) of your PostgreSQL service. I went in and manually issued one for your service so that should resolve things 🙂. If you have any other issues, please open your own thread with us and we can dig in.

lofizdev
PROOP

a month ago

how abount me bro . my issues still not resolved


Status changed to Awaiting Railway Response Railway 26 days ago


lofizdev

how abount me bro . my issues still not resolved

lofizdev
PROOP

a month ago

image.png

Attachments


mfaqihridho
HOBBY

a month ago

please fix this issue, still not resolved


lofizdev
PROOP

a month ago

THIS ISSUE VERY LONG TIME NOT RESOLVED YET PLEASE ACTION ASAP


mykal

Your MongoDB image isn't pinned to a specific version, which is unfortunately what caused this issue. Redeploying your service changed the minor version which surfaces errors like this. You'll need to update the Docker image tag in your MongoDB service's Settings tab to a compatible version (e.g., `mongo:8` or `mongo:7-jammy`) and redeploy. The community here should be able to help you diagnose further.

lofizdev
PROOP

a month ago

ANY IDEA . STILL NOT RESOLVED


lofizdev

ANY IDEA . STILL NOT RESOLVED

lofizdev
PROOP

a month ago

are you there


lofizdev

are you there

chaosblade
HOBBY

a month ago

I had the same issue; my image was set to mongo:8.0 - i understood that you would want to use at least 8.2 for the native fix of that issue. If you don't want/can't upgrade to that, you need to add a variable to your release with the name GLIBC_TUNABLES and a value of glibc.pthread.rseq=0 (tldr, railway upgraded their linux kernal bases and the newer versions dont play nice with mongo 8.0's older modules)


ve-jo
HOBBYTop 5% Contributor

a month ago

At this point I would not keep redeploying the same image. You have two practical fixes:

  1. Preferred: upgrade the image from mongo:8 to the offered 8.3.2 update in Railway, then redeploy.
  2. Temporary workaround: add this service variable to the MongoDB service and redeploy:

GLIBC_TUNABLES=glibc.pthread.rseq=0

The crash is not caused by your app service. It is MongoDB itself failing before it starts because MongoDB 8.x has a known incompatibility with Linux kernel 6.19+ related to TCMalloc/rseq.

If 8.3.2 still crashes, try the GLIBC_TUNABLES workaround next, or pin to a known working tag such as mongo:7.0.34-jammy only after taking/keeping a volume snapshot.


Status changed to Open chandrika 26 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...