I don’t know why, but when I install or upgrade mongodb I started feeling like in the early 90’s: every time I bought a new game it came up that I need to upgrade my pc in order to be able to play it…
How can we know what CPU instructions are needed in order to be able to install a specific version of mongodb? I ask this because as a software developer I need to use the latest version of mongodb too, and when I buy a dedicated server I need to know if would be able to run it! Of course, in the same time I don’t want to buy the most expensive server just to be sure that will fit… In absence of precise specifications this task would be a gamble. For example, can anyone tell me if this particular CPU will be able to run mongodb 5.0 ? Or I just need to spend more time to test myself by installing one lower version at a time?
NB: of course, installing mongodb 5.0 on ubuntu 22 would be another problem, since the repo only contains the 6.0.3 version…
Installing mongodb <6.0 on ubuntu 22 not possible since it requires OpenSSL 1.x.x while ubuntu 22 has OpenSSL 3.0 Compiling mongodb from source would simply be too much.
In other words, this pc is able to install ubuntu 22 and tons of other stuff… but isn’t good enough for… mongodb!
In absence of some miracle idea it looks like the only option I have is to downgrade ubuntu to 20.04, pray to Manitu to chase the bad spirits, fingers crossed not to see the same “core-dump: STATUS 4/ILL” and try to install mongodb 5.0…
If you read the thread you already linked and the resources referenced you would be aware of the requirements and the options available to you if you don’t meet them.
I missed that part in my first read, and after that I was to busy finding a solution and I forgot to update my post. My bad, sorry, but the problem still remains: the oldest intel CPU supported starting with 5.0 is 11 years old, and this age decreases with 6.0. As I said, this policy is forcing clients to upgrade machines in order to benefit the latest versions. On the other way, is impossible to avoid using the latest versions since there are tons and tons of major or minor changes at short periods of time, therefore it would be impossible to catch up if too much time is passed since the last upgrade…
I don’t know any other major software behaving as mongodb in this matter!
Exactly! MongoDB 4.4 not supported on ubuntu 22.04, same goes for 5.0.
I still couldn’t find a solution for that machine since I learned this lesson the hard way after I installed ubuntu 22.04, now I simply can’t find the motivation to downgrade since I’ll lose all the improvements I upgraded for, mainly for security. Is been almost a year since ubuntu 22.04 was released, and they doesn’t even tell if mongoDb 4.4 will be supported or not. See here.
Again you’re right. And for developers this constraint is even worse since their users will run into the same problem and they will lose their credibility. So, not this particular situation concerns me, but the policy! A high end hardware can be used for a maximum of 10 years, which is nothing for the lifetime of a database.