To upgrade MongoDB from 4.0.5 to 8.2.3 (default product upgrade)

Procedure

  1. Uninstall HCL Link versiom 1.3.1.
  2. Navigate to the HCL Link installation directory.
  3. Run the upgrade_mongo.sh script with the required parameters. For example:
    ./upgrade_mongo.sh --target-version=8.2.3 --old-version=4.0.5 --data-dir=/opt/data --keep-container=false
  4. Install HCL Link 1.3.2; it will connect to the newly upgraded MongoDB data.