Package Details: mongodb-bin 4.4.1-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.1
Submitter: ali.molaei
Maintainer: ali.molaei
Last Packager: ali.molaei
Votes: 50
Popularity: 2.01
First Submitted: 2019-01-28 09:01
Last Updated: 2020-09-11 10:12

Dependencies (2)

Required by (34)

Sources (16)

Pinned Comments

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 Next › Last »

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

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

hmblesam commented on 2020-08-09 05:25

@jeeeem Thank you. It worked

diogobaeder commented on 2020-08-03 18:08

Thanks @krist , it's working fine now after I ran your recommended command :-)

krist commented on 2020-08-03 08:53

@diogobaeder: You probably need to update featureCompatibilityVersion, see docs.

If you came from 4.2.6+, you essentially need to downgrade to latest 4.2 to get mongodb up and running again, run db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } ) on the mongo shell with admin permissions and then upgrade to 4.4.

If you upgraded from 4.2.5 or earlier, you might need to re-install from scratch and restore data from backup instead of simply downgrading.