Questions tagged [mongodb]

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

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

Unable to locate package mongodb-org in Ubuntu 22.04

0 I'm not able to install mongoDB on my ubuntu 22.04 ~$ sudo apt-get update ~$ sudo apt-get install -y mongodb-org Reading package lists... Done Building dependency tree... Done Reading state ...
user avatar
0 votes
1 answer
15 views

Mongo db related key info being displayed everytime i run sudo apt get update

I am using Ubuntu 22 LTS version and while trying to install mongo db I came to know that mongo db is yet to release a version for Ubuntu 22. So, i uninstalled mongo db midway and now even though my ...
user avatar
  • 103
0 votes
0 answers
27 views

what is the solution to connect with mongoDB?

● mongodb.service - LSB: An object/document-oriented database Loaded: loaded (/etc/init.d/mongodb; generated) Active: failed (Result: exit-code) since Sat 2022-06-18 10:38:30 +0545; 49s ago ...
user avatar
0 votes
0 answers
10 views

Proper way to set up or change a mongodb cummunity server in ubuntu 20.04?

when i enter a sctipt wget - https://www.mongodb.org/static/pgp/server-5.0.asc sudo apt-key add - when it is generate warning apt-key is deprecated. manage keyring files in trusted.gpg.d instead (see ...
user avatar
0 votes
1 answer
46 views

Jest: Got error running globalSetup with MongoDB

I'm trying to use Jest with MongoDB-memory-server, but every time i try to connect it i get this error, i would like to know from you guys if there's any way to solve it? Error: Jest: Got error ...
user avatar
0 votes
0 answers
45 views

Error while uploading a file to Postman with some other fields with nodejs

I am getting the following errors when doing some changes but they never get resolved node:internal/fs/utils:670 throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path); ^ ...
user avatar
0 votes
0 answers
13 views

Broken MongoDB , Can't be removed or updated

I installed MongoDB and it was working perfectly but after an update I don't know what happened. Now I'm trying to uninstall MongoDB and this is the result . after this command ** sudo apt-get purge ...
user avatar
0 votes
0 answers
119 views

MongoDB : Some packages could not be installed

I am trying to install mongodb in Ubuntu 22.04. Steps which I followed are already given in this link : wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - echo "...
user avatar
0 votes
1 answer
25 views

Cannot uninstall half installed mongodb

$ sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev Reading package lists... Done Building dependency tree Reading state information... Done Package 'mongodb-dev' is not ...
user avatar
  • 319
6 votes
3 answers
5k views

Not able to install Mongodb in Ubuntu 22.04

I am not able to install MongoDB on Ubuntu 22.04. I am following the official documentation for the installation. This is the output I am getting after following the installation instructions: https:/...
user avatar
0 votes
0 answers
17 views

I can't remove broken MongoDB [duplicate]

When I run the command sudo apt-get purge mongodb-org* v I got this errors E: Unable to locate package mongodb-org-server_5.0.6-2_amd64.deb E: Couldn't find any package by glob 'mongodb-org-...
user avatar
0 votes
0 answers
35 views

I can't remove Mongodb

When I exec sudo apt-get purge mongodb-org* I got a lot of errors like this : E: Unable to locate package mongodb-org-server_5.0.6-2_amd64.deb E: Couldn't find any package by glob 'mongodb-org-...
user avatar
0 votes
1 answer
103 views

Securing MongoDB 5.0 on Ubuntu Server 20.04

I have a fresh install of MongDB 5.0 on Ubunutu 20.04 and I am trying to configure basic root (admin) user access control according to documentation and, of course, it just doesn't work on the very ...
user avatar
0 votes
1 answer
29 views

How to build MongoDB documentation locally on Ubuntu?

MongoDB documentation github project : https://github.com/mongodb/docs I have Ubuntu 20.04 LTS python2 is Python 2.7.18 python3 is Python 3.8.10
user avatar
  • 101
0 votes
0 answers
202 views

Can't start mongod from systemctl

I've tried to install MongoDB 5.0 Community edition on Ubuntu 18.04 from the Official doc: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ Everything went fine until I tried to run ...
user avatar
0 votes
0 answers
127 views

Multiple problems trying to update with unmet dependencies and packages no longer required

ashin@ashin-Vostro-15-3568:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to ...
user avatar
0 votes
0 answers
63 views

Mongod won't start on boot when binding docker IP

my problem is similar as in here: https://stackoverflow.com/questions/59141447/why-does-the-status-of-mongo-throw-me-code-exited-status-48 The problem is that mongo service won't start on boot if I ...
user avatar
  • 13
0 votes
0 answers
29 views

MongoDB loads but breaks, returning status=14, but changing permission settings doesnt help

i get the same issue as MongoDB loads but breaks, returning status=14 namely: mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: ...
user avatar
  • 151
0 votes
0 answers
281 views

mongod cmd won't connect after downloading MongoDB

I have an issue where I cannot connect to the MongoDB server using the cmd mongod after downloading MongoDB. this is what the terminal shows when using mongod: $ mongod {"t":{"$date&...
user avatar
0 votes
0 answers
59 views

unknown system user 'mongodb' in statoverride file;

I am trying to download mongodb Compass, but I get this weird error in my terminal. I think it is because I removed mongodb before, but I don't know how to fix this issue. After I run sudo apt upgrade ...
user avatar
0 votes
0 answers
63 views

Im having trouble installing mongodb.latest version?Please can someone help instal mongodb

Err:8 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Reading package lists... Done ...
user avatar
1 vote
1 answer
473 views

Unable to start mongodb-org 5 on ubuntu server in virtualbox after installation - Core dump

I followed the instructions from the official documentation, but when checking the status of the process it gives me the following error: imperium@imperium:~$ sudo systemctl status mongod.service ● ...
user avatar
  • 173
0 votes
1 answer
326 views

How do you install MongoDB 5.0 on Ubuntu 20.04 with apt-get?

I'm wondering how to install the latest MongoDB version 5.0 via apt-get to avoid having to spend time on the mongodb official website and enter any personal information.
user avatar
0 votes
1 answer
600 views

Can't get MongoDB started on 18.04

Apologies if this has been asked a bunch of times (it has, sorry!) but I can't find a solution that works. I'm line for line following: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-...
user avatar
  • 11
0 votes
0 answers
3k views

Mongodb error showing 'MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017' in Ubuntu 20.04.3 (Focal)

I am trying to install MongoDB in my Ubuntu 20.04.03 (focal) through the instructions held in MongoDB Official Site After Successful install, I started the MongoDB service via the command sudo ...
user avatar
0 votes
2 answers
827 views

Trouble installing MongoDB on Linux Ubuntu 20.04

Others have asked this question, but I have found no answer that works for me. I am trying to install MongoDB on Ubuntu 20.04. I have been following the guide at https://docs.mongodb.com/manual/...
user avatar
1 vote
0 answers
2k views

MongoDB failed (result: core-dump)?

I'm attempting to setup MongoDB on Ubuntu 20.04.02 LTS by following the documentation. I have ensured this is a fresh install. However an error persists when I verify if the MongoDB install started ...
user avatar
0 votes
0 answers
1k views

MongoDB failed to start Ubuntu 18.04

I installed mongoDB using this link www.digitalocean.com on sudo systemctl status mongod I get the following errors ● mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/...
user avatar
0 votes
0 answers
68 views

Error while updating mongodb

I am trying to install mongodb using instructions given here but I am getting the following error while running sudo apt update: W: GPG error: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 ...
user avatar
  • 21
0 votes
1 answer
40 views

which mongoDB should I download?

I'm using Ubuntu 20.10 and I need to download mongoDB Community Server. but in the documentation they don't say which version is supported. so please tell me which version I need to download and how ...
user avatar
  • 1
1 vote
1 answer
953 views

How do I remove old mongo tools?

I'm using Ubuntu 20.04 and trying to install latest mongodb However I get this error: ➜ ~ $ sudo apt-get --purge remove mongodb-org Reading package lists... Done Building dependency tree ...
user avatar
  • 319
1 vote
0 answers
750 views

Error - Segmentation fault (core dumped)

I just installed Mongodb compass in my Ubuntu OS(Ubuntu 20.04) I opened the termianal and typed mongodb-compass I got the error - Segmentation fault (core dumped). I also tried to open by clicking ...
user avatar
  • 63
1 vote
1 answer
802 views

Mongodb shuts down everytime showing exit status 1

thanks for being here, to be fair I do have a solution, but its a temporary one. Its repetitive and kinda annoying doing it everytime you switch on your pc. So if someone has a more permanent solution ...
user avatar
2 votes
1 answer
751 views

Upgrading MongoDB from 3.6 to 4.4

I need to upgrade my MongoDB installation from its current incarnation of 3.6.8 to 4.4. If I understand the documentation correctly, this has to be done in stages, from 3.6 to 4.0, then from 4.0 to 4....
user avatar
0 votes
0 answers
559 views

How to install a specific MongoDB release (3.4.2) on Ubuntu 20.0 focal?

I followed the official doc here:https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ did the following step: wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key ...
user avatar
  • 1
1 vote
3 answers
2k views

MONGODB ERROR 14

Mar 27 16:13:41 localhost systemd[1]: Started MongoDB Database Server. Mar 27 16:13:42 localhost systemd[1]: mongod.service: Main process exited, code=exited, status=14/n/a Mar 27 16:13:42 localhost ...
user avatar
-2 votes
1 answer
542 views

Got error while updating (sudo apt update)

Err:17 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release.gpg The following signatures couldn't be verified because the public key is ...
user avatar
1 vote
2 answers
881 views

mongod vs systemctl start mongod

When I try to start mongod as a service, it fails: $ sudo service mongod start $ sudo service mongod status ● mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod....
user avatar
  • 111
0 votes
1 answer
1k views

How to install redis-server with version 5.0.7 on ubuntu 18.04?

I want to install redis-server with specific version.
user avatar
2 votes
1 answer
645 views

MongoDB server failed after system reboot

I installed MongoDB using sudo apt install mongo-org and followed the instruction to start and everything worked but then when I reboot the system, the MongoDB server failed ● mongodb.service - High-...
user avatar
  • 753
1 vote
1 answer
195 views

Unistall MongoDB and getting "W: Target Packages in command line"

When I did sudo apt-get update on the command line I found errors with "W: Target Packages" sudo apt-get update Hit:1 http://archive.canonical.com/ubuntu focal InRelease Hit:2 http://us....
user avatar
1 vote
1 answer
607 views

MongoDB Compass Error in Ubuntu 20.04 LTS

Running compass stop and know it's giving below error mongodb-compass: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory I uninstall and ...
user avatar
  • 131
2 votes
1 answer
544 views

Restoring MongoDB database from physical files

Issue My hard drive cannot boot into Ubuntu 18.04 Desktop any more (I suspect that the UI doesn't load but everything else should work fine). It will take too much time to analyze what went wrong, so ...
user avatar
  • 313
-1 votes
1 answer
1k views

Can't install MongoDB on Ubuntu 20

I was trying to install MongoDB using sudo apt install mongodb-org command. I got this:
user avatar
0 votes
0 answers
36 views

A lot of errors while reinstalling MongoDB [duplicate]

I can't use MongoDB so I need to uninstall, but when I try to reinstall it, the program shows me a lot of errors in MongoDB, MySQL and also in dpkg. sudo apt-get purge mongodb-org* Reading package ...
user avatar
1 vote
2 answers
2k views

ubuntu 20.04 LTS:mongod: error while loading shared libraries: libnetsnmpmibs.so.30: cannot open shared object file: No such file or directory

i was using ubuntu 18.04 LTS and mongodb-linux-x86_64-enterprise-ubuntu1604-4.2.1 it was working fine then i upgraded to ubuntu 20.04 LTS and now i am getting error when i typed the mongod command ...
user avatar
1 vote
1 answer
2k views

WSL: apt upgrade error because mongodb-org-server needs systemd

in my WSL apt upgrade crashed because of a problem with mongodb-org-server. I use WSL2 with Ubuntu 20.04. (The same error also appeared in WSL1 with Ubuntu 18.04 before I upgraded my WSL recently.) ...
user avatar
0 votes
0 answers
4k views

How to enable access to mongoDB atlas (firewall problem)?

I'm following this fullstack course but I'm not able to connect to my mongoDB Atlas database. I have had a whitelist entry that allows access from anywhere as per the tutorial since the beginning and ...
user avatar
1 vote
2 answers
452 views

cd /var/log/mongodb/mongod.log throwing "no such file or directory"

No Such file or directory when I tried this command cd /var/log/mongodb/mongod.log after installing mongodb using sudo apt-get install -y mongodb. I am using Ubuntu 20.04 which I upgraded to xubuntu ...
user avatar
  • 11
0 votes
0 answers
13 views

sudo apt autoremove showing unmet dependencies I can't remove for mongodb [duplicate]

When I run autoremove I get the following. I am in root and have tried running sudo apt install -f without luck. This issue occurred because I ran sudo apt install mongodb and realized that the ...
user avatar

1
2 3 4 5
7