ClickHouse/docs/en/operations/update.md
Roman Bug 99b8e9e93d
Update docs/en/operations/update.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-03-31 18:18:43 +03:00

1009 B

toc_priority toc_title
47 ClickHouse Upgrade

ClickHouse Upgrade

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

$ sudo apt-get update
$ sudo apt-get install clickhouse-client clickhouse-server
$ sudo service clickhouse-server restart

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

!!! note "Note" You can update multiple servers at once as soon as there is no moment when all replicas of one shard are offline.

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

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