@jan I have reverted the machine back to the snapshot to ensure that the service was still up and running for users who need to access it.
What I did was add the mongodb 4.0 repo
I then ran “sudo yum install mongodb-org” which downloaded the repo and the result was that the service would not start as per the screenshot in my first post.
The log files gave me the following error:
UPGRADE PROBLEM: The data files need to be fully upgraded to version 3.4 before attempting an upgrade to 3.6; see http://dochub.mongodb.org/core/3.6-upgrade-fcv for more details.
The mongo upgrade notes are telling me that I need to change the
featureCompatibilityVersion and upgrade to 3.2 then 3.4 then 3.6 but I tried doing that I was not sure how to get a mongod shell to change that feature because each time I run
I get the following:
Even after adding the /data/db directory with mongo as the owner and group I get:
But it just sits there until I CTRL+C to quit out and it never gives me a shell.