Questions tagged [mongodb]

Scalable, high-performance, open source, document-oriented database.

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

Upgrading Ubuntu from 16.04 to 18.04 breaks MongoDB

I am facing a problem upgrading multiple servers from Ubuntu 16.04 to 18.04. The servers are running the supported versions of Mongo, 2.6.10 on 16.04 and 3.6.3 after the upgrade. The upgrade breaks ...
0
votes
0answers
17 views

Cannot import files in MongoDB -Compass

I just installed the MongoDB Compass downloading the latest stable deb file (1.21.2 amd64) in my Ubuntu 18.04.4 LTS VM. The problem is, when I want to import a JSON to a collection, it does not work: ...
0
votes
1answer
85 views

RPi4 support - raspi-config and gpio?

I want to know if there will be official support for things like raspi-config and gpio on the official ubuntu releases for the Raspberry Pi 4? I was initially drawn to it for the 64-bit capabilities ...
0
votes
0answers
16 views

Cannot start mongod because of lack of permissions

I am starting the mongod with custom configuration file: mongod --config /etc/mongodb/node01.conf The file looks like: storage: dbPath: /var/lib/mongodb_replicas/node1 journal: enabled: ...
0
votes
0answers
56 views

Installaton of mongodb on 20.04 ubuntu is new headache

i get some kinda of error just by sudo apt-get update This image shows about the errors
1
vote
1answer
23 views

Errors were encountered while processing: munin-mongo

I have been trying to install packages without success, I am getting error messages Errors were encountered while processing: munin-mongo E: Sub-process /usr/bin/dpkg returned an error code (1) If ...
0
votes
1answer
66 views

Mongodb on Ubuntu 19.10. Authentication

I have installed mongodb on ubuntu 19.10 using apt install mongodb(because there's nothing in official documentation about ubuntu 19.10. It isn't supported or what?) So, it installed mongodb v3.6.8 ...
0
votes
0answers
81 views

Can't run Mongodb after installation on ubuntu

I have installed my Mongodb via changing my DNS because of sanctions problem. Now, I have my mongodb installed but when I type "mongod" in my Ubuntu terminal I get this: 2020-04-17T12:38:01.073+0430 ...
2
votes
1answer
212 views

Unmet dependency error while installing MongoDB on Ubuntu 19.04! Although it shows mongo shell but doesn't work. Reinstalling isn't working! [duplicate]

I am trying to install MongoDB on Ubuntu 19.04 from the official website. But facing errors I am following the exact same procedure as written on the official docs, although I am well aware of the ...
1
vote
1answer
41 views

Ubuntu 18.04.3 - when trying to uninstall mongodb says that it doesn't exist, when trying to install says it exists

I have been working on this and read a lot of articles. I am trying to get this working on my test server hosted by digital ocean. for some reason, out of seemingly nowhere the my server couldn't ...
0
votes
0answers
11 views

Unable to connect to mongodb after ubuntu upgrade to 18.04

I had a local mongodb running locally. Now that I upgraded to 18.04, I am not able to access it anymore. When I try with robo3t, the error is "connection refused". When trying in the terminal, it is ...
0
votes
1answer
419 views

mongodb server connection error

waseem@waseem-HP-Laptop-14q-cs0xxx:~$ mongo MongoDB shell version v4.2.3 connecting to: mongodb://127.0.0.1:27017/? compressors=disabled&gssapiServiceName=mongodb 2020-03-03T16:17:52.233+0530 E ...
0
votes
0answers
54 views

Removing MongoDB: error processing package mongodb-org-server (--remove)

I am having trouble removing mongoDB. on Ubuntu 18.04.3 LTS I perform this commands command: dpkg -l | grep mongo result: ic mongodb-org 3.4.24 ...
0
votes
1answer
504 views

MongoDB - Failed to unlink socket Fatal Assertion

2020-02-20T18:39:33.644+0530 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none' 2020-02-20T18:39:33.651+0530 I CONTROL [initandlisten] ...
0
votes
2answers
125 views

How can I install MongoDB 2.6.x on Ubuntu 16.0.4 from tarball?

I need to install MongoDB 2.6.x which is a requirement for Iquidus Explorer. No point in asking me to use a newer version as the code has never been updated to work with later versions of MongoDB. ...
0
votes
2answers
1k views

Cannot start MongoDB on WSL

I have installed MongoDb, on WSL using the steps from the official docs here. When i issue the command sudo service mongod start i get the following message mongod: unrecognized service. I've tried ...
0
votes
0answers
36 views

I have this message while installing mongodb

I have this message while installing mongodb. dpkg: unrecoverable fatal error, aborting: unknown system user 'mongodb' in statoverride file; the system user got removed before the override, which is ...
0
votes
0answers
88 views

Mongod Failed global initialization. Permission denied on log file

CONTROL [main] Failed global initialization: FileNotOpen: Failed probe for "/mnt/b/bd/mongod.log": Permission denied Jan 12 06:43:27 ip-172-31-41-23 systemd[1]: mongod.service: Main process exited, ...
0
votes
0answers
100 views

Ubuntu 18.04 i3 problems with apt

I set-up VM with Ubuntu 18.04 and installed i3 with gaps. I wanted to add polybar, but i couldn't install cmake, because i was missing curl. So i tried some stuff from internet, but nothing worked. ...
0
votes
0answers
40 views

Where i can find the folder database created with mongodb on ubuntu 16.04?

help me i'm a beginner on mongodbenter image description here enter image description here
0
votes
1answer
138 views

Why can't I unmask mongod.service?

Running sudo service mongod start yields Failed to start mongod.service: Unit mongod.service is masked. Running systemctl list-unit-files indeed shows mongod.service ...
0
votes
0answers
206 views

Error while installing mongodb [duplicate]

I was facing some issues with mongodb. I tried removing and reinstalling it , and this I get this error. Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
0answers
52 views

Auto-remove ‘/var/lib/juju’ when I restarting jujud with empty juju's data in mongodb

I take some time to learn high available topic. And I try many time regarding disaster failure drill. But I found the path of /var/lib/juju was removed in the situation of no data in mongodb when I ...
0
votes
1answer
30 views

how to connect to mongodb remotely

How can I remotely access my mongodb database using compass? I have followed the instructions here, but compass cannot connect and shows me connect ECONNREFUSED MY_SERVER_IP:27017. What is missing or ...
0
votes
2answers
1k views

How to uninstall mongodb compass from Ubuntu 18.04

i am using ubuntu 18.04 Last day i install MongoDB Compass accoroding to official doc compass install But some reason i need to uninstall MongoDB Compass from my pc. I do some online research but ...
2
votes
2answers
248 views

php-mongodb instalation version

I use sudo apt-get install php-mongodb and I expect to get a php mongodb extension version 1.6, but get 1.3.4 apt-get update, apt-get upgrade not help me. If i install with pecl, composer don't see ...
0
votes
0answers
42 views

Can't start mongodb

I'm trying to start mongodb to run my unifi controller. However, it keeps failing to start. I've tried purging mongo and reinstalling, but the same problem keeps coming back. I'll include the status ...
0
votes
0answers
155 views

Issue when starting my pm2 using --watch

My pm2 project works fine when I run it using: sudo pm2 start ecosystem.json --env production But after adding --watch to this command, I get this error: (node:4096) DeprecationWarning: `openSet()...
0
votes
1answer
188 views

Unable to use Robo3t [duplicate]

I'm trying to use robo3t on Ubuntu WSL but I'm getting this error while running robo3t command, and find nothing about it QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' qt....
3
votes
1answer
46 views

Is mongodb preinstalled in ubuntu 18.04?

I just found mongodb is already installed on my ubuntu 18.04. I wonder where did it come from.
0
votes
0answers
47 views

How to install mongodb on the server?

Installed the ubuntu 16.04 server. Next, I try to install mongodb 4.2 according to the instructions from the official site. After entering the command (step 2) echo "deb [ arch=amd64 ] https://...
0
votes
1answer
319 views

Bind ip problem in mongodb replication

when iam doing mongodb v4.0.2 in ubuntu 16.04 i changed bind ip to 0.0.0.0 and but when iam trying to add nodes it shows error as; "errmsg" : "Either all host names in a replica set configuration ...
0
votes
0answers
35 views

Springboot with Mongodb and Frontend

Can any one help me to do CRUD operations on mongodb in springboot with frontend(like checkbox,radio buttons) Thanks in advance
0
votes
2answers
74 views

Mongo won't run

I'm running Ubuntu 18.04 and I'm trying to install mongodb. Prior to this I thought I made some errors so I went ahead and wiped everything to start over. sudo service mongod stop sudo apt-get ...
1
vote
1answer
6k views

Unable to fix unmet dependencies with apt --fix-broken install

I recently installed mongodb on my ubuntu 18.04. After that when i try installing any package using apt, I get this error. $sudo apt-get install shutter Reading package lists... Done Building ...
0
votes
0answers
64 views

when i run “sudo apt-get install” in terminal these are the errors [duplicate]

When I run sudo apt install in the terminal, I get the following error messages: Traceback (most recent call last): File "/usr/lib/cnf-update-db", line ...
0
votes
0answers
146 views

Could not download all repository indexes [duplicate]

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ...
0
votes
0answers
190 views

Unable to install Mongo-DB on Ubuntu Core 18.04

I am trying to install mongoDB on my Raspberry Pi 3b+, which has an ARM 4-Core 64 bit processor. I was trying to install MongoDB on my Pi just as mentioned in their documentation but unfortunately I ...
0
votes
0answers
173 views

Would it be worth switching to XFS from EXT on AWS EC2 t2.micro that is running MongoDB

Currently I am running Ubuntu 18.04 on an AWS EC2 t2.micro server. On the server I am using EXT4 for the filesystem but the MongoDB doc recommends to use XFS. Though while looking around, I’ve seen ...
0
votes
0answers
649 views

Unmet Dependencies mongodb-org-server: Depends libcurl3 (>= 7.16.2)

I was trying to install R-base but im facing unmet dependencies; i have tried all possible ways to uninstall and install, re-run mongodb services .. but nothing worked .. The installation shows ...
0
votes
2answers
482 views

how can I permanently change db path in Mongodb?

I tried mongod --dbpath=/data option to change the data directory location, by executing this command continously running in forground waiting for connection it works on mongo CLI, But after I ...
0
votes
0answers
56 views

NodeBB setup error (socketHandler) - wrong port?

Experimenting with a server setup for the first time, so I am incredibly inexperienced at this but want to learn how to do it! I've managed to get a server running with Ubuntu 18.04, and node.js + ...
3
votes
1answer
164 views

Set up MongoDB for multiple developers plus production use

I've been told that Docker is the way to go to create user separation from actual production. Is it somehow possible to make further separation and install separate MongoDB databases without affecting ...
4
votes
1answer
2k views

Error executing command, exiting

I'm trying to install node.js 12 on Ubuntu 18 and following the instructions, when I type curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - I got the next text: Reading package lists....
0
votes
1answer
553 views

dpkg: error when installing mongodb on Ubuntu 18.04

I am trying to install the newest version of mongodb in Ubuntu 18.04. When running the command sudo apt install -y mongodb I get the following errors. I think my question is similar to https://...
2
votes
1answer
3k views

install mongodb shell client without server

Where is the shell client for mongodb, I found a number of packages related to mongodb in Ubuntu 18.04 LTS but can't seem to find information where exactly is this client and what I should install. ...
1
vote
1answer
54 views

Program clogging up my RAM- but when I stop it via 'sudo service X stop' it says its not loaded

Specifically I'm trying to uninstall mongodb because this is what I get after booting up, when I press htop. I don't want or need mongodb anymore, I want to remove it. So I followed the instructions ...
0
votes
0answers
36 views

how to create role in mongodb with limited permission like find,insert,update and deleteOne?

I just installed MongoDB using ubuntu 16.04, I have created a standard user with limited permission (actions) but I do not want to give remove permission to roles but I want to allow only find, insert,...
0
votes
1answer
2k views

How I will check that the mongodb service is runing or not using terminal command?

I'm using mongodb database to save my application data into collection but by some reasons the mongodb connection is break and there is lot of problems occurs and I want to check the mongodb ...
1
vote
1answer
193 views

Failed to start mongod.service: Unit mongod.service not found. but now sh: 0: getcwd() failed: No such file or directory

Failed to start mongod.service: Unit mongod.service not found. this was my problem at first,i searched and found a page the said remove and reinstall. i used these commands: sudo apt purge mongodb-...

1
2 3 4 5 6