Closed boutell closed 1 year ago
Hi @boutell,
Per the MongoDB Production Notes, Ubuntu 22.04 is only supported for MongoDB 6.0.4 or later.
MongoDB generally does not backport release packages to O/S versions which were released much later than the corresponding major version of MongoDB, so if you need MongoDB 5.0 on an Ubuntu 22.04 host you would have to install this in a Docker instance or VM.
However, m
did need an update to check for Ubuntu 22 packages on newer server releases.
Can you try running the current m
version from GitHub and confirm if this now works for a MongoDB 6.04+ install:
wget https://raw.githubusercontent.com/aheckmann/m/master/bin/m && chmod +x ./m ./m 6.0
m --version
should report 1.8.6-dev
Thanks, Stennie
Thanks, that's really useful information about MongoDB 6 being the minimum! I will make sure our documentation does not suggest otherwise and I will try your command as well.
On Tue, Sep 19, 2023 at 7:44 AM Stephen Steneker @.***> wrote:
Hi @boutell https://github.com/boutell,
Per the MongoDB Production Notes https://www.mongodb.com/docs/manual/administration/production-notes/, Ubuntu 22.04 is only supported for MongoDB 6.0.4 or later.
MongoDB generally does not backport release packages to O/S versions which were released much later than the corresponding major version of MongoDB, so if you need MongoDB 5.0 on an Ubuntu 22.04 host you would have to install this in a Docker instance or VM.
However, m did need an update to check for Ubuntu 22 packages on newer server releases.
Can you try running the current m version from GitHub and confirm if this now works for a MongoDB 6.04+ install:
wget https://raw.githubusercontent.com/aheckmann/m/master/bin/m && chmod +x ./m ./m 7
m --version should report 1.8.6-dev
Thanks, Stennie
— Reply to this email directly, view it on GitHub https://github.com/aheckmann/m/issues/90#issuecomment-1725341916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAH27IQ6XEQQFA4JVCLRK3X3GASRANCNFSM6AAAAAA45ALNYM . You are receiving this because you were mentioned.Message ID: @.***>
--
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER APOSTROPHECMS | apostrophecms.com | he/him/his
I tried your command and it worked great, almost.
Specifically leaving off the .0
does not work.
But ./m 6.0
and ./m 7.0
both worked.
With just ./m 7
I get:
Prebuilt binaries for linux-x86_64 7 do not appear to be available.
Thanks!
(m --version
reports the right version.)
Specifically leaving off the
.0
does not work.But
./m 6.0
and./m 7.0
both worked.With just
./m 7
I get:
Sorry @boutell, that was a bad usage example (I also edited my comment above to fix). Currently you do need to include the minor version (eg m 6.0
for latest 6.0.x release).
Regards, Stennie
💯 Thanks so much
First: thanks so much for your work on
m
!In Ubuntu 22.04, the following error comes up for mongodb 5.0, 6.0 and 7.0 (I didn't try anything older, but presumably the same):
I do have the right folder in my PATH:
Ubuntu 22.04 moved to openssl 3. But mongod community edition works fine on Ubuntu 22.04. It sounds like
m
is probably downloading the wrong binaries.Any suggestions?
Thanks!