Installation problems¶
This page lists the problems you can meet while installing QubeSight, with the message you see, the cause and the fix. It covers the prerequisite checks, ports, disk and memory, image builds and DNS, Podman networking, service health, HTTPS certificates, the virtual IP, cold storage and backup locations, restores, and sizing warnings.
Community Enterprise
General approach¶
- Read the last error line.
install.shprints errors as[hata]and warnings as[uyarı](the terminal messages are in Turkish in this release; the English meaning of each is given below). The web installer shows the failed stage, a hint and the full output. -
Look at the failing service:
-
Fix the cause and run the installer again. A re-run is always safe: secrets, data and earlier answers are kept and only missing work is done.
The web installer also appends its output to install.log in the release directory (masked; file mode 0600, readable only by the user who runs the wizard). See also Logs and diagnostics.
Prerequisites¶
| Message (meaning) | Cause | Fix |
|---|---|---|
| Docker not found. Install Docker Engine + Compose v2. | No Docker CLI | Install Docker Engine and the Compose plugin, or run ./setup.sh on Ubuntu/Debian |
| Docker is not running or this user has no access | Daemon stopped, or user not in the docker group |
sudo systemctl enable --now docker; sudo usermod -aG docker $USER and log in again; or run as root |
Docker Compose v2 is required (docker compose version must work) |
Old docker-compose v1 only |
Install docker-compose-plugin |
--web needs Node.js 20 or newer |
No or old Node.js | Install Node.js 20+ (or run ./setup.sh), or use the terminal installer |
| Unknown option | Typo or an option from a newer release | ./install.sh --help |
| Web installer System: bash was not found | No bash (for example plain Windows) | Use a Linux server; on Windows only WSL or Git Bash can run the script |
setup.sh: automatic fix only on Ubuntu/Debian |
Other distribution | Install Node.js and Docker by hand |
read_or_fail: command not found right after the embedded-model question (exit status 127) |
./install.sh without options in the 2.0.107 bundle |
Fixed in 2.0.109. With 2.0.107, remove the partial installation (sudo ./uninstall.sh) and use ./install.sh --web or ./install.sh --yes …. See Known issues of 2.0.107. |
The installation stays at Starting services; Redpanda restarts with Permission denied (RHEL, Rocky or Oracle Linux) |
SELinux enforcing and a 2.0.107 installer: the data directory keeps the host label | Fixed in 2.0.109 (the installer labels the directories container_file_t). With 2.0.107, label them by hand as shown in Known issues of 2.0.107. |
--hot-days and --hot-disk-percent were both given without --hot-mode |
Since 2.0.109 each of them alone selects its mode; together they are ambiguous | Add --hot-mode days or --hot-mode disk, or give only one of them. |
Option validation errors¶
install.sh validates every option before changing anything. Typical messages and the rule they enforce:
| Option | Rule |
|---|---|
--expected-tps |
Integer 1 to 1,000,000 |
--hot-days, --restore-hot-days |
7 to 3650 |
--cold-years |
1 to 30 |
--hot-disk-percent |
50 to 95 |
--backup-lock-days |
1 to 3650 |
--cold-bucket |
3 to 63 characters: lowercase letters, digits, ., -, starting and ending with a letter or digit |
--cold-endpoint |
HOST:PORT; no underscore in the host name (S3 addressing rule) |
--cold-access-key / secret key |
3 to 128 / 8 to 128 characters; no spaces, quotes, $, # or \ |
--cold-endpoint, --cold-secure, --cold-auth, --cold-region, access and secret keys |
Only with --cold-mode external; no keys with --cold-auth iam |
--vault-* |
Only with --cold-mode vault; host key as SHA256: plus 43 characters |
--backup-sftp-* |
Only with --backup-location sftp; path absolute without ./.. segments or trailing / |
--backup-location minio |
Needs cold storage on |
--restore-*, --trust-backup-ssh-key |
Only with --restore-from |
--tls-cert / --tls-key |
Both together, not with --no-tls, PEM format, key without a passphrase |
--cluster-ssh-user |
Starts with a lowercase letter or _; lowercase letters, digits, _, - |
--set KEY=VALUE |
Only the allowed keys; see install.sh options |
| Backup passphrase | At least 12 characters, no leading or trailing space |
QUBESIGHT_ADMIN_PASSWORD |
At least 12 characters; no spaces, quotes, $, # or \ (.env is a plain file) |
Ports in use¶
Message: These ports are in use by another process: UI_PORT(3000/tcp) … Change the *_PORT values in .env and run again.
Cause: Another service holds a configured port. Ports are checked on a first start only.
Fix: Stop the other service, or choose other ports: in the web installer's Network step (each port shows free or in use with a Use N suggestion), or with --set UI_PORT=3443 and similar. Later, port is already allocated from Compose has the same cause.
Note
While the web installer runs on port 3000, the product's interface port 3000 is not reported as busy: the gateway is started after the wizard releases the port.
Disk and memory¶
| Message (meaning) | Fix |
|---|---|
| Docker has N MiB of memory; at least 6 GiB recommended. ClickHouse/Redpanda may slow down or stop with OOM. | Give the VM or Docker Desktop more memory |
| This directory has N MiB free; about 10 GiB recommended for images and data | Free space or install on a larger disk. The web installer blocks below 2 GiB. |
| Web installer hint: The disk is full | docker system prune removes unused images; free space and retry |
| Web installer hint: Out of memory | Give Docker more memory and retry |
| No space for the embedded model: N MiB free, about M MiB needed | Free space, or install without the model (--no-assistant) |
| The data directory cannot be changed after installation | A different --data-dir (or Data disk choice) was given for an installation that already has data |
--data-dir must be an absolute path |
The value is relative, contains other characters, or is / |
| Cannot write to the data directory | The installer cannot create or write the directory |
| The data disk … is not in /etc/fstab | The disk will not be mounted again after a reboot |
| The data directory contains data left from an earlier installation | Old data under the chosen data directory may not open with the new secrets |
Image build, registry and DNS¶
| Symptom | Cause | Fix |
|---|---|---|
docker compose build failed … building needs network access; with ready images use --no-build |
The build could not reach Docker Hub, GitHub or the package registries, or the code failed to build | Check internet access and proxy settings. On an offline server install from the offline bundle; see Offline (air-gapped) installation. |
These images are not on the server: … This server cannot reach the internet (Docker Hub): images cannot be built or pulled. Unpack the offline bundle and install with the ./install.sh inside it. |
An image is missing and Docker Hub cannot be reached; the installer stops before building (also after a failed docker compose build or docker compose up) |
Install from the offline bundle qubesight-<version>-offline.tar.gz, or load the listed images and re-run |
| Offline bundle incomplete: images/… is missing, or images/… is corrupt (SHA-256 does not match) | A file of the offline bundle was damaged or not copied completely. Web installer hint: "A file in the offline bundle could not be verified (SHA-256) or is missing. Download and unpack the bundle again." | Check the bundle with its .sha256 file, copy it again and unpack it again |
| An image was loaded but cannot be found under its name | The engine stored the loaded image under another name prefix | Re-run the installer; if it repeats, load the archive by hand and tag it as listed in images/IMAGES.txt |
QUBESIGHT_BUNDLE_DIR=… contains neither images/ nor models/ |
The variable points to the wrong directory | Point it to the unpacked bundle, or unset it |
| The build failed with a network error and these images are also missing on the server: … | No registry and the release's images are not loaded | Load the listed images, then re-run |
| The registry could not be reached; continuing with the images already on this server | Network error, but all images of this release exist | Informational; the build stage is skipped |
| Web installer hint: Name resolution error | The server reaches the internet but its DNS (/etc/resolv.conf) cannot resolve the registry. VPN clients that push their own DNS can cause this. |
Fix the host's DNS (for a Tailscale client: tailscale set --accept-dns=false), or build the images elsewhere, load them and turn off Build the images from source |
| Web installer hint: An image could not be pulled (access denied or rate limit) | Docker Hub rate limit | Wait a few minutes or docker login |
pull access denied for minio/... or the MinIO build fails |
The official MinIO images are no longer published; the product builds MinIO from source, which needs GitHub and Docker Hub | Supply a prepared image with MINIO_IMAGE/MINIO_MC_IMAGE, use the product's MinIO image from the offline image set, or choose --cold-mode external or off (or --no-minio for ClickHouse's own S3 tier) |
docker compose up failed |
A service could not be created | docker compose logs --tail=80; the message often names the service |
| The docker compose configuration is invalid | .env contains an invalid value |
The preceding output names the variable; correct it in .env |
required variable … is missing a value: run ./install.sh first |
docker compose used without a generated .env |
./install.sh --no-start generates it |
| Web installer hint: A container with the same name already exists | Leftover containers of another installation | docker compose down in that installation's directory, then retry |
Podman and CNI¶
On hosts where Podman uses the CNI network backend (for example Oracle Linux or RHEL 8 with older Podman), container name resolution and container-to-published-port traffic need extra handling. install.sh handles this automatically; the messages below explain what it did.
| Message (meaning) | What happened | What to do |
|---|---|---|
| Podman CNI detected; new server: installing netavark + aardvark-dns … Podman network backend switched to netavark | No containers yet: the installer switched Podman to netavark (images and volumes kept) | Nothing |
Podman CNI backend not switched to netavark: not root / containers exist on the server / no name server in /etc/resolv.conf / packages could not be installed / QUBESIGHT_PODMAN_KEEP_CNI=1 |
The switch was not safe or possible; the installation continues with CNI fixes | Optional: install netavark and aardvark-dns and switch in a maintenance window (below) |
Podman CNI detected: docker-compose.override.yml written (metadata and management networks not internal) |
CNI has no name resolution on internal networks | Nothing; for full isolation switch to netavark |
Podman CNI and your own docker-compose.override.yml: add internal: false for metadata_private and ops_private |
You have your own override file | Add the two network entries or services cannot find each other |
| Podman CNI + DNS server on this host: split DNS | Each CNI network's DNS only knows its own network; with a host DNS server, a lookup for a service on another network can return "no such host" | QubeSight services query all name servers in parallel and are not affected. Tools you run inside containers may be. Permanent fix: netavark. |
| Name resolution: the control plane cannot resolve some service names | Split DNS that QubeSight cannot compensate | Check the listed answers; switch to netavark; docker compose exec control-plane ./control-plane -dns-check repeats the check |
CNI is no longer used but the override written by install.sh remains |
Switched to netavark while containers exist | In a maintenance window delete docker-compose.override.yml and run ./install.sh |
| Podman CNI: systemd or iptables missing; published-port rules could not be installed | The qubesight-cni-hairpin service could not be set up |
Install iptables; run as root |
Symptom after adding a DNS server to a CNI host later: control-plane logs show lookup clickhouse … no such host and health checks, alerts and dashboards stop. Do not "fix" this by removing the host's DNS server. Switch to netavark in a maintenance window:
dnf install -y netavark aardvark-dns
docker compose down
printf '[network]\nnetwork_backend = "netavark"\n' > /etc/containers/containers.conf.d/50-netavark.conf
Then remove the old CNI networks (podman network ls, the QubeSight networks start with the project name), confirm docker info --format '{{.Host.NetworkBackend}}' prints netavark, delete the docker-compose.override.yml written by the installer and run ./install.sh. On a cluster node, move the virtual IP and the PostgreSQL leadership to another node first.
Services not healthy¶
Message: Timeout; services not ready: clickhouse=starting redpanda=unhealthy …, followed by the last 25 log lines of up to four of them.
| Cause | Fix |
|---|---|
| Slow first start (ClickHouse and Redpanda can take minutes) | Re-run; or raise the wait with --timeout 1800 |
| Not enough memory | See Disk and memory |
| Redpanda fails to start | docker compose logs redpanda. The service requests a file-descriptor limit of 1,048,576; if the log reports a limit or permission error, raise the limit allowed to the container engine. |
| Redpanda not healthy with SASL / Kafka authentication could not be set up | docker compose logs redpanda; fix and re-run (the step is repeatable) |
metadata-db cannot read its password file |
chmod 644 secrets/metadata_db*password (the directory stays 0700); on a first installation only, then docker compose down -v and re-run |
Leftover Docker volumes of an earlier project but no .env |
The database passwords live in the old volumes and do not match the new secrets. Run from the old installation's directory, or remove the old volumes (deletes data). The web installer warns about this in System. |
Leftover data directories without .env |
New secrets with old data. Move or delete clickhouse_data and redpanda_data for a clean start. |
Gateway, API and sign-in verification¶
| Message (meaning) | Cause | Fix |
|---|---|---|
| The gateway is not answering over HTTPS | Gateway failed to start or its certificate store is unusable | docker compose logs gateway |
| The gateway cannot reach the interface (HTTP code) | The ui service is not up |
docker compose logs gateway ui |
The gateway could not be started (is UI_PORT free on the host?) |
--start-gateway after a deferred installation, port still taken |
Free the port (close the wizard) and run ./install.sh --start-gateway |
The API is not ready (/readyz HTTP code) |
Control plane cannot reach PostgreSQL, ClickHouse or the worker | docker compose logs control-plane worker |
| Administrator sign-in could not be verified (HTTP 401): the password may have been changed in the interface | Re-run on an installation whose administrator password was changed | Informational; .env holds only the first password |
| Administrator sign-in could not be verified (other code) | docker compose logs control-plane ui |
HTTPS and certificates¶
| Symptom | Fix |
|---|---|
| Browser: "Your connection is not private" | The certificate is self-signed. Compare the SHA-256 fingerprint (installer output, web installer page, Platform → Settings → Web certificate (HTTPS)) and accept, or upload your own certificate. |
| Browser: name mismatch | The address you typed is not in the certificate. Renew the self-signed certificate with the names you use in Web certificate (HTTPS), or add them at installation with --set GATEWAY_TLS_EXTRA_HOSTS=…. |
--tls-key is passphrase-protected |
The gateway cannot read encrypted keys. Remove the passphrase: openssl pkey -in key.pem -out key-plain.pem. |
--tls-cert does not contain a PEM certificate |
Use a PEM file starting with -----BEGIN CERTIFICATE----- |
| Your certificate was not applied (in use: …) | The gateway imports --tls-cert only while its certificate store is empty, or the certificate failed validation. Check docker compose logs gateway, then upload it in Web certificate (HTTPS). |
| Web certificate (HTTPS) says it cannot be managed | GATEWAY_TLS_TOKEN must be the same in the control plane and the gateway: ./install.sh --recreate |
Sign-in impossible after switching to plain HTTP with ENVIRONMENT=production |
Production mode needs HTTPS (or a TLS terminator sending X-Forwarded-Proto: https). Turn HTTPS back on (./install.sh --with-tls --recreate) or empty ENVIRONMENT. |
| Locked out by an uploaded certificate | On the server: docker compose stop gateway && docker compose run --rm --no-deps gateway -tls-reset && docker compose up -d gateway. A seed in secrets/tls/ is imported again; delete it first if you do not want it. Last resort: GATEWAY_TLS=off in .env and docker compose up -d gateway. |
Scripts using http://…:3000 get HTTP 307 |
HTTPS is on: use https:// (curl -k or --cacert), or /_qs/healthz for health checks, which answers over plain HTTP |
See Web certificate (HTTPS) and Certificates and key rotation.
Virtual IP¶
| Message (meaning) | Fix |
|---|---|
--vip: not a valid IPv4 address |
Use ADDRESS[/PREFIX] |
--vip: the ip command is required (iproute2) |
Install iproute2 |
--vip: the server's IPv4 address was not found |
Give --public-host with the server's IPv4 address |
--vip: no interface carries the server address |
Check --public-host |
--vip: prefix must be 8 to 30 |
|
--vip: the virtual IP cannot be the server's own address |
|
--vip: not in the server's subnet |
Choose an address in the same subnet |
--vip: network or broadcast address cannot be a virtual IP |
|
--vip: address in use by another device (arping answered) |
Choose a free address |
| Could not check that the address is free (arping exit code …) | Warning only; make sure the address is free |
--vip: with BIND_PUBLIC=…, logs sent to the virtual IP are not received |
Set BIND_PUBLIC=0.0.0.0 |
| keepalived image could not be built | Offline: load qubesight/keepalived:2 |
/srv/qs-keepalived/vrrp.pass could not be written (root required) |
Run as root |
| Virtual IP could not be applied or the log port is not reachable through it | docker logs qs-keepalived; check that Vector is up |
| Virtual IP is managed by the cluster | Change it in Platform → System and Cluster → Cluster |
Cold storage, vault and backup location¶
| Message (meaning) | Fix |
|---|---|
--cold-mode external needs --cold-endpoint, --cold-access-key and a secret key |
Give all three (secret in QUBESIGHT_COLD_S3_SECRET_KEY) |
--cold-mode external --cold-auth iam needs --cold-endpoint |
For example s3.<region>.amazonaws.com:443 |
The external cold store setting in .env is incomplete or invalid |
Give --cold-endpoint and the keys again |
--cold-mode vault needs --vault-host and a confirmed --vault-host-key |
Read the fingerprint on the vault server's console |
| The vault image is not on this server: load it from the offline image set | Load qubesight/minio:RELEASE.2025-10-15T17-29-55Z-qs1 |
| The vault could not be set up (see the vault lines) | Wrong password, host key mismatch or unreachable server. Fix and re-run with QUBESIGHT_VAULT_SSH_PASSWORD; everything else stays installed. In the web installer use Fix the vault details. |
--backup-location minio needs cold storage |
Turn on cold storage or use --backup-location sftp |
--backup-location sftp needs host, user and path (and a password or key file with --yes) |
Give the missing options |
| SFTP server key not confirmed (presented: SHA256:…) | Verify the fingerprint on the SFTP server and re-run with --backup-sftp-host-key, or set the location in Platform → Data and Backup → Backup settings |
| SFTP backup location could not be saved | The message gives the reason; set it in Backup settings |
| The backup passphrase could not be saved | Set it in Backup settings |
Existing minio_data found: this installation used the MinIO tier; keeping the MinIO profile |
Informational; ClickHouse needs its S3 configuration to open its tables |
Restore and disaster recovery¶
| Message (meaning) | Fix |
|---|---|
| The backup could not be opened: wrong passphrase, unreachable location, or (SFTP) unconfirmed server key | Check the passphrase of the source system, the address, HTTPS, keys or user and the fingerprint; in the web installer Fix backup details |
| The backup was taken with a newer version than this package (schema …): the installation package of at least version X is needed | Use the installation package of the named version or newer; nothing was started |
| The cluster record in the backup could not be read | See the output |
| Rejoining the cluster needs the product SSH key from the backup in the root account | Verify the fingerprint and answer yes, confirm it in the web installer, or give --trust-backup-ssh-key |
The fingerprint of the product SSH key in the backup differs from --trust-backup-ssh-key |
The backup changed after you checked it, or someone else wrote it. Inspect the backup location before continuing. |
| Returning to the cluster could not be completed (see the cluster lines) | The Cluster tab of the running cluster shows the job's details; re-run the installation |
| Recovery bundle not found / could not be opened (wrong passphrase or damaged file) / passphrase required | Check the path and QUBESIGHT_RECOVERY_PASSPHRASE |
| This installation was already restored from backup; settings are not loaded again | Informational: a re-run does not restore twice |
Embedded language model¶
| Message (meaning) | Fix |
|---|---|
| The embedded model was not installed; the rest of the installation is complete | Download it in Platform → Settings → Assistant, or offline ./install.sh --assistant-model FILE |
| This server cannot reach the model address (offline): the embedded model was not downloaded | The server has no internet access and the bundle has no models/ directory. Use an offline bundle with the model, or ./install.sh --assistant-model FILE |
curl missing: the model could not be downloaded |
Install curl or use --assistant-model |
| The downloaded model could not be verified (SHA-256 mismatch) | Retried automatically; check proxies that alter downloads, or use QUBESIGHT_ASSISTANT_MODEL_URL with a trusted mirror |
--assistant-model could not be verified |
The file is damaged or a different model; copy it again |
| This server is below the recommendation for the embedded model | Warning: at least 11 GiB of Docker memory and 4 CPUs recommended; disable with --no-assistant if queries slow down |
Cluster enrolment at the end of the installation¶
Message: Cluster: this server could not be registered as a cluster node; single-server operation is not affected, it is needed only to form a cluster later. The hint may say that root SSH may be disabled (PermitRootLogin no).
Fix: Re-run with an account that has password-less sudo: ./install.sh --cluster-ssh-user <account>, or enrol the server in Platform → System and Cluster → Cluster → Add cluster node. Other causes in the message: no IPv4 address found, no SSH host key (is sshd installed?), or the product's SSH key could not be prepared.
Sizing warnings¶
| Message (meaning) | Meaning |
|---|---|
The recommended N CPU for WORKER_CPUS (or another component) is not available on this machine; written as M |
Limits are capped to the cores Docker sees; the target rate needs a larger machine |
| A single worker cannot handle this rate: R worker replicas and P Kafka partitions are needed | Scale manually after installation; see Capacity and benchmark |
python3 or the sizing model was not found; no recommendation |
The target is saved; get a recommendation in Platform → System and Cluster → Capacity |
--ingest-path / --sql-profile ignored |
They are meaningful only with --expected-tps |
Web installer link problems¶
| Page message | Fix |
|---|---|
| The link is invalid or has expired: already used, 15 minutes over, invalid key, too many attempts, session expired, session belongs to another computer | Run npm run setup (or ./setup.sh) again on the server; a fresh link is printed |
| Cannot reach the wizard (it may have closed) | The wizard exits when its link expired unused, after 1 hour without an open page (never while an installation runs), or when it is stopped. Stopping it with Ctrl+C during an installation stops the installation. Start the wizard again and run the installation again from Summary: a re-run keeps existing data and secrets. |
| This connection is not encrypted (HTTP) | The wizard was started with --http and opened through a name other than localhost (for example a tunnel or proxy name given with --allow-host). Restart it without --http. |
| Footer: Temporary certificate | secrets/tls/ is not writable or holds files the wizard did not create. The wizard uses an in-memory certificate; the product generates its own, so the browser warning may appear once more at the hand-over. Make the directory writable by the wizard's user to avoid this. |
| Summary: These ports are in use: … | A port became busy after the Network step. Go back to Network and pick a free port (or stop the other process). |
| Summary: Some values are not valid: … | The server-side check rejected the named fields. Go back to the step that holds them and correct the value. |
| Done: The web interface could not be started | The hand-over failed; the wizard took its port back. The box shows the hint and the error; press Try again. If the wizard is closed, run ./install.sh --start-gateway. |
| Done: The administrator sign-in could not be verified automatically (HTTP code) | The installation finished but the automatic sign-in check failed. Sign in with the BOOTSTRAP_ADMIN_PASSWORD value in .env; if that fails, see Gateway, API and sign-in verification. |
| Retention: Use “Test the connection” before continuing (vault) or Test it with "Test the connection" before continuing (SFTP) | A vault or SFTP backup location was entered but not tested, or the details changed after the test. Press Test the connection again. |