Commit Graph

10 Commits

Author SHA1 Message Date
MickLesk
25514eda40 refactor: streamline ClickHouse and OxiCloud installation scripts; update RAM requirements 2026-06-02 11:32:19 +02:00
Sam Heinz
8e477b1fca set 'var_arm64' to no for all cts 2026-05-22 23:44:47 +10:00
MickLesk
e287504ab9 fix: improve HyperDX API build process in ClickHouse scripts
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 10:07:08 +02:00
MickLesk
3850f46cdb fix clickstack 2026-05-06 09:10:02 +02:00
CanbiZ (MickLesk)
b920412247 fix(clickhouse): clarify URL labels (Play UI / HTTP API on 8123) 2026-04-30 14:35:47 +02:00
CanbiZ (MickLesk)
35e4965c9a refactor(clickhouse): use fetch_and_deploy_gh_release and check_for_gh_release
- Replace custom git clone + version tracking with fetch_and_deploy_gh_release tarball mode
- Replace manual version comparison with check_for_gh_release in update script
- Remove git from dependencies (no longer needed for tarball download)
- Version file ~/.clickstack now managed by tools.func
2026-04-17 12:45:50 +02:00
CanbiZ (MickLesk)
572659a6c5 fix(clickhouse): upgrade HyperDX from v1.x to v2.x
- Switch tag format from hyperdx@* to @hyperdx/app@* (v2.x releases)
- Remove @types/hyperdx__lucene workaround (fixed in v2.x)
- Fix API build path: dist/index.js -> build/index.js
- Use next start instead of standalone server for app
- Add IS_LOCAL_APP_MODE for auth-free local deployment
- Add DEFAULT_SOURCES/DEFAULT_CONNECTIONS for auto-provisioning
- Update script: fresh clone approach for major version changes
- Add corepack setup to update script for yarn version changes
2026-04-17 12:01:51 +02:00
CanbiZ (MickLesk)
129b041f9d fix(clickhouse): remove broken @types/hyperdx__lucene devDep before yarn install
v1.10.1 packages/app/package.json contains '@types/hyperdx__lucene': 'npm:@types/lucene'
but @types/lucene does not exist on npm (404), causing yarn install --immutable to fail.
Remove the devDependency via node patch before install and drop --immutable flag.
2026-04-17 09:12:29 +02:00
CanbiZ (MickLesk)
896fdc43db Add optional ClickStack observability stack
Introduce an optional ClickStack observability install (HyperDX UI + OTel Collector + MongoDB). Adds a Whiptail prompt to enable ClickStack and adjusts default resource suggestions when selected. Updates ct/clickhouse.sh to include observability tag, author, update logic to auto-update HyperDX and the OTel Collector, and prints appropriate access URLs. Extends install/clickhouse-install.sh to install dependencies, initialize ClickHouse schemas for logs/traces/sessions, deploy the OTel Collector with a ClickHouse exporter, clone/build HyperDX, create systemd services (clickstack-otel, clickstack-api, clickstack-app), and enable them. Updates json/clickhouse.json to include an informational note about the optional ClickStack requirements and usage.
2026-04-14 21:11:14 +02:00
CanbiZ (MickLesk)
28a192440e Add ClickHouse CT template and installer
Introduce ClickHouse support by adding a container template (ct/clickhouse.sh), an installer script (install/clickhouse-install.sh) and app metadata (json/clickhouse.json). The installer configures ClickHouse to listen on 0.0.0.0, restarts the service, and performs OS update, networking checks, MOTD/customization and cleanup. Metadata declares default resources (2 CPU, 4GB RAM, 10GB disk), interface port 8123, documentation/website links, and a warning about the default user having no password.
2026-04-14 20:48:53 +02:00