mongodb not working after Lightsail MEAN instance upgrade

0

Create a new Lightsail MEAN instance(2GB ram) using snapshot from another Lightsail MEAN instance (512mb ram). Both instances are in same region. Everything working as except mongo db.

I am getting this error when trying to connect to MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

I tried to start mongo - sudo service mongodb start and getting below message Failed to start mongodb.service: Unit mongodb.service not found.

mongo was working in the previous instance. Should we do anything else after creating an instance from snapshot?

Any help is truly appreciated.

paul
feita há 2 anos212 visualizações
1 Resposta
0

Not sure about what caused this. I created another instance from a previous snapshot and it worked magically. Strange though.

paul
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas