a year ago
I am experiencing an issue with my MongoDB deployment on Railway. My application is not working correctly due to an error related to a lock file (mongod.lock). The deployment logs show the following:
Detected unclean shutdown - Lock file is not emptyRecovering data from the last clean checkpoint.
I am not sure how to resolve this issue because I am a new user on Railway, and I have never used Docker before, so I am not familiar with its configuration. Could you please help me solve this issue?
5 Replies
a year 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 brody • over 1 year ago
a year ago
You where on the trial plan and where limited to 500MB Volumes, MongoDB can not happily run with only 500MB, you will need to go into the volume's settings to grow it to 5GB.
a year ago
Thank you for your response. I have upgraded my subscription, and I now have 8GB of RAM and 8GB of storage available. However, I am still facing issues with MongoDB due to the volume limitation.
a year ago
Please read my previous message.
https://docs.railway.app/overview/the-basics#volume-settings
a year ago
Thank you very much for providing the documentation!
I truly appreciate the quick response and help. I was able to solve my problem. Have a great day!
Status changed to Solved brody • over 1 year ago