Each server runs an ultralight probe (scratch image, ~7 MiB RSS) that tails the logs, ships raw lines to the hub over HTTPS with an on-disk spool, and applies enforce decisions locally. The hub keeps one node per probe (primary node = the 1.x data dir, unchanged), does all analysis and serves the UI. Peer federation is removed. 'urutau import' brings 1.x data dirs in with hash and count verification. UI: probes page, host qualified incidents, IPs never wrap, egress heatmap labels, live and replay globes no longer auto-rotate, replay repeat, live traffic metrics. BREAKING CHANGE: URUTAU_PEERS, URUTAU_PEER_* and /api/v1/peer/* are gone; log path variables move from the hub to the probe. See docs/migration-2.0.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
54 lines
5.2 KiB
Markdown
54 lines
5.2 KiB
Markdown
<p align="center"><a href="../README.md">◂ Back to README</a></p>
|
|
|
|
# Support
|
|
|
|
**English** · [Português](pt-BR/suporte.md)
|
|
|
|
Urutau is distributed as a single container image. The fastest way to get help is opening an issue in the Gitea repository.
|
|
|
|
## Before opening an issue
|
|
|
|
1. Run `docker exec urutau urutau doctor --json` (or `urutau doctor --json` on the host binary) and attach the output.
|
|
2. Confirm the version with `urutau version`.
|
|
3. Review [`configuration.md`](configuration.md), [`docker.md`](docker.md) and [`architecture.md`](architecture.md), especially the log mounts and the `adm` group.
|
|
|
|
## What to include
|
|
|
|
- Host OS, architecture (`uname -m`) and Urutau version or image tag.
|
|
- The `docker-compose.yml` (or the command line) in use, without tokens.
|
|
- The container logs: `docker compose logs urutau`.
|
|
- The state of each source on the dashboard (`following`, `waiting`, `backfill`, `error`), with the lines and malformed counts.
|
|
- One or two example log lines that are misclassified or rejected, with IPs redacted.
|
|
|
|
Do not attach tokens, real client IPs or logs of systems you are not authorized to handle.
|
|
|
|
## Security issues
|
|
|
|
Do not include exploit details in a public issue. Follow [SECURITY.md](../SECURITY.md) and request a private communication channel.
|
|
|
|
## Common situations
|
|
|
|
| Symptom | What to check |
|
|
|---|---|
|
|
| The container exits at start with `URUTAU_TOKEN is required` | Set `URUTAU_TOKEN` with at least 32 characters and about 128 bits of estimated entropy (length times Shannon entropy; periodic or sequential tokens are refused) (`openssl rand -base64 48`), or point `URUTAU_TOKEN_FILE` at a file that holds it |
|
|
| A source stays at `waiting` | On the Sources page: the probe cannot see the file at that path inside its container; check the mount and the `URUTAU_*_LOG` path of the probe |
|
|
| A source shows `error` with `permission denied` | Add the host `adm` group with `group_add: ["4"]` (`getent group adm`) and mount the directory `:ro` (on the probe container) |
|
|
| The Traefik source has many malformed lines | The access log is not JSON; set `accessLog.format: json` in Traefik |
|
|
| Lines count but nothing appears | The origin is in `URUTAU_TRUSTED` or `URUTAU_IGNORE` (private ranges are dropped by default), or the request is a monitoring User-Agent |
|
|
| All hits come from one internal address | The proxy hides the real client; pass the client address through to Traefik |
|
|
| fail2ban times are off by hours | `fail2ban.log` has no time zone; set `TZ` to the host's zone |
|
|
| Counts look duplicated after a restart | The snapshot was not saved or was lost; mount `/data` on a volume |
|
|
| The dashboard is unreachable from another host | It binds to `127.0.0.1` through `URUTAU_PUBLISH`; check the reverse proxy |
|
|
| The hub refuses to start and mentions `migration-2.0` | A 1.x variable is still set (`URUTAU_PEERS`, `URUTAU_PEER_*`, or a log path such as `URUTAU_TRAEFIK_LOG`): remove it and create probes instead ([migration-2.0.md](migration-2.0.md)) |
|
|
| The probe exits with `URUTAU_HUB`, `URUTAU_PROBE_NAME` or `URUTAU_PROBE_TOKEN` missing | All three are required; the token is the one `urutau probes create` printed once |
|
|
| The login answers 429 | Too many failures from that address; wait for the window (10 minutes) or retry later, the correct token still gets in after a 1 second delay |
|
|
| The Traefik source stays at `waiting` on Coolify | Traefik is not writing `/traefik/logs/access.log`; see the Coolify section of [docker.md](docker.md) |
|
|
| A probe shows offline, or its log says 401 | Wrong `URUTAU_HUB`, name or token, a revoked probe, or the hub is not reachable from the probe (the probe dials out: check DNS, TLS and the proxy). It keeps spooling to `/state` meanwhile; `http://` works only for loopback and private addresses |
|
|
| The Sources page shows `dropped` above zero | The hub was unreachable for longer than the spool (`URUTAU_PROBE_SPOOL_MAX`) holds, and the oldest batches were discarded; raise the cap or fix the connection. The raw logs are still on the host |
|
|
| The probe or egress source stays at `waiting` | The host kit is not installed or writes elsewhere: run `sudo sh deploy/host/install.sh --probe` and check `/var/log/urutau/probe.log` and `egress.log` are mounted at `/logs/host` in the probe; egress with `URUTAU_EGRESS=auto` starts when the probe sends the log |
|
|
| `urutau doctor` shows `enforce` as `fail` | `URUTAU_ENFORCE=on` but the probe cannot write the decision file (the probe counts `cmd_errors`): mount `/var/log/urutau-enforce:/logs/enforce` read and write on the probe, owned by uid 10001 (`install.sh --probe --enforce` does it) |
|
|
| Decisions appear but nothing is banned | The `urutau` fail2ban jail is not active: run `install.sh --probe --enforce`, then `fail2ban-client status urutau`; `observe` mode never writes the file |
|
|
| `urutau doctor` shows `enforce-cdn` | Traefik logs Cloudflare addresses as clients: set `forwardedHeaders.trustedIPs` to the Cloudflare ranges so the real attacker is seen |
|
|
| The container exits with `must be between` or an unknown value | An enforce, retention or egress value is out of range or unknown; run `urutau doctor` and read the `config` line |
|
|
| `--insecure-no-auth` is refused | It only works on a loopback bind; use a token |
|