Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mongodb Compass cannot be opened in Ubuntu 18.10

Tags:

Installed successfully MongoDB Compass on Ubuntu 18.10. But when I try to run it, it refuses to start without showing anything. I am a newbie in MongoDB. What to do?

like image 302
Sandip Nath Avatar asked Nov 02 '18 16:11

Sandip Nath


People also ask

Why my MongoDB compass is not working?

This error often occurs when: You provide no hostname or an invalid hostname to the Compass connect dialog. The destination server rejects a connection on an incorrect port. Your MongoDB cluster or server has been shutdown or the server hostname has changed.

How install Compass terminal ubuntu?

Installing MongoDB Compass on Linux: Step 1: Open your browser & search for MongoDB compass. Step 2: Click on the first link. Step 3: Click on the Try It Now option. Step 4: Find the available version & click on download.

How do I open MongoDB compass?

Step 1: To begin, go to the MongoDB website by clicking on this link. Dowload the latest version of MongoDB Compass. Step 2: After downloading, unzip the file. Step 3: Launch the MongoDB Compass application.


2 Answers

Try with following commands. These steps worked for me.

wget https://downloads.mongodb.com/compass/mongodb-compass_1.15.1_amd64.deb sudo dpkg -i mongodb-compass_1.15.1_amd64.deb sudo apt --fix-broken install sudo apt -y install libgconf2-4 mongodb-compass; 
like image 62
Rama Krishna Avatar answered Oct 14 '22 13:10

Rama Krishna


Try these command in terminal :

1. $ wget https://downloads.mongodb.com/compass/mongodb-compass_1.12.1_amd64.deb;

2. $ sudo dpkg -i mongodb-compass_1.12.1_amd64.deb

  1. $ mongodb-compass;

Worked for me.I'm also using Ubuntu 18.10

(Try to change the version of the mongodb compass - lower than 15- v)

like image 42
Nimesh Kumar Avatar answered Oct 14 '22 15:10

Nimesh Kumar