Emergency MONGO subs/data is all gone


#1

Hey all I am having an emergency, I was adding some stuff to my app and everything has been working perfectly, Im hosting on galaxy and all is well. All of a sudden after I do a deploy I am getting no data to my app from my mongo db either local or remote. I am not getting any errors and it starts my app just fine. I need help please I am freaking out this is an app in production.


#2

Where is your mongodb hosted? Can you connect to your DB outside of meteor? Is any data there? Do you make backups of your data?


#3

It wont even connect to my local db on my local machine :cry: I am freaking out…
I have the remote db on an aws instance.


#4

I have backups and I can connect with robomongo its just my app wont connect all of a sudden and Im not getting any errors…


#5

How is a galaxy hosted application supposed to connect to your local db? Or do you mean the local app is not connecting?

Did you change anything in your code? Did you remove/add packages?


#6

The local app isnt connecting to the local db


#7

No and Im not getting any errors.


#8

so it suddenly stopped working without you doing anything? Difficult to help without more information.


#9

I was changing some minor code and doing a deploy, all of a sudden I cant see any of my data its like my app cant connect to it anymore?


#10

I didnt add any packages or anything


#11

but I can see it in robomongo with remote and local


#12

Roll back the minor code change and see what happens.

There really isn’t anything more anybody will be able to tell you without any code examples.


#13

Galaxy should be showing errors in the logs if it is unable to connect to the database.


#14

Its not man and neither is my local


#15

someone please help me figure this out? Can anyone do a screen share or google hangout or something??


#16

If you can’t connect locally either, it must be something you added in your most recently commits. I would just roll back until you get it working again, then you can gradually add in your new code until you figure out what is breaking it.


#17

can I do rollbacks in galaxy?


#18

I think if you rollback locally, then do your meteor deploy command it will push whatever version you currently have in your local project folder. I think. I haven’t done it before.

I would make sure your local rollbacks fix the issue first before push up to galaxy.