MongoDB Compass loading forever - mongodb

My MongoDB Compass won't launch. It was working an hour ago, but now it just shows this screen forever.
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?

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.

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.

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).

On window 7, i found the issue was because of two reason and both were related to power shell.
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
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.

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.

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.

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

Related

MySQL Workbench 8.0.32.CE crashes on macOS Monterey 12.6.3

This happens to me when I run the show databases commands; and the SHOW CREATE TABLE command.
The other commands I can write and execute normally.
MacBook Pro early 2015, 64 bits.
I tried to check the MySQL version (x86_64 Homebrew install), I tried to restart the processes.
I was also having the same issue where if I ran any type of query the entire application would crash, v8.0.31 seems to be the most stable version and that worked for me.
I was also facing the similar problem with 8.0.32, but I tried with 8.0.30 and my problem got resolved. So you can try with lesser version 8.0.30 or equal.

Error installing MongoDb Compass on Windows

I am having trouble installing mongodb compass 1.34.0 on windows 11 and the error shows up saying "Error while validating preferences from: Command Line". Is there a solution to this?
I tried redownloading the application and restarting the laptop, however nothing changed.
I just downloaded latest version of Mongo Compass, and I had the exact same error. My solution was to download de MSI installer instead of the .exe

MongoDB 3.6.2 2008R2 Plus Not Installing

I'm trying to install MongoDb 3.6.2 2008R2 plus on my 64bit Window 10 (build no 1709) but the setup after some time says "setup wizard ended prematurely because of an error.your system has not been modified.To. Install this program at a later time run setup wizard again.click finish button to exit the setup." Any one know any fix regarding this issue?
I solved this problem by declining to install Compass together with Mongo in the installer wizard.
I have the same issue. I solved it by choosing the following way:-
Choose Custom Installation
Uncheck Compass Installation with MongoDb
Finish the Setup
Again start setup and click on change the installation
Tick Compass Installation with MongoDb
Finish the Setup
I had same problem and solved it by removing these folders that created on previous setup and running the setup again:
%USERPROFILE%\AppData\Roaming\MongoDB Compass Community
%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MongoDB Inc
%USERPROFILE%\AppData\Local\MongoDBCompassCommunity
and some files like this in Prefetch folder:
C:\Windows\Prefetch\MONGODBCOMPASSCOMMUNITY.EXE-0044164A.pf
I tried the suggestion above but none works for me. Instead, I ended up downloading the archive version and extract that and place that in the folder structure below (on Windows 10, 64 bit)
C:\Program Files\MongoDB\Server\3.6.5\
Then I configured the system environment path and it works fine. As this is for testing, it would be fine for now.
I unselected ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" in the Windows Features (Turn Windows features on or off). After restarting mongodb and Compass got installed successfully.
I tried to install MongoDB Enterprise 2008R2 for Windows 10 64-bit and had the exact same problem.
I already had Compass installed, so here is what I did:
Uninstall Compass
Select install when needed (this will get you to the next page where you're prompted to install Compass or not. If you choose Install Everything you WON'T get the option to NOT install Compass (the other comments here might be earlier versions of Mongo... I'm not sure).
Install
Now re-install Compass.
That fixed it for me.

MongoDb initial startup says hot fix not installed but it is

I am trying to install MongoDB on Windows 7 Enterprise (32bit) VM running in VirtualBox on Windows7 Ultimate 64bit.
The MongoD.exe start up reports a missing Microsoft Hotfix, KB2731284. I downloaded and installed the hot fix on the VM. The hotfix was not required on the Host PC.
Mongod.exe still reported it was not installed. Ran the hotfix a second time and it reported that it was already installed.
I tried uninstalling an reinstalling mongoDB, no luck.
Stuck, any ideas?
MongoDB.com lists stackoverflow as the support portal.
per SO
I think you can run MongoDb without applying the Hotfix, but I would not recommend it. In long time you may run into problems. They have included some fixes in MongoDB to workaround the problem.
On Windows 7 and Windows Server 2008 R2 when applying the hotfix you get a better file allocation performance what is relevant for MongoDB
So when using mongo 2.6.0 there is workaround implemented.

PowerShell 3.0 Installation Error on Windows 7 SP1

I have been trying for a couple days to get Windows Management Framework 3.0 to install on my Windows 7 Enterprise, SP1 desktop machine. The installation seems to go fine, and at the end it requests a reboot as it should. After the reboot, it says installation has failed and rolls everything back out.
In the System Setup Logs it shows the following error:
Package KB2506143 failed to be changed to the Installed state. Status: 0x80070005.
I definitely meet the pre-requisites. I have uninstalled .NET 4.5 and 4.0 and re-installed both, with reboots in between. It always comes back with that same error.
Any ideas?
Make sure you run the installation as Administrator. It's not sufficient to be logged on with an account that has local admin privileges; you need to select Run as administrator from the context menu, or run it from an elevated command prompt. I ran into that error the first time I tried to install Management Framework 3.0 by just double-clicking the downloaded .exe file. It worked when I launched it from an elevated prompt (Run as administrator would have the same effect).
For me the problem was the .Net Framework WoW64 features were missing. More specifically mscoree.dll couldn't be found. Installing the NetFx2-ServerCore-WoW64 & NetFx3-ServerCore-WoW64 features fixed the problem for me.
http://josheinstein.com/blog/2011/09/solved-this-program-cant-start-because-mscoree-dll-is-missing-from-your-computer/