R
Railway12mo ago
Pixel

MongoDB crashes on deploy

Getting this error when MongoDB attempts to deploy, I haven’t had any issues with the database until now
No description
15 Replies
Percy
Percy12mo ago
Project ID: b5939e1d-af7d-4325-abe5-a0ea3668f629
Pixel
PixelOP12mo ago
b5939e1d-af7d-4325-abe5-a0ea3668f629 It says diagnostic data is detected but I have no idea how to access it
Brody
Brody12mo ago
@jr - mongodb crashing
Melissa
Melissa12mo ago
@Pixel hey! i'm not able to reproduce in my own project.. what happens if you redeploy? (click the 3 dots next to the failed deployment and choose Redeploy)
Pixel
PixelOP12mo ago
Crashes upon redeploy, thing is I destroyed the MongoDB service (without the volume) and reattached the volume to a new service and the error still occurs Mongosh into the service doesn't seem to work either Thing is this started happening right after the downtime was over so I'm assuming it's because my service went offline unexpectedly and now the data is corrupted somehow?
Pixel
PixelOP12mo ago
Even using the repair parameter doesn't work
Melissa
Melissa12mo ago
ahh dang okay, so perhaps the service went down when some writes were in-flight and led to corruption. i can try to dig in, but curious about the data on the volume, sounds like you're trying to save it and want to avoid a clean deploy with a new volume?
Pixel
PixelOP12mo ago
Yeah, pretty much.
Melissa
Melissa12mo ago
definitely not ideal and not a solution, but figured i'd ask
Pixel
PixelOP12mo ago
I believe the solution I found online was to delete the lockfile, however Railway doesn't offer support for S/FTP into a volume or a service so that's not an option.
Melissa
Melissa12mo ago
no, we don't have anything like that atm, but we're hearing it quite a bit so it's top of mind. i can try some behind the scenes finagling
Pixel
PixelOP12mo ago
Is there possibly a service template that I can use that acts like a file browser? Like a node-based file tree or something I can probably move the volume to an empty service and see what I can work with
Melissa
Melissa12mo ago
oh yeah Brody actually has one published - https://railway.app/template/Nan7Bs
Pixel
PixelOP12mo ago
Great. Thanks.
Want results from more Discord servers?
Add your server