Upgrade

This page covers the general instructions on how to upgrade to newer versions.

When you perform the upgrade, you will lose all current encoding jobs.

The whole cluster needs to run on the same version. Running the cluster with different versions is not supported and will not work. So, each time you upgrade, prepare for a cold restart of the cluster.

Preparation

  1. Read the release notes.

  2. Add or modify the settings that changed or were added in the new version either in clustercode.properties (windows) or as env variables in your docker-compose.yml (docker/linux) file.

  3. On ALL nodes (even arbiter nodes) pull the latest version by running docker pull braindoctor/clustercode:latest.

Upgrade between Clustercode 1.x versions

Docker

  1. Stop and remove all containers by running docker stop clustercode; docker rm clustercode. Not a single node should be running at this time.

  2. Now, one node after the other, re-create the nodes using docker-compose up -d.

Windows

  1. Download the binaries and replace clustercode.jar with the one in the zip file.

  2. Restart the nodes by running clustercode.cmd.