Questions tagged [mongodb]

MongoDB is a scalable, high-performance, open source, document-oriented database. Official builds are available for Linux, Windows, OS X and Solaris. Database administration questions are generally better suited to dba.stackexchange.com

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

What is the best way to store and use big JSON data?

I have downloaded a bibliographic corpus that consists of 10,000 zipped JSON files with the total size of ~200GB (zipped, ~800GB unzip) I have no experience in dealing with this amount of data, and I ...
0
votes
0answers
18 views

mongodb-prebuilt hidden directory in my Mac home dir

I am cleaning up my mac to free up spaces and I found this .mongodb-prebuilt in my /Users/username directory. I did not know what installed this folder. I had installed these mongo related apps ...
0
votes
1answer
55 views

NordVPN blocking Mongodb Atlas connection

When I try to connect to Mongodb Atlas cluster, NordVPN blocks it (connecting via the Mongo shell). When I turn off Nord it is able to connect. More Information: Database is on the cloud so it might ...
0
votes
0answers
25 views

adding and removing a node from a mongo replica set

I have a new backup server I want to add to our mongo replica sets. As far as I can tell its as easy as logging on to the replica sets primary and adding the following command: rs.add( { host: "...
0
votes
0answers
86 views

Expose MongoDB from docker container

I am trying to expose my mongodb that is running in a docker container to be accessible from the outside. I found out that it should be able with docker compose or the mongod.conf file to set the ...
0
votes
0answers
122 views

Error scheduling task in kibana

I am using mongo-connector to integrate kibana(elasticsearch with mongodb for efficient searching. On setup i am getting following error message on kibana log. log [11:34:53.291] [warning][...
0
votes
0answers
22 views

how to connect to MongoDB deployed in Kubernetes from Studio3t?

I'm wondering on how do I connect to a Kubernetes deployed mongoldb instance, I have been using studio3t its fairly easy to use when DB hosted on AWS and all. I am finding it difficult to connect to ...
1
vote
1answer
6k views

Mongodb+mongoimport+uncaught exception: SyntaxError: unexpected token: identifier : @(shell):1:15

Getting below error while importing a csv file in MongoDB database. command: mongoimport -d test -c FAQ --drop --type csv --file C:\Users\KUMA\Desktop\FAQ.csv --headerline --host localhost:27017 --...
0
votes
1answer
3k views

How to fix the mongoDB/node.js issue “MongoTimeoutError: Server selection timed out after 30000 ms”

Please help to fix the mongoDB/node.js events.js:174 throw er; // Unhandled 'error' event ^ MongoTimeoutError: Server selection timed out after 30000 ms at Timeout.setTimeout (E:\Digital\...
0
votes
0answers
18 views

Mongodb-org does not install on debian 8

I want to install mongodb in my debian but i got an error : Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This ...
0
votes
1answer
361 views

Upgrade mongodb replicaset docker container using ansible

Trying to update mongodb in my docker container from 3.6 to 4.2 using ansible, but docker container keeps restarting. The reason it restarting is because the compatibility level is set to 3.6. More ...
0
votes
0answers
218 views

Update the Rocketchat administrator password from mongoDB

I would like to change the password of a Rocketchat user from the mongo command prompt. I followed to the letter the documentation provided by Rocketchat at this address:https://rocket.chat/docs/...
0
votes
0answers
8 views

Adapt Authoring Tool's login page keeps running

First of all I have to say that I am not an experience programmer. I am trying to install a tool called "adapt authoring tool" which requires certain components in order to work: Git, node.js, mongoDB ...
0
votes
3answers
624 views

Can't install mongodb on debian 10 using official instructions

Following the official documentation sudo apt-get install -y mongodb-org returns The following packages have unmet dependencies: mongodb-org : Depends: mongodb-org-shell but it is not going to be ...
0
votes
0answers
61 views

xfsdump creates very large incremental backups

I am trying to backup a MongoDB database using a combination of LVM snapshots and xfsdump. The MongoDB runs in a docker container with a persistent volume residing on its own Logical Volume, that is ...
0
votes
0answers
26 views

MongoDB crashes all the time

MondoDB crashes all the time. After restarting it works, but then crashes again. I provided some mongo logs below. Maybe someone can help me? 2019-08-21T13:15:58.734+0300 I NETWORK [initandlisten] ...
1
vote
1answer
659 views

Putty SSH Tunnel Portforwarding not working with remote MongDB database

I'm having trouble connecting to a remote database server. I'm on a Windows 10 client and can successfully connect to my Ubuntu 16 server with putty over SSH, including with a keypair. Now I have a ...
0
votes
0answers
40 views

How to setup username and password authentication for Mongodb docker container to be deployed on Kubernetes Cluster

The username and password authentication need to be setup to mongo docker container.A YAML file is being used in order to setup the configuration of mongo container and we are using both Environment ...
0
votes
0answers
31 views

MongoDB Secondaries using up all Memory and RAM until they crash

we're running a 3-Member-MongoDB-Replication Set on Ubuntu 18.04.3 LTS, MongoDB-Shell and Server-Version 4.0.7. The database consumes around 1TB, so quite large. The primary is running just fine, but ...
0
votes
1answer
119 views

two mongoDB version commands returning different versions

when i am running mongo -version it showing a different version than when i am running db.version() from Mongo shell. how this is possible and which is the correct version.
0
votes
0answers
33 views

Running 2 instances of Mongodb on a Single Server

I am not a programmer and new to MongoDB; I have two different applications that should run on the same server and both must use MongoDB. I have installed mongodb and configured port, path using ...
0
votes
0answers
26 views

Firebase or MongoDB for realtime tracking

for an application about deliveries what database would perform better. The idea is that a vehicle constantly erport its location, maybe every 5 secs. I want to be able to visualize that. Which ...
0
votes
1answer
87 views

javascript in mongoshell

I want to make a join query in mongodb. Mongo doesn't have any join operator so i have to split the query in two parts. first: var a = db.articoli.find({_id: 4010}, {ordini:1}); var b = a[0].ordini; ...
0
votes
1answer
834 views

Mongodb 2.6 Packages Removed from Mongo Repo?

I am attempting to build Mongodb 2.6.7 from the Mongo repos and am now unable to download them, as I was able to last week... root@591d529e0497:/# echo 'deb http://downloads-distro.mongodb.org/repo/...
31
votes
4answers
15k views

Error: mongodb: unknown version :mountain_lion

I am running these simple commands on mac: brew upgrade mongodb or brew install mongodb I am getting this error below: Error: mongodb: unknown version :mountain_lion If i run the simple ...
0
votes
0answers
56 views

Unable to install MongoDB in my Ubuntu 16.04

sudo apt install mongodb Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an ...
0
votes
0answers
1k views

Automatically disabling TLS 1.0 error on replica set setup

I am trying to create replica set of mongodb on my Linux Mint 19.1 Tessa. I am following this article - https://docs.mongodb.com/manual/tutorial/deploy-replica-set-for-testing/, i've started mongo ...
0
votes
0answers
49 views

Installing MongoDB CE on Debian 10 have unmet packeg dependencies

i try to install MongoDB CE on a Debian 10 but it runs in a packeg dependencies. The packeges mongodb-org-shell / -server / and -mongos depends the libcurl3 but apache 2.4 depends libcurl4 (installed)....
0
votes
0answers
99 views

MongoDB Compass Community 1.19.06 on Ubuntu 18.04 Loading forever

I humbly ask for an opinion what could go wrong with actual version of MongoDB Compass Community 1.19.06 and newest mongo-shell, mongo-server-org and other tools upgraded to Version 4.2.0. When I try ...
0
votes
1answer
51 views

Google Cloud Compute MongoDB Deployment security issue and keyFile issue

I've ran into this super annoying issue today. Basically, I have setup a MongoDB database using the GCP Marketplace offering. It sets up a primary node, secondary, and an arbiter. Which is super cool....
0
votes
0answers
15 views

Where are default listings of Mongo Databases in Mac OS Filesystem?

I have installed MongoDB via homebrew on MacOS. I would like to locate the (defaulted) list of my local databases, as well as the dump folder, in my filesystem. I have not set an alternative dbpath. ...
0
votes
0answers
87 views

Troubleshoot installing MongoDB on Ubuntu 18.04

I have followed https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-ubuntu/ but I’m getting this error : " The following packages have unmet dependencies: mongodb-enterprise : ...
0
votes
0answers
6 views

Mongodb replication lag during ram and disk access

We are currently trying to collect data to analyse and predict the replication lag for mongodb in different cases. We are using Google Cloud Platform and our experimental setup is as follows: We have ...
0
votes
1answer
298 views

how to login to mongodb in bigbluebutton html5

How do I connect to the installed mongodb? How many users are defined for mongodb when bbb is installed? root@srv53607:~# mongo mongo MongoDB shell version v3.4.22 connecting to: mongodb://127.0.0....
1
vote
0answers
99 views

Cannot open MongoDB Compass 1.19.3

I recently updated MongoDB Compass to 1.19.3 from 1.16 on my system(Ubuntu 14.04 LTS)and now it does not open. Every time I launch the compass the window screen of the compass crashes and I cannot ...
1
vote
0answers
27 views

What does config shard mean here?

I created a MongoDB sharded cluster with replica set rsa, rsb and rsc. Configuration server replica set is configRS. Initially shard status listed only these shards as primary shard for the sharded ...
0
votes
0answers
596 views

Error 404: Cannot GET API MongoDB Express node.js

so I'm creating a database for my web application but the route cannot be reached, I don't know why I got Error 404 every single time I try a GET request. Here is my server.js: //jshint ...
0
votes
0answers
802 views

mongod failed to start with “Failed to set up listener: SocketException: Address already in use”

mahesh@Mahesh:~$ sudo mongod 2019-08-08T14:25:18.045+0530 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' 2019-08-08T14:25:18.047+...
0
votes
0answers
41 views

MongodB slow after migrating to Ec2

I have been using MongoDB for a nodeJS application in a digital ocean instance for months, then decided to migrate to amazon aws Ec2 instance. The database is populated and the size is around 600MB. ...
0
votes
0answers
90 views

EC2 NodeJS Connected to MongoDB via Private IP

Full disclosure: I'm a programmer, rather than a sys admin. So I'm likely making a huge rookie error here... I've setup 2 AWS EC2 instances. The first is running Nginx / NodeJS. The second is running ...
0
votes
0answers
496 views

Upgrading OpenSSL to v1.1.0 broke mongo (SSL peer certificate validation failed)

I was trying to connect to a MongoDB Atlas cluster using the srv syntax, but it wasn't working. So I did the following: Update my mongo client to the latest version (v4.0.11). Then every time I ran ...
0
votes
0answers
36 views

Mongoimport super slow when inserting 5MB CSV

I'm building a system that is using Laravel and MongoDB. I'm using a Dell R740 with 20 cores, 128 RAM, and 14TB drive. My MongoDB engine is wiredTiger, cachedGB 28. WriteConcurrentTransactions 1000 ...
0
votes
0answers
186 views

Mongo Client for older driver versions

Having an old Raspberry Pi and trying to learn mongoDB, I'm limited to the 32bit version - mongodb 2.4.14. Is there any way I can use a mongo client so I can connect to the DB besides using the ...
0
votes
0answers
26 views

Mongodb BIConnector & Tableau

I'm connecting Tableau with Mongodb using Mongosqld(BIConnector) , this days I suddenly find that mongosqld is not running , I run it manually , but after some hours , I check again and find that it'...
0
votes
0answers
393 views

Why building mongodb from source on arch linux take so long

I wanted to install mongodb on Manjaro.On arch wiki it says that there are two options mongodb - builds from source, requiring 180GB+ free disk space, and may take several hours to build (i.e. 6.5 ...
0
votes
1answer
173 views

How to change MongoDB storage engine for replica set member from MMAPv1 to WiredTiger

I am running Mongodb-3.4x version in a Replica set environment (in all 3 different systems on AWS) i.e. One Primary, One secondary (replica) and an arbiter. Issue that I am seeing is for some reason; ...
0
votes
0answers
68 views

Mongodb compass don't work correctly in Debian 9

I installed mongodb compass 1.19.0 (betta) version on my Debian 9, and it's like chameleon, seems like on that screenshoot . Before that I tried install the 1.18.0 (stable) version - and got same ...
0
votes
0answers
55 views

How I can remove or delete all MongoDB packages/files from CentOS 7.6?

I used all my possible ways to uninstall MongoDB but I’m unable to uninstall it completely. After Uninstall.. [root@smc1-vc-it bin]# systemctl start mongod Job for mongod.service failed because ...
0
votes
1answer
45 views

Issues attempting to use MongoDB connector for BI

I am trying to add MongoDB as a linked server to MSSQL server but it is not working. I need to set up MongoDB connector for BI and then add it in the system DSN of the ODBC driver. I am following the ...
0
votes
0answers
13 views

i cant start my mongoDB server in redhat 7.3 which print core dumped and give up

This is a server in the MongoDB cluster, which belongs to shard 1 aheard 'strace' before start mongoDB It could have been used normally. It may be that too much data was written, which could not be ...