MongoDB - installation error - mongodb setup wizard ended prematurely - mongodb

I earlier had this issue while installing. Checked with other threads too, but could not able to find a proper solution in my case.
UPDATE :
CLOSED!

Uncheck the Install MongoDB Compass option in the setup wizard. Worked for me.

unchecking Install MongoDB Compass solves the issue directly from startup wizard while installing in windows10

For Windows 10, you will have to install MongoDB Compass separately.
After install MongoDB, then download MongoDB Compass separately from here.
For MongoDB Compass, make sure to select the correct Version (note: the Community Edition version is not the default version) and Platform to download. It should install successfully.

I face exactly the same error, my solution:
My windows user didn't have a password, I set a password for it and used my username and password to "Run as a local or domain user", and my problem fixed.
Tip*: I also installed Compass (not separately) and it was not the problem.

Just ensure you are connected to internet for MongoDB Compass to be installed too,its mongoDb user graphical interface unchecking it blocks you from enjoying graphical interface.

For those trying to install version 4.0.x
Compass is the problem, but you don't get to untick straight away.
According to https://jira.mongodb.org/browse/SERVER-34451 it's a firewall problem. Disable the firewall or allow access fixed it for me.

Unchecking the Install MongoDB Compass works for me.

If you are using Microsoft Account then solution is to login with local account instead, that is available in account settings.
Once you are logged in with local account, you can complete the installation with local username and password.

Related

Mongo DB compass is installed but not able to launch or open app

Mongo DB community edition is installed successfully but MongoDBCompass is not auto launching..I could even see MongoDBCompass icon created in desktop and able to search in taskbar...but I am not able to launch or open app by clicking on it...it simply keeps loading for some sec and stops.
I tried uninstalling and installing Mongo DB multiple times but no luck.
I have selected Install Mongo DB as service and selected option Run service as network service users in installation steps as well.
Could anyone please help me? Any help will be highly appreciated.
Thanks in advance.
checked checked for compass install
Mono DB 64bit successfully installed

Mongodb Compass running but GUI is not visible

I have installed Mongodb Compass on windows 2016 server.
When I Run it, GUI is not visible?
However, Task manager shows that it is running.
I have rebooted the machine, then also the problem is there
Please help to solve the problem.
I had the same problem.
Uninstall MongoDB Compass from 'Programs and Features' via Control Panel
You should download 'Windows (7+)(MSI)' from https://www.mongodb.com/try/download/compass and try to install again

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.

I want to install MongoDb 3.6 passively without including Compass

I am trying to install MongoDb 3.6.2 community in passive mode. I do not want to include MongoCompass. I cannot seem to find an option in the documentation for this.
SHOULD_INSTALL_COMPASS="0"
This parameter was added in version 3.6.5 I believe
I'm not sure what you mean by passive but in the installation process you will get something like this
Hope this helps

Mongo details are not showing in phpinfo() in windows

I am installing mongodb on my windows 7 PC. I have installed mongodb 3.0 along with the necessary drivers & tried starting mongo server, it is working well but when i open the localhost & check for the phpinfo page, it does not show me the details of mongo. I also am using Umongo client for database interaction where i am not able to create database manually. It is just because of this? Where is the problem?. How to resolve this?
Please read this document to add php_mongo.dll services in php 5.3 and later
For adding mongo db in php you need to add php_mongo.dll in your wamp directory
Example:
c:\wamp\bin\php\php5.5.12\ext
Document: https://docs.mongodb.org/ecosystem/drivers/php/