Skip to main content

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

0 votes
0 answers
11 views

Can't connect external nodes to Main percona replicaset cluster

I replicated an openshift cluster that runs mongodb with Percona operator. I added the unmanaged cluster's nodes to the Main cluster and exposed them with Nodeport: replsets: - size: 3 expose: ...
Vanias Kopas's user avatar
0 votes
1 answer
47 views

Failed to set the root user to MongoDB

I have created a MongoDB docker container with the following compose.yaml --- services: mongodb: image: "docker.io/library/mongo:7.0.11" container_name: mongodb restart: unless-...
crackpot's user avatar
  • 111
0 votes
0 answers
85 views

Packages libssl, libc, libcrypto error installing MongoDB on CentOS

I've tried to install MongoDB 7.0 on my instance, but got a following error: Error: Package: mongodb-org-mongos-7.0.11-1.el9.x86_64 (mongodb-org-7.0) Requires: libc.so.6(GLIBC_2.34)(64bit) Error: ...
nursultan's user avatar
0 votes
0 answers
91 views

How do I install mongodb in Google Colab with the new Ubuntu 22.04 update?

I want to access my mongodb server within Google Colab. For this, I have to install and run mongodb within Google Colab. With the new Ubuntu 22.04 update I am unable to get this to work. Has anybody ...
darksideofthemoon0.0's user avatar
2 votes
0 answers
2k views

How do I update MongoDB gpg keys on Debian Linux bullseye 11?

OS: Debian 11 bullseye Kernel: x86_64 Linux 5.10.0-26-cloud-amd64 I did: apt-get update and got: Err:11 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 Release.gpg The following signatures ...
user1872176's user avatar
0 votes
1 answer
67 views

how to optimize DB query for table with millions of rows when info is sorted (sorted by date in this case)

Imagine you are chatting with your SO on Whatsapp and the conversation is years long, so there are thousands if not millions of messages. CREATE INDEX date_index ON messages_table (date_column); and ...
Alexander Mills's user avatar
1 vote
2 answers
9k views

MongoDB error - Failed with result 'core-dump'

I need help with MongoDB. I am running Ubuntu Server 22.04.3 LTS (Jammy). When I run systemctl status mongod, I get this: × mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/...
Creeper39x's user avatar
1 vote
1 answer
36 views

MongoDB does not log anymore after I've removed the logfile

I have had the mongod.log file of more than 10 GBs, so I deleted it. However, since then the file has not been recreated - did I mess it up by deleting the file? How to fix that?
Stevel's user avatar
  • 11
0 votes
0 answers
188 views

Issues upgrading from MongoDB version 3.6 to 4.0 on Debian 10 - Buster

Im running mongo 3.6.23 on Debian 10 and I'd like to upgrade it to 7.0. From what I've read online, mongo needs to be updated in release order to avoid errors. However, it seems like there is no ...
michael36345's user avatar
0 votes
0 answers
44 views

Does finetuning a host make sense when using docker?

I have a dedicated machine for a mongodb-instance. For ease of deployment, I am running that mongodb from within a docker-container. At the mongo-manuals they suggest some settings, one should adopt ...
Sven's user avatar
  • 1
1 vote
1 answer
24 views

mongoDb stays connected only as long as the user remains logged on the server

When I connect (ssh@..) to our server and run the mongoDb (mongod --dbPath..), all runs fine. But as soon as I close the powershell, mongoDb closes too. Why is that? Could it be related to a user, or ...
Tania's user avatar
  • 13
3 votes
0 answers
1k views

zsh: killed in Terminal

After trying to install mongoDB on macOS Ventura, I'm getting error zsh: killed. When I open Terminal, I see: zsh: killed mkdir -m 700 -p "$SHELL_SESSION_DIR" Whenever I try to run a ...
Диана Середа's user avatar
0 votes
1 answer
584 views

MongoDB replicaset on docker swarm

I try to create a MongoDB replicaset in docker swarm services. So far so good. The problem im facing is, when a container stops or is moved to a other docker host, the cluster breaks and i cant ...
Marc's user avatar
  • 403
0 votes
1 answer
2k views

How to deploy Express.js MongoDB using .ejs to vercel

I want to deploy a node express app with mongoDB using .ejs to vercel. The structure of my folder is: -models -public -temp-uploads -uploads -views .env app.js db.js firebase.js package.json router.js ...
Khalif's user avatar
  • 11
2 votes
0 answers
3k views

how can I upgrade mongodb directly from 4.4 to 6.0?

After recent OS upgrade my mongodb is upgraded to 6.0. Then I have following error: "msg":"Wrong mongod version","attr":{"error":"UPGRADE PROBLEM: Found an ...
Wang's user avatar
  • 882

15 30 50 per page
1
2 3 4 5
11