Mongo DB crashed - please help
Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost
Listening on
Listening on
Listening on
Waiting for connections
Writing fatal message
Writing fatal message
Writing fatal message
BACKTRACE
Frame
Frame
38 Replies
Project ID:
N/A
full logs please https://bookmarklets.up.railway.app/log-downloader/
can you send a screenshot of the service metrics and volume graph?
sure
I basically just stored 1 user account data in my db - I was able to use it in my application for quite a while and didnt actually change anything - until today I find out I cant login anymore.
Then I see, Mongo crashed - I restarted it - I could login once.. but it crashed again right after
I have no clue what could be the reason - volume seems still fine
screenshot of the services volume graph?
also, where is your service that connects to mongo?
service volume.. I thought thats it already 😄 I'll search for more
Thats my nodejs backend
click on the volume and send a screenshot please
wooden-clover is my backend. glossy-notebook the mongodb
this right ?
its possible mongo is trying to do some disk allocations but you only have a 500mb volume, can you try upgrading to hobby and then grow the volume
Hm, what could that be ? I have only a user table. that's it.
I chose railway because I can play around a little first without paying anything 😄
the trial only gets you a 500mb volume, you would have had to upgrade eventually
okay then can I ask one more thing - is it possible to deploy code, without having the repo public on github ?
yes of course
I dislike, that everyone can see my repo currently
Oh okay
make it private then lol
and I can still deploy automatically when pushing new versions ? nice!!
as long as you have given the railway app access to your repos it will work all the same
okay, hobby it is then 😄
thanks
once you upgrade you will see this grow button in the volumes settings
grow the volume, then restart the database
okay will do.
I suspect that I have two seperate spaces for DB and BE .. like can't it be all in one ?
did I set it up in the wrong way ?
could be all in wooden-clover right ?
you did set it up the wrong way indeed
the database should be in the same project as your app, like this (this is postgres and umami but you get the idea)
Okay Brody, I already had a feeling.
Then I wont take up more of your time, thanks for your input. I'll figure it out
dont worry about taking my time, thats what im here for
Great, thanks.
I'll come back if I need you again then, hehe.
sounds good!
Have a wonderful day and happy new year 🙂
you too!
I am still struggeling to get it up and running again
have you had this problem before ?
I deleted the previous DB and set up a new one in the same service as you recommended
@Brody
what is in the logs?
I deleted all variables, and MONGO DB again - setting it up from scratch
if it fails, I'll get back to you
can't be so hard, made it in the first place as well .. just frustrated at the moment 😄
might be that mongoDB Compass interfers with the railway connection to mongo DB ?
show me a screenshot of your project now?
it is running now. No clue what was wrong before .. maybe some old variables in the way
good the data in the database is only one single user so far, then I can easily set up from scratch
glad its working now, but always keep a backup of your database as railway is not responsible for data loss
looks good
okay, I will check the documentation for it 🙂
today I wanted to set up registration to my small project - so far I used 4 hours to make the project run again - I bet you know the struggle haha.
i too have spent a lot of time getting stuff to work for users