I have a running Graylog 4.3.9 instance based on FreeBSD, with MongoDB 3.6 and OpenSearch 1.3.4.
I want to upgrade it but reading the documentation there seems to be a chicken and egg situation of sorts.
The “Upgrade MongoDB” section states this:
Prerequisites
A running MongoDB standalone server.
A running Graylog 5.0+ cluster.
Access to the servers where MongoDB is installed and the necessary privileges to install and start/stop software.
MongoDB administrator credentials for the cluster.
Administrator access to Graylog.
Access to the Graylog server log files.
So, is Graylog 5.0 supposed to run with MongoDB 3.6.23? I presume I can’t have a running Graylog 5.0 cluster before I update MongoDB to 5.x or 6.x successfully, right?
I would start the journey by upgrading MongoDB to 4.4 which is supported by your Graylog 4.3.9 version (System Requirements) That will put you in a better position to upgrade Graylog to 5.x.
Here is a query post with some pretty good detail on the upgrade, though it’s Ubuntu, if you are familiar enough with Linux to use FreeBSD, you likely won’t have a problem in translation
Note: My CPU is a Xeon E3-1230L which supports AVX instructions. Anyway on another post I have hinted at how to build MongoDB without the requirement of AVX. It’s a simple matter of removing one optimization compiler flag from the SConstruct file.