ClickHouse Upgrade

If ClickHouse was installed from deb packages, execute the following commands on the server:

  1. $ sudo apt-get update
  2. $ sudo apt-get install clickhouse-client clickhouse-server
  3. $ sudo service clickhouse-server restart

If you installed ClickHouse using something other than the recommended deb packages, use the appropriate update method.

ClickHouse does not support a distributed update. The operation should be performed consecutively on each separate server. Do not update all the servers on a cluster simultaneously, or the cluster will be unavailable for some time.

The upgrade of older version of ClickHouse to specific version:

As an example:

xx.yy.a.b is a current stable version. The latest stable version could be found here

  1. $ sudo apt-get update
  2. $ sudo apt-get install clickhouse-server=xx.yy.a.b clickhouse-client=xx.yy.a.b clickhouse-common-static=xx.yy.a.b
  3. $ sudo service clickhouse-server restart