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
58 views

High percentage of IO in iotop

I have a problem with a very slow process (mongod), so I downloaded iotop to see how is my drive going. I can see a very high percentage in the IO< column, constantly about 70-99%. Can someone ...
0
votes
0answers
46 views

Not able to connect using ip on mongo shell

I'm not able to connect mongo using my IP whenever I'm trying I'm getting a timeout error. But it's working with local IP. I do the following changes mongod.conf bindIp : 0.0.0.0 whenever I tried to ...
0
votes
0answers
93 views

Update mongodb-server on raspberry pi

I have installed mongodb-server via sudo apt-get install mongodb-server The version is: mongo --version MongoDB shell version: 2.4.14 For node and mongoose to work with mongoDB they need at least ...
0
votes
0answers
31 views

How does one reload the TLS certificate and private key on a single mongod?

I have a single mongod instance running, and I would like to reload the certificate and private key used for TLS communication (as they are being automatically replaced for renewal purposes). ...
0
votes
1answer
59 views

Set MongoDB 2.6 log without restarting

I am trying to set a new log destination without restarting. It is unclear to me what to set / how to set it. I am running localhost > db.version() 2.6.3 I want to change the system log to /var/...
0
votes
0answers
100 views

Can not install semanage tool on RedHat virtual machine

I'm trying to change the MongoDB default port on my AWS Virtual Machine but semanage is not found on the server semanage port -a -t mongod_port_t -p tcp 27042 -bash: semanage: command not found Trying ...
0
votes
0answers
290 views

Why do I get a lot of aborted connections in MySQL? (Windows Server with MariaDB & MongoDB)

For clarity: I have installed Wyse Management Suite 2.0 on a VM running Windows Server 2019. Wyse Management Suite uses databases, and for this it uses both MariaDB and MongoDB. The issue: I have now ...
0
votes
0answers
649 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
21 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
253 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 ...
1
vote
0answers
118 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
39 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
17k 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
4k 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
1answer
699 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
565 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
3answers
1k 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 ...
1
vote
1answer
2k 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
1answer
185 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
1answer
90 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
1k 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/...
35
votes
4answers
18k 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
1answer
53 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
1answer
763 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
165 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
38 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 ...
1
vote
0answers
546 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
30 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
1answer
278 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
1answer
51 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 ...
1
vote
1answer
826 views

MongoDB Compass loading forever on start page

When I start MongoDB Compass 1.18, it loads forever and never starts.  It displays the word "LOADING..." under a logo consisting of two blue squares:
1
vote
1answer
2k views

Debian 10 and MongoDB

Has anyone successfully installed Mongo on Debian 10? I am new to working on Debian. I'm getting these messages when I try to install. I tried MySQL too and got similar messages. Are these databases ...
1
vote
0answers
240 views

Mongodb Replication primery high cpu usage during secondary stopped

We use mongo replicaSet version 4.0.6 on our environments. The replicaSet works with 3 nodes , one primary, one secondary and one arbiter. We do some test for failover,we stopped the secondary node, ...
0
votes
1answer
35 views

Trying to use old desktop tower as server for mongodb, but cant resolve a public IP

I am trying to bind to my public IP. However when editing the contents in nano /etc/mongod.conf It does not work. Now I think this might be the issue. Running ifconfig only shows my private ip address:...
0
votes
0answers
2k views

mongoDb connectivity issue with cluster

I am new to using Mongo DB data base and need help in establishing JDBC connection, I have followed instructions available online but some error is occurring. import com.mongodb.MongoClient; import ...
0
votes
1answer
760 views

Can't start mongos process: Address already in use

I'm working with Debian 4.9.168 and I want to configure mongoDB replica set monitoring through google cloud, and I found the best solution is through bindplane bluemedora (currect me if I wrong). So,...
0
votes
1answer
406 views

Mongo 2.6.12 VS Mongo 4.0 benchmark

I have problem, I use the old 2.6.12 version of mongodb on a new computer and it does not show high speed results and I do not know why. Mongo 2.6.12 doesn’t even try to use my computer at 100% using ...
0
votes
0answers
157 views

MongoDB db.serverStatus() has no storageEngine output

I have an instance of MongoDB 4.0.6 with WiredTiger and the documentation says that db.serverStatus() has a storageEngine section in the output with some info on the Wired Tiger flags. On my instance ...
1
vote
1answer
490 views

MongoDB: Can't drop local database with root user

I am trying to drop the local database in my replica set so that I can rename the replica set, but I keep getting the below error errmsg" : "not authorized on local to execute command { dropDatabase: ...
3
votes
0answers
812 views

repair mongodb 4 after crash due to a full storage

I have an issue on mongod. One day ago , my hard disk storage was full so mongodb shut down. I add Go on my hard disk and now when i want to restart my mongo , it doesn't work . I m on unbutu 16 ...
0
votes
0answers
24 views

size of Journal files are increasing not getting cleaned up

Using mongodb version 3.4.1. Size of journal file are not getting cleaned up after upgrade patch of windows(2012 R2)enter image description here where mongodb is running. Nothing is showing in logs. ...
0
votes
1answer
133 views

update amazon linux ec2 database server(MONGO DB) is 3.0 and I need to update my database to 3.4 without any data loss

I have an Amazon Linux instance as a Database server (Mongo DB ), but the version of my existing database server is 3.0 and I need to update my database to 3.4 without any data loss. how can I do this ...
3
votes
1answer
3k views

MongoDB, Using mongorestore on an .agz file

I am using MongoDB 3.6 and am having trouble understanding how to use mongorestore on an .agz file. If I specify the below, then I get an error saying Failed: error connecting to db server: no ...
3
votes
0answers
338 views

Mongodb PHP Driver MacOS Unsigned package error

I installed MongoDB driver for PHP with the following command sudo pecl install mongdodb I had to disable "csrutil" at reboot to be able to run the above command. After installing the package I ...
0
votes
1answer
796 views

Installing mongodb driver for PHP on MacOS

I am having some issues installing mongodb driver for PHP on MacOS. The PHP I have on my laptop came with MacOS and the version is: PHP 7.1.19 (cli) (built: Aug 17 2018 20:10:18) ( NTS ) Copyright ...
0
votes
1answer
58 views

MongoDB Replica Set Upgrade

I am upgrading my MongoDB replica set from 3.0.15 to 3.2.22. And when I start up a node with the 3.2.22 binaries, I keep seeing the below for lastHeartbeatMessage whenever I run rs.status() Error ...
0
votes
1answer
2k views

Unable to connect to mongoDB atlas using mongoose.js

I'm unable to connect to mongoDB atlas using mongoose.js  It is throwing the error: C:\Users\uttar\Desktop\blog_application>node index.js including files:./routes/appRoutes.js including files:./...
0
votes
1answer
84 views

Merge Power BI is blocked

I have data divide into three Data from customers (10 000 lines) Location data (10 000 rows for each table) Traffic data Sflow (18 000 000 lines) that I stored in MongoDB. On Power BI when I am ...
0
votes
1answer
111 views

How to configure Parse Server with MongoDB?

Actually, I have Installed the necessary software but I couldn't able to pass this step!!! Please, anyone, help me with this... Starting a MongoDB deployment to test against...{ [Error: EPERM: ...
1
vote
1answer
533 views

How to fix the depends libcurl3?

When I install Mongodb,it says that depends mongodb-org-server,so i install that. But after that,it says i need to fix the dependence libcurl3,but my system has install libcurl4,it couldn't search the ...