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, proceed with Step 1 and Step 2. Otherwise, directly proceed to Step 2.

...

Follow the Step 2 else continue step1

Step 1 - Upgrade Steps for 7.2.x and above

  1. If your docker-compose.yaml file have tagversion as latest execute the bellow command for upgrade.

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
  1. Else if your docker-compose.yaml file have tagversion as hardcoded version value like 7.3.0. modify it to your desired version before executing these commands:

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

Step 2 a. - Upgrade to Version 7.2.0

Before you continue with any latest upgradesversion (> 7.2.0), it's important to update your system to version 7.2.0 first. If your current version is older than 7.2.0, follow these steps:By following these steps:

  1. Download the docker-compose.yaml file to your system. File link =

    View file
    namedocker-compose.yaml

  2. Open the docker-compose.yaml file using in a text editor .Locate your tagversion parameter of each service and replace it with 7.2.0.and pass the required environmental variable follow this link

  3. Save the changes to the docker-compose.yaml file.

Step 2 b. - Upgrade Steps

Follow the below steps to upgrade the knowhow instance.

...

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 stop nonjira-processor azure-processor nonazureboards-processor notification-consumer
docker rm nonjira-processor azure-processor nonazureboards-processor notification-consumer
docker-compose -f /docker-compose.yaml/file/location/docker-compose.yaml up -d

Note Step 2 involves the graceful shutdown of the MongoDB service, a mandatory procedure when transitioning from versions below 7.2.x to version 7.x . This ensures a smooth upgrade process.

You may proceed to skip this step if your upgrade is within the 7.x version range.

Next Step : Follow the Post Upgrade StepsNOTE Ignore any errors