Package Details: mongodb-bin 8.0.4-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: SSPL-1.0
Conflicts: mongodb, mongodb-shell-bin
Provides: mongodb
Submitter: ali.molaei
Maintainer: ali.molaei (rafaelff)
Last Packager: ali.molaei
Votes: 93
Popularity: 0.26
First Submitted: 2019-01-28 09:01 (UTC)
Last Updated: 2024-12-13 11:09 (UTC)

Dependencies (5)

Required by (31)

Sources (7)

Pinned Comments

ali.molaei commented on 2021-07-28 14:29 (UTC) (edited on 2024-11-02 19:21 (UTC) by ali.molaei)

If you get core dumps on version 5 or above, read this: https://jira.mongodb.org/browse/SERVER-58648

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 Next › Last »

ali.molaei commented on 2019-02-14 15:58 (UTC) (edited on 2019-02-14 20:59 (UTC) by ali.molaei)

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

ali.molaei commented on 2019-02-14 09:53 (UTC)

Looks like https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.6.tgz these binaries have no support for SSL, I will update the package with binaries with SSL support very soon

jamespharvey20 commented on 2019-02-14 08:57 (UTC) (edited on 2019-02-14 08:58 (UTC) by jamespharvey20)

@hendry, using the mongodb-bin package, mongod --version sadly does not list a line with OpenSSL version, where it lists OpenSSL version: OpenSSL 1.1.1a 20 Nov 2018 using the mongodb package. It looks like upstream must not use the --ssl option when compiling their pre-made binary. That makes sense, too, since this package appears fine without any dependencies. Otherwise, "namcap" would be picking up openssl as a missing dependency. If you need to run that, I think that means the only options are to convince upstream to add the option and issue a new release of the .tgz, or to perform the lengthy compilation using the mongodb package. FYI, it compiles in about 1.5 hours with 180GB of hard drive space using a 32 core system. Maybe there's some VPS machines matching those specs that could be rented for a few hours and destroyed.

ali.molaei commented on 2019-02-14 07:21 (UTC)

@hendry Can you please install openssl to see the problem solves or not? $ sudo pacman -S openssl

hendry commented on 2019-02-14 06:31 (UTC)

Whilst trying to dump with

mongodump version: r4.0.6 git version: caa42a1f75a56c7643d0b68d3880444375ec42e3 Go version: go1.10.7 os: linux arch: amd64 compiler: gc

I get:

error parsing command line options: cannot use ssl: tool not built with SSL support

francoism90 commented on 2019-02-12 16:10 (UTC) (edited on 2019-02-12 16:10 (UTC) by francoism90)

@ali.molaei Great stuff, good to know what deps are required. :)

Bit disappointed this is not listed on their man/wiki, or maybe I'm in the wrong section?

ali.molaei commented on 2019-02-12 08:01 (UTC)

@jamespharvey20 I have removed install_compass as it is not supporting Arch Linux and added mongodb-compass as an optional dependency

I also (maybe) split tools package in a later update 4.0.7(?) and use official deb or rpm packages for it (maybe)

jamespharvey20 commented on 2019-02-12 03:47 (UTC) (edited on 2019-02-12 03:49 (UTC) by jamespharvey20)

@ali.molaei sorry I somehow missed the backup option!

Regarding a split package, doesn't make a difference to me, just my responses to your comments. You could make this PKGBUILD build both mongodb-bin and mongodb-tools-bin. Anyone not using tools would save libpcap as a dependency. Naming it this way would also prevent a naming conflict. I don't know for sure, but I think mongodb-tools is going to get dropped to the AUR as well, in part so mongodb and it can be updated in sync.

Regarding WiredTiger, removing it from the mongodb from source PKGBUILD causes a compilation failure. The wiredtiger package includes header files and the libraries, and the compilation failure is from missing header files. I'm thinking the library in it isn't used though. Although they're including WiredTiger in their source tree, as-is, it doesn't seem to find the header file. I might file an upstream bug at some point to try to remove that dependency from the source package.

Also, since my original comment, I found python is just a dependency for install_compass, like you said. That's a script to install compass, a GUI. But, the script detects the OS, and if linux, the distribution. It doesn't run on Arch, saying it's an unsupported distribution. There's an AUR package, mongodb-compass. mongodb (from source) is going to remove mongodb-compass from the package, and you can do the same to remove this dependency.

ali.molaei commented on 2019-02-11 22:00 (UTC)

So, minutes ago, I had a talk with Matt Lord, Senior Product Manager of MongoDB, and He told me that there is no dependency on WiredTiger in this package, because it’s statically linked in, and also "Not a separate concern for builds from source either, WiredTiger is part of the source tree (vendor’d in via regular drops from their separate tree)" but it is a need for libpcap for mongoreplay, so I will add it, python2 is also needed for install_compass script, so I will add it too :)

Archanfel80HUN commented on 2019-02-11 09:39 (UTC)

Thank You Sir!

You're a life/time saver :)

Cheers!