[SERVER-37399] Got stuck with compass installation on windows Created: 01/Oct/18  Updated: 27/Dec/19  Resolved: 25/Oct/18

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 4.0.2, 4.2.0
Fix Version/s: 4.0.6

Type: Bug Priority: Major - P3
Reporter: Ankit khandelwal Assignee: Mathew Robinson (Inactive)
Resolution: Incomplete Votes: 0
Labels: needs_info
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File MongoDB installation error.jpg    
Issue Links:
Problem/Incident
is caused by SERVER-35936 MongoDB Community Windows installer f... Closed
Related
Operating System: Windows
Participants:

 Description   

Hi All,

 

I need urgent help to install MongoDB. I am trying to install MongoDB and it got stuck on "Installing MongoDB compass". In task editor its showing installing "Powershell.exe" . I didn't find any resolution. 

Please help me to install. I am attaching screen shot for your reference.



 Comments   
Comment by Mathew Robinson (Inactive) [ 01/Jul/19 ]

Hey dasmulli,

This issue should've been fixed in MongoDB 3.6.6 and should not affect any version of 4.0

It's very likely the network environment could have an effect.

If you're trying to install any version 3.6.6+ and/or 4.0+ and still having this problem can you please open a new bug on the SERVER project?

Thanks!

Comment by Martin Ullrich [ 01/Jul/19 ]

Addendum: The compass.exe instller installs compass and opens it but never completes / the installation window stays open indefinitely, but compass works fine and seemed to be installed properly.. again maybe haning on some never completed network request?

Comment by Martin Ullrich [ 01/Jul/19 ]

I am experiencing a similar issue only on windows servers in a DMZ that have no internet access. Installation without compass runs fine, also running the downloaded compass.exe to install compass works fine, just not the combined installer.

Comment by Matt Lord (Inactive) [ 08/Apr/19 ]

learn-mongo, as noted above: you can kill that installer process as it will unfortunately never finish. At that point MongoDB has been installed but Compass has not. I'm not sure what is happening in your case, but in the meantime, you can download the latest Compass MSI installer directly

Could you tell me the output of this command run within PowerShell on this machine:

Invoke-WebRequest -Uri https://compass.mongodb.com/api/v2/download/latest/compass-community/stable/windows -OutFile compass.exe

Comment by Shahbaz Bhatti [ 07/Apr/19 ]

I am try to installing  mongodb-win32-x86_64-enterprise-windows-64-4.0.8-signed on windows 7 x64 on virtual box, t got stuck on "Installing MongoDB compass" as well I wait 3-4 hours, rboot computer and start over but no luck so far.

Please help me to install monogo on virtaul box (windows 7 x 64)

 

Comment by yassine ennaour [ 10/Jan/19 ]

i did as said above i installed mongodb without compass and it's working, and i manually installed compass and now everything is working.

Comment by Matt Lord (Inactive) [ 10/Jan/19 ]

Hi yas19sin

You can kill that installer process as it will unfortunately never finish. At that point MongoDB has been installed but Compass has not – in your case it sounds like MongoDB has been upgraded but Compass has not. The issue has been fixed with the backport of SERVER-35936, which will be in upcoming MongoDB 4.0.6 release. 

In the meantime, you can download the latest Compass MSI installer directly

I'm sorry about this! The issue will be fixed in all future releases.

Best Regards,

Matt

Comment by yassine ennaour [ 10/Jan/19 ]

hi so i have the same problem as mentioned above i've been waiting for almost 40 minutes now and it's still stuck i checked the installation folder and tried running the server and the client they are both working so i don't know if canceling the installation is gonna delete it all, but i  am gonna try and see.

Note: first time installing didn't try reinstalling i kept just waiting.

Comment by Kelsey Schubert [ 25/Oct/18 ]

HI psra19,

We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Regards,
Kelsey

Comment by Mathew Robinson (Inactive) [ 01/Oct/18 ]

Also can you provide how long you waited? Sometimes the compass download can take some time especially on a slower connection.

Comment by Kelsey Schubert [ 01/Oct/18 ]

Hi psra19,

Thanks for the report, we'll investigate. Does it successfully complete if you uncheck MongoDB Compass in the installer?

Kind regards,
Kelsey

Generated at Thu Feb 08 04:45:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.