System Update with Docker

Updating System with Internet Access

Tip

Below is an example of updating a system from version 6.6 to 6.7

Pre-conditions:

  • Git is installed.

  • Docker Compose (version above 1.29) is installed.

  • Unidata MDM project has been cloned to the server.

To update the system:

  1. Stop the Docker Compose image for version 6.6 via the docker-compose down command

  2. Go to the Gitlab repository: https://gitlab.com/unidata-community-group/unidata-platform-deploy.git

  3. Switch to the release/6.7 branch

  4. Pull out the project. Command git pull.

  5. Navigate to the directory with the code. Command example:

    cd unidata-platform-deploy
    
  6. If necessary, change the parameters for the database and port parameters in the .env file, located at the root of the project. An example of the parameters below.

  7. To start the system use the command:

    docker-compose up -d
    

Parameters example for .env file:

UNIDATA_ELASTIC_HTTP_OUTER_PORT=19201
UNIDATA_ELASTIC_OUTER_PORT=19301

UNIDATA_POSTGRES_USER=postgres
UNIDATA_POSTGRES_PASSWORD=postgres
UNIDATA_POSTGRES_DB_NAME=postgres
UNIDATA_POSTGRES_OUTER_PORT=15431

UNIDATA_FRONTEND_PORT=8082
UNIDATA_BACKEND_PORT=9081

Note

No additional actions are required to update the database, loaded libraries and pipelines

Note

In version 6.5, the connector “org.unidata.mdm.dq.data[RECORD_UPSERT_QUALITY_CONNECTOR]” has been renamed to “org.unidata.mdm.dq.data[RECORD_QUALITY_CONNECTOR]” for version 6.6. If 6.5 version had custom pipelines with this connector, they will not be loaded when updating to 6.6, but will remain in the database. You will need to manually update the connector