Skip to content

Updating MongoDB 7.0.1 to 7.0.2


Overview

  1. Install the new version as described in the instructions below.

    The database content will remain untouched.

  2. In an editor compare the new mongod.conf configuration file to the mongod.conf.bak file and change the necessary settings, especially those stated in the instructions below.


Instructions

  1. 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.

  2. Download the MongoDB - 7.0.2.195 - rpm folder. It is saved as MongoDB - 7.0.2.195 - rpm.zip.

  3. Extract MongoDB - 7.0.2.195 - rpm.zip:

    unzip "MongoDB - 7.0.2.195 - rpm.zip"
    
  4. Change to the MongoDB - 7.0.2.195 - rpm directory and start installing the contained packages:

    cd "MongoDB - 7.0.2.195 - rpm"
    
    sudo sh install.sh
    
  5. Open the required firewall ports for necessary services:

    sudo sh firewall.sh
    
  6. Start MongoDB:

    sudo systemctl start mongod
    
  7. In an editor, open the mongod.conf configuration file.

  8. Check the following keys:

    • certificateKeyFile has to point to the correct certificate file.

    • Either CAFile or tlsUseSystemCA is set. They are mutually exclusive and must not be set at the same time.


Back to top