#Mongo DB crashed - please help

61 messages · Page 1 of 1 (latest)

velvet pulsar
#

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

red cloudBOT
#

Project ID: N/A

lost raptorBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

fallow bough
velvet pulsar
fallow bough
#

can you send a screenshot of the service metrics and volume graph?

velvet pulsar
#

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

fallow bough
#

screenshot of the services volume graph?

#

also, where is your service that connects to mongo?

velvet pulsar
#

service volume.. I thought thats it already 😄 I'll search for more

#

Thats my nodejs backend

fallow bough
velvet pulsar
#

wooden-clover is my backend. glossy-notebook the mongodb

#

this right ?

fallow bough
#

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

velvet pulsar
#

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 😄

fallow bough
#

the trial only gets you a 500mb volume, you would have had to upgrade eventually

velvet pulsar
#

okay then can I ask one more thing - is it possible to deploy code, without having the repo public on github ?

fallow bough
#

yes of course

velvet pulsar
#

I dislike, that everyone can see my repo currently

#

Oh okay

fallow bough
#

make it private then lol

velvet pulsar
#

and I can still deploy automatically when pushing new versions ? nice!!

fallow bough
#

as long as you have given the railway app access to your repos it will work all the same

velvet pulsar
#

okay, hobby it is then 😄

#

thanks

fallow bough
#

once you upgrade you will see this grow button in the volumes settings

#

grow the volume, then restart the database

velvet pulsar
#

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 ?

velvet pulsar
fallow bough
#

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)

velvet pulsar
#

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

fallow bough
#

dont worry about taking my time, thats what im here for

velvet pulsar
#

Great, thanks.
I'll come back if I need you again then, hehe.

fallow bough
#

sounds good!

velvet pulsar
#

Have a wonderful day and happy new year 🙂

fallow bough
#

you too!

velvet pulsar
#

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

#

@fallow bough

fallow bough
#

what is in the logs?

velvet pulsar
#

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 ?

fallow bough
#

show me a screenshot of your project now?

velvet pulsar
#

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

fallow bough
#

glad its working now, but always keep a backup of your database as railway is not responsible for data loss

velvet pulsar
fallow bough
#

looks good

velvet pulsar
#

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.