R
Railway•11mo ago
JustChris

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
Percy
Percy•11mo ago
Project ID: N/A
JustChris
JustChrisOP•11mo ago
Brody
Brody•11mo ago
can you send a screenshot of the service metrics and volume graph?
JustChris
JustChrisOP•11mo ago
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
Brody
Brody•11mo ago
screenshot of the services volume graph? also, where is your service that connects to mongo?
JustChris
JustChrisOP•11mo ago
service volume.. I thought thats it already 😄 I'll search for more Thats my nodejs backend
Brody
Brody•11mo ago
click on the volume and send a screenshot please
JustChris
JustChrisOP•11mo ago
wooden-clover is my backend. glossy-notebook the mongodb this right ?
Brody
Brody•11mo ago
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
JustChris
JustChrisOP•11mo ago
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 😄
Brody
Brody•11mo ago
the trial only gets you a 500mb volume, you would have had to upgrade eventually
JustChris
JustChrisOP•11mo ago
okay then can I ask one more thing - is it possible to deploy code, without having the repo public on github ?
Brody
Brody•11mo ago
yes of course
JustChris
JustChrisOP•11mo ago
I dislike, that everyone can see my repo currently Oh okay
Brody
Brody•11mo ago
make it private then lol
JustChris
JustChrisOP•11mo ago
and I can still deploy automatically when pushing new versions ? nice!!
Brody
Brody•11mo ago
as long as you have given the railway app access to your repos it will work all the same
JustChris
JustChrisOP•11mo ago
okay, hobby it is then 😄 thanks
Brody
Brody•11mo ago
once you upgrade you will see this grow button in the volumes settings grow the volume, then restart the database
JustChris
JustChrisOP•11mo ago
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 ?
Brody
Brody•11mo ago
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)
JustChris
JustChrisOP•11mo ago
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
Brody
Brody•11mo ago
dont worry about taking my time, thats what im here for
JustChris
JustChrisOP•11mo ago
Great, thanks. I'll come back if I need you again then, hehe.
Brody
Brody•11mo ago
sounds good!
JustChris
JustChrisOP•11mo ago
Have a wonderful day and happy new year 🙂
Brody
Brody•11mo ago
you too!
JustChris
JustChrisOP•11mo ago
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
Brody
Brody•11mo ago
what is in the logs?
JustChris
JustChrisOP•11mo ago
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 ?
Brody
Brody•11mo ago
show me a screenshot of your project now?
JustChris
JustChrisOP•11mo ago
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
Brody
Brody•11mo ago
glad its working now, but always keep a backup of your database as railway is not responsible for data loss
JustChris
JustChrisOP•11mo ago
Brody
Brody•11mo ago
looks good
JustChris
JustChrisOP•11mo ago
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.
Brody
Brody•11mo ago
i too have spent a lot of time getting stuff to work for users
Want results from more Discord servers?
Add your server