Package Details: mongodb-bin 4.4.5-1

Git Clone URL: https://aur.archlinux.org/mongodb-bin.git (read-only, click to copy)
Package Base: mongodb-bin
Description: A high-performance, open source, schema-free document-oriented database
Upstream URL: https://www.mongodb.com/
Keywords: database document-oriented mongo mongod mongodb mongos
Licenses: SSPLv1
Conflicts: mongodb
Provides: mongodb=4.4.5
Submitter: ali.molaei
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 60
Popularity: 1.56
First Submitted: 2019-01-28 09:01
Last Updated: 2021-04-10 05:35

Dependencies (2)

Required by (36)

Sources (16)

Pinned Comments

DenysMb commented on 2021-01-04 03:37

Hi @ali.molaei I can confirm the problem reported by @dfjigdfijgojio The solution in the @ivansaul comment don't work. If we run

gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 --recv 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2

We get

gpg: keyserver receive failed: Server indicated a failure

The solution that I found was to download the public key directly from https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 and run (from the folder where I downloaded the key):

gpg --import [KEY FILE NAME]

I found the problem. The problem for me was because I installed openresolv instead systemd-resolved. After install systemd-resolved (and removed openresolv) and restarted my PC, I was able to import the keys "automatically".

ivansaul commented on 2020-08-20 20:57

Hi. If you are getting PGP key importing error, like this. Follow these instructions that I wrote on my blog. https://app.gitbook.com/@ivansaul/s/blog/how-to-install-mongodb-on-arch-linux

==> PGP keys need importing:
 -> 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2, required by: libcurl-openssl-1.0
==> Import? [Y/n] y
:: Importing keys with gpg......
gpg: keyserver receive failed: General error
==> Error: Problem importing keys

ali.molaei commented on 2019-02-14 15:58

As I said, mongodb general Linux release didn't support SSL, and Also, they will not exist after version 4.2 https://www.mongodb.com/blog/post/a-proposal-to-endoflife-our-generic-linux-tar-packages So, I changed my mind about using them and will use ubuntu xenial binaries from http://repo.mongodb.org/apt/ubuntu/dists/xenial/ for now, as they have SSL support, maybe there will be an official Arch Linux repo of mongodb one day :)

I also separated -tools package and now there will be a mongodb-tools-bin package

There is only one problem and that is the mongoreplay binary is not exists in -tools packages of mongodb-org repo of any distro!

I filed a bug here about it, and maybe it will be added soon. https://jira.mongodb.org/browse/TOOLS-2220

Latest Comments

1 2 3 4 5 6 Next › Last »

DenysMb commented on 2021-01-04 03:37

Hi @ali.molaei I can confirm the problem reported by @dfjigdfijgojio The solution in the @ivansaul comment don't work. If we run

gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 --recv 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2

We get

gpg: keyserver receive failed: Server indicated a failure

The solution that I found was to download the public key directly from https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 and run (from the folder where I downloaded the key):

gpg --import [KEY FILE NAME]

I found the problem. The problem for me was because I installed openresolv instead systemd-resolved. After install systemd-resolved (and removed openresolv) and restarted my PC, I was able to import the keys "automatically".

ali.molaei commented on 2020-12-02 11:22

Hey @dfjigdfijgojio Did you take a look at ivansaul's comment?

basemax commented on 2020-12-02 11:13

:: Downloaded PKGBUILD (1/2): libcurl-openssl-1.0
:: Downloaded PKGBUILD (2/2): mongodb-bin
  2 libcurl-openssl-1.0                      (Build Files Exist)
  1 mongodb-bin                              (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/2) Parsing SRCINFO: libcurl-openssl-1.0
:: (2/2) Parsing SRCINFO: mongodb-bin

:: PGP keys need importing:
 -> 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2, required by: libcurl-openssl-1.0
==> Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: General error
problem importing keys

ali.molaei commented on 2020-11-14 09:10

@G3ro Sorry for being late to answer

Yes I will do that for the next release (4.4.2 is Upcoming) https://docs.mongodb.com/manual/release-notes/4.4/

G3ro commented on 2020-09-27 22:09

Hello,

could you consider using the files for "focal" instead of "bionic"? Focal is more recent and thus more similar to Arch.

chrbayer commented on 2020-08-21 13:08

Ah, ok :-) Thank you very much for the information, so I will remove my file. I found the reason for the missing authentication, too: My mongodb.conf was overwritten where I enabled it.

Bodenhaltung commented on 2020-08-21 13:00

But why are the limits the limit.d directory ignored?

/etc/security/limits.conf allows setting resource limits for users logged in via PAM and not affect system services.

chrbayer commented on 2020-08-21 12:53

Thanks, that worked. This setting should be included in the package I would say... But why are the limits the limit.d directory ignored?

Bodenhaltung commented on 2020-08-21 11:08

Soft rlimits too low

systemctl edit mongodb.service

And add

[Service] LimitNOFILE=64000

restart mongod.

chrbayer commented on 2020-08-20 22:28

Hi, thank you for providing this package!

After updating from 4.2 I get the following two errors on startup:

  • Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
  • Soft rlimits too low

Access control was active in 4.2 but now it seem to be gone, do I have to reenable it again? The necessary limits are set in /etc/security/limits.d/98-mongodb.conf but seem to be ignored from the version 4.4. How can they be applied?

Thank you very much in advance!

Best regards, Chris