Differences
This shows you the differences between two versions of the page.
en:dpi:dpi_components:qoestor:install_and_update:update:centos7:start [2024/05/17 09:03] – created elena.krasnobryzh | en:dpi:dpi_components:qoestor:install_and_update:update:centos7:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Update on CentOS 7 ====== | ||
- | {{indexmenu_n> | ||
- | |||
- | <note warning> | ||
- | |||
- | Due to certain limitations in ClickHouse, changes were made to the dependencies of our fastor package. These changes ensure the correct functioning of the package on CentOS 8 and VEOS, but may cause issues on CentOS 7 due to the inability to handle the specified dependencies. | ||
- | |||
- | ===== Step-by-Step Guide ===== | ||
- | |||
- | **Step 1.** If you are receiving large amounts of data, it is recommended to: | ||
- | - Stop the receivers: <code bash> | ||
- | - Wait for the inserts to complete in the database: <code bash> | ||
- | - Stop the database: <code bash> | ||
- | |||
- | **Step 2.** Clear the yum cache: | ||
- | <code bash>yum clean all</ | ||
- | |||
- | **Step 3.** Run the installation script to update the repositories: | ||
- | <code bash> | ||
- | |||
- | <note important> | ||
- | |||
- | **Step 4.** Check the output of the command: | ||
- | <code bash>rpm -qa | grep clickhouse</ | ||
- | |||
- | If the output shows different states for all packages: | ||
- | < | ||
- | clickhouse-client-23.4.2.11-1.x86_64 | ||
- | clickhouse-server-23.4.2.11-1.x86_64 | ||
- | clickhouse-common-static-23.4.2.11-1.x86_64 | ||
- | </ | ||
- | |||
- | then you need to remove these packages: | ||
- | <code bash>rpm -e fastor clickhouse-client-23.4.2.11-1.x86_64 clickhouse-server-23.4.2.11-1.x86_64 clickhouse-common-static-23.4.2.11-1.x86_64</ | ||
- | |||
- | **Step 5.** Update ClickHouse: | ||
- | <code bash>yum install clickhouse-common-static-24.2.2.71 clickhouse-server-24.2.2.71 clickhouse-client-24.2.2.71</ | ||
- | |||
- | <note important> | ||
- | |||
- | **Step 6.** If the file ''/ | ||
- | |||
- | Then run the command: | ||
- | <code bash> | ||
- | |||
- | **Step 7.** Install the latest version of fastor: | ||
- | <code bash>yum install fastor</ | ||
- | |||
- | **Step 8.** Restart ClickHouse in repair mode: | ||
- | <code bash> | ||
- | |||
- | **Step 9.** Update the database schema: | ||
- | <code bash> | ||
- | |||
- | **Step 10.** Restore the .env file: | ||
- | <code bash>mv "/ | ||
- | |||
- | **Step 11.** Restart the receivers: | ||
- | <code bash> | ||