fix(garmin-grafana): revert chronograf to fetch_and_deploy_from_url (no .deb in GH releases)

This commit is contained in:
CanbiZ (MickLesk)
2026-04-30 14:42:50 +02:00
parent cbd38c581e
commit 50af211392

View File

@@ -25,7 +25,10 @@ msg_info "Installing InfluxDB"
$STD apt install -y influxdb
msg_ok "Installed InfluxDB"
fetch_and_deploy_gh_release "chronograf" "influxdata/chronograf" "binary"
msg_info "Installing Chronograf"
CHRONOGRAF_VERSION=$(get_latest_github_release "influxdata/chronograf")
fetch_and_deploy_from_url "https://dl.influxdata.com/chronograf/releases/chronograf_${CHRONOGRAF_VERSION}_amd64.deb" ""
msg_ok "Installed Chronograf"
msg_info "Configuring InfluxDB"
sed -i 's/# index-version = "inmem"/index-version = "tsi1"/' /etc/influxdb/influxdb.conf