15

My MongoDB Compass won't launch. It was working an hour ago, but now it just shows this screen forever.

enter image description here

I've tried rebooting. And even uninstalling and re-installing Compass. But every time I launch it, it just shows the loading screen and never proceeds. If I go to Connect > Connect to..., it just opens another window that does the same thing.

Version 1.10.9

Windows 10 x64

How can I get this program to launch correctly? What should I investigate to try to figure this out?

Wyck
  • 10,311
  • 6
  • 39
  • 60

7 Answers7

11

Had the same issue today, with the Version 1.10.9 on Mac OSX. I then reinstalled MongoDB Compass Community Edition to the latest Beta version (Version 1.11.0-beta.1), the loading proceeded and everything went fine.

Daniel Antunes
  • 136
  • 1
  • 6
4

Same here. I tried uninstalling/reinstalling. No joy.

I reinstalled an older version 1.8.2 which worked fine. Must be an issue with the latest release.

Edit: I upgraded to 1.10.9 this morning and reverted to 1.8.2 after coming across this issue.

  • 1
    was this bug reported upstream? it would be useful to have feedback from the community there. also, when you edit, you do not need to add "edit" - try to have a finalized version of your answer at once... – anarcat Nov 23 '17 at 15:26
  • 1
    "also, when you edit, you do not need to add "edit" - try to have a finalized version of your answer at once..." ok will do thanks – brianhourigan Nov 23 '17 at 15:38
4

After having the same issue today (november 24:th) i used the latest stable version (1.10.10) and it solved the problem. I´m on Mac OS Sierra (10.12.6).

Henkealg
  • 1,466
  • 1
  • 16
  • 19
4

On window 7, i found the issue was because of two reason and both were related to power shell.

  1. First problem was because of execution policy related to power shell script, which can be solved by running the following with administrator privilege. Set-ExecutionPolicy RemoteSigned
  2. After this, please check the power shell version, in case you are trying to install latest version of mongodb on window 7, power cell version needs to me minimum of 3.0, in my case it was 2.0 and because of that installation was getting stuck. After upgrading power shell to latest, installation went through quickly.
Raj
  • 105
  • 9
2

I managed to surprisingly fix this issue by restarting my computer. I was on Ubuntu 18.04, Compass v1.x (somewhere this year).

I understand that the poster is on Windows but this was the first hit on Google.

blindbox
  • 152
  • 1
  • 10
  • 1
    Restarting worked for me as well. Mac osx. It is surprising how well the "turn it off and back on again" trick works. – BHinkson Oct 25 '19 at 21:27
1

This seems to be forever error, even in 3.6.3 version, that i've tried today. There are questions about the error everywhere. The link below

Installation/Update of MongoDB 3.6.2 on Windows Hangs

explains the problem - the install trying to run execute the PowerShell script to download/install MongoDB Compass, which seems to hang due to insufficient rights. DO NOT install Compass, or install it later with appropriate rights.

WebComer
  • 1,131
  • 2
  • 19
  • 31
1

The same problem here. My MongoDB version v4.2.1, compass-1.23 on Win 10 OS.

In MongoDB Compass screen panel, I went to View-> Toggle DevTools. In Console section there was error indication in red : """Error: Command failed: powershell (...'powershell' is not recognized as an internal ..."""

Powershell can be added to environment variables paths: Please check this: Powershell' is not recognized as an internal or external command, operable program or batch file

So, I closed MongoDB Compass window. Then I added path to environment variables:

C:\Windows\System32\WindowsPowerShell\v1.0\

And it solved my problem.

You can also add this line too, to enable MongoDB cmd line commands (your location and version can be different):

C:\Program Files\MongoDB\Server\4.2\bin\

Please check this: How to Install MongoDB on Windows 7/8/10 | How to Install Mongo Compass as separate installer

Dharman
  • 30,962
  • 25
  • 85
  • 135
Bex
  • 43
  • 5