Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To ensure a smooth upgrade process, please follow the instructions below.

NOTE: If your current version is below 7.2.0, Follow the Step 2 else continue step1

Step 1 - Upgrade Steps for 7.2.x and above

...

Code Block
docker-compose -f /docker-compose.yaml/file/location/docker-compose.yaml pull
docker exec mongodb /bin/bash -c 'mongo admin --username="${MONGODB_ADMIN_USER}" --password="${MONGODB_ADMIN_PASS}" --eval "db.shutdownServer()"'
docker-compose -f /docker-compose.yaml/file/location/docker-compose.yaml down
docker-compose -f /docker-compose.yaml/file/location/docker-compose.yaml up -d

Next Step : Follow the Post Upgrade Steps

...