MongoDB

149 readers
1 users here now

founded 2 years ago
MODERATORS
1
 
 

Hello all,

I'm deploying an Amazon EC2 instance of RHEL and attempting to install MongoDB via yum.

Following the guide provided by MongoDB, if I place only the repo file for either mongodb 7 or 8, the install fails. If I place both repo files, it still fails.

If only 7's repo file is present, it fails with 7's GPG key.

MongoDB Repository                                                                      434  B/s | 1.6 kB     00:03
Importing GPG key 0x1785BA38:
 Userid     : ""
 Fingerprint: E588 3020 1F7D D82C D808 AA84 160D 26BB 1785 BA38
 From       : https://pgp.mongodb.com/server-7.0.asc
error: Certificate 160D26BB1785BA38:
  Policy rejects 160D26BB1785BA38: No binding signature at time 2025-05-28T14:23:03Z
Key import failed (code 2). Failing package is: mongodb-database-tools-100.12.1-1.x86_64
 GPG Keys are configured as: https://pgp.mongodb.com/server-7.0.asc
Public key for mongodb-mongosh-2.5.1.x86_64.rpm is not installed. Failing package is: mongodb-mongosh-2.5.1-1.el8.x86_64
 GPG Keys are configured as: https://pgp.mongodb.com/server-7.0.asc
Public key for mongodb-org-mongos-7.0.20-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-mongos-7.0.20-1.el9.x86_64
 GPG Keys are configured as: https://pgp.mongodb.com/server-7.0.asc
Public key for mongodb-org-server-7.0.20-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-server-7.0.20-1.el9.x86_64
 GPG Keys are configured as: https://pgp.mongodb.com/server-7.0.asc
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: GPG check FAILED

If only 8's repo file is present, it fails with libssl and libcrypto errors:

Excerpt:

[...]
 - cannot install the best candidate for the job
  - nothing provides libcrypto.so.1.1()(64bit) needed by mongodb-org-server-8.0.0-1.el8.x86_64 from mongodb-org-8.0
  - nothing provides libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) needed by mongodb-org-server-8.0.0-1.el8.x86_64 from mongodb-org-8.0
[...]

If both 7 and 8's repo file is present, it fails on 7's GPG key again.

I've tried manually importing both 7 and 8's GPG keys with:

rpm --import "https://pgp.mongodb.com/server-8.0.asc"

and

rpm --import "https://pgp.mongodb.com/server-7.0.asc"

The 8 import seems to work but the 7 import fails.

The thing is, last week, I successfully installed MongoDB on RHEL 9 using these exact same steps. I'm just doing it again now to capture documentation for work and it's failing.

So my questions are: What the hell?

Seriously though, what can I do to fix this? Is this a problem with MongoDB? Do they need to update their keys?

Thanks

2
3
4
5
6
1
EF Core + MongoDB (devblogs.microsoft.com)
submitted 2 years ago by starman to c/mongodb
 
 
7
2
submitted 2 years ago by sboulema to c/mongodb
 
 

New Features feat(insights): enable insights by default COMPASS-7000

Bug Fixes fix: use value from the evt.target to fix index creation COMPASS-6981 fix(compass): cap number of log files to 100 MONGOSH-1449 fix(compass-components): case sensitive index key badges COMPASS-6510 fix(compass-query-bar): map project to projection before emitting open-explain-plan event COMPASS-6995 fix(compass-components): use mod for hotkey so windows uses ctrl instead of windows key COMPASS-6777 fix(explain-compat): handle missing execution stats in raw explain

8
 
 

10 July 2023 Release Adds the sort operator, which supports sorting in ascending or descending order on fields that you define in your Atlas Search index for sorting.

Limits the knnBeta operator as a top-level operator.

Introduces the ability to perform text, wildcard, regular expression, fuzzy, and range searches on string fields by using the queryString operator.