Updating MongoDB 7.0.1 to 7.0.2¶
Overview¶
-
Install the new version as described in the instructions below.
The database content will remain untouched.
-
In an editor compare the new
mongod.conf
configuration file to themongod.conf.bak
file and change the necessary settings, especially those stated in the instructions below.
Instructions¶
-
In a browser, log on to the SEAL Systems delivery platform with your logon data:
https://delivery.sealsystems.de
Hint - logon data
You receive the logon data from your Technical Project Manager at SEAL Systems.
-
Download the MongoDB - 7.0.2.195 - msi folder. It is saved as
MongoDB - 7.0.2.195 - msi.zip
. -
Extract
MongoDB - 7.0.2.195 - msi.zip
. -
In a PowerShell (Administrator), change to the
MongoDB - 7.0.2.195 - msi
directory and start installing the packages:Set-ExecutionPolicy Bypass -Scope Process -Force; .\install.ps1
-
Open the required firewall ports for necessary services:
Set-ExecutionPolicy Bypass -Scope Process -Force; .\firewall.ps1
-
Start MongoDB:
Start-Service -name seal-mongodb
-
In an editor, open the
mongod.conf
configuration file. -
Check the following keys:
-
certificateKeyFile
has to point to the correct certificate file. -
Either
CAFile
ortlsUseSystemCA
is set. They are mutually exclusive and must not be set at the same time.
-