From d649f14a49577c1317db24ce6a1afc1014ba1b5b Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 14 Jul 2025 11:52:33 +0200 Subject: [PATCH] fixes --- misc/tools.func | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 8326d49e..5d226c76 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1894,14 +1894,11 @@ function setup_clickhouse() { if ! command -v clickhouse >/dev/null; then msg_info "Setup ClickHouse" - # β†’ Teste Erreichbarkeit - if ! curl -fsSL --connect-timeout 5 https://packages.clickhouse.com/ping >/dev/null 2>&1; then + if ! curl -fsSL --connect-timeout 5 https://packages.clickhouse.com >/dev/null 2>&1; then msg_error "Connection to packages.clickhouse.com:443 failed – possibly blocked" echo "πŸ’‘ Check AdGuard/Pi-hole or firewall rules" return 1 fi - - # β†’ Hole GPG-Key if ! curl -fsSL --retry 3 --connect-timeout 10 "$GPG_URL" | gpg --dearmor -o "$GPG_KEY_PATH"; then msg_error "Failed to fetch ClickHouse GPG key" @@ -1911,9 +1908,6 @@ function setup_clickhouse() { echo "deb [signed-by=$GPG_KEY_PATH arch=$ARCH] https://packages.clickhouse.com/deb stable main" \ >/etc/apt/sources.list.d/clickhouse.list - # ────────────────────────────────────────────────────── - # hier unterdrΓΌckst du CLICKHOUSE_USER im Env, damit - # die Paket-Skripte nicht den Systemuser 'rybbit' anlegen: env -u CLICKHOUSE_USER $STD apt-get update env -u CLICKHOUSE_USER $STD apt-get install -y \ clickhouse-server clickhouse-client