QuackUIInstall

Troubleshooting

Common problems and what to do about them.

Can’t sign in after putting it behind a proxy

A 403 usually means QUACKUI_PUBLIC_URL doesn’t match the address in the browser, including https and any port. If everyone is told to wait after too many attempts, set QUACKUI_TRUSTED_PROXIES.

A file doesn’t appear in Sources

Check its extension (.duckdb, .ddb, .db, .parquet), press Rescan, and make sure the API’s user can read it. Files starting with a dot and links out of the data folder are skipped, and so is a file whose contents don’t match its extension.

A source is in error

The document shows why. Locked means another process has the file open for writing. A file from a newer DuckDB than QuackUI ships may be unreadable.

A query fails with source_not_ready

A file behind the model is missing, in error, or pending: its structure changed, or couldn’t be checked, and QuackUI is reading it again. The source document shows which. New rows alone don’t cause this unless reading them fails.

A model needs review

Something about its files’ structure changed, or new rows put duplicates in a join key that used to be unique. See When data changes shape.

A block says two fields don’t go together

The dimension can’t be reached by joins from the measure’s table. Add the join to the model, or use a measure from a table that has it.

Totals don’t add up

They aren’t meant to for averages, distinct counts, stock and ratios. Totals come from rows.

Queries time out or the server is busy

Add a filter, or lower Max rows. If the machine has room, raise QUACKUI_QUERY_MEMORY_MB, QUACKUI_QUERY_THREADS or QUACKUI_QUERY_TIMEOUT_S.

PDF export fails but Excel works

The renderer isn’t running.

docker compose logs renderer

Chromium’s sandbox needs user namespaces. On hosts that block them, name an AppArmor profile that allows them in QUACKUI_RENDERER_APPARMOR.

A schedule’s runs fail with owner_unavailable

Its owner was disabled or lost access. Anyone who can edit the report can open the schedule and save it.

A run fails with interrupted

Usually the API restarted during the run, or the database was unavailable when its result had to be recorded. The run’s reason says more. Run it again. A schedule carries on at its next turn after QuackUI has ended the run.

Open the run’s Deliveries pane, which gives the reason for each target. Usually the model has row security or a field on a protected column, and the address isn’t an eligible account.

Destinations all fail after a move

QUACKUI_SECRET_KEY is missing or different. Put the old one back, or enter the secrets again.

Someone sees no rows

With row security on, a person in no group with a rule sees none. Neither does someone whose rules all use an attribute they have no value of. Check with Preview as user, which names it.

Someone sees ••• or a field is missing

Column security masks or hides it for them. Check with Preview as user in its editor.

A model can’t be saved: column_protection_conflict

A protected column is no longer in its source. Protect the column that replaced it, then remove the old protection.

Report a bug

Open an issue on GitHub with what you did, what you expected, what happened and a screenshot. A run’s SQL and log help.