Skip to main content

Troubleshooting

Run the self test first. It is faster than this page and it knows which hop failed. Come here to interpret what it told you.

This page is indexed by symptom. For the jobs that have a right order — proving the egress, verifying a credential before you flip a source live, rotating one — see Procedures.

Install-time​

agent-runner and synth-seed show Init:0/1 for the first seconds of a fresh install with the bundled Postgres — expected, and it is the install holding them back on purpose. Both workloads run their schema migration at boot, and from 0.14.0 each carries an init container, wait-for-postgres, that polls the bundled instance until it accepts connections and only then lets the main container start. On 0.13.x and earlier there was no gate, and the same two workloads instead restarted once or twice while Postgres came up — if that is what you are looking at, the rest of this entry still describes it.

What a normal first minute looks like on 0.14.0 with the bundled Postgres:

NAME READY STATUS RESTARTS AGE
prism-postgres-0 0/1 Running 0 10s
prism-agent-runner-... 0/1 Init:0/1 0 10s
prism-synth-seed-... 0/1 Init:0/1 0 10s

then Postgres turns 1/1, the two Init:0/1 pods go PodInitializing and Running within a couple of seconds of it, and synth-seed ends Completed. RESTARTS stays at 0 on every pod. Measured on 0.13.0, Postgres takes about 14 seconds from pod start to Ready on an unremarkable node, and the gate waits up to postgres.startupWaitSeconds (180 by default) for a slower one. A Postgres pod that stays 0/1 Running well past that with Readiness probe failed events is a different thing from a slow one, and the entry below on the two refused-connection errors says how to tell them apart. Init:0/1 can last longer than Postgres does, though: the init container runs from the Postgres image, the largest in the release, and on a multi-node cluster the runner's node and the seed's node each have to pull it before the wait starts. That pull is outside the bound, and a registry problem during it shows as Init:ImagePullBackOff on these two pods. Nothing else waits for Postgres this way. The App, the MCP servers and synth-seed also wait for the migrate Job, which is a different wait: see the next entry. The init container's own log says what it saw. The app is not up yet, so this is the only place to look:

kubectl logs -n <namespace> <pod> -c wait-for-postgres
postgres at prism-postgres:5432 is accepting connections after 12s

The App, an MCP server or synth-seed shows Init:0/1, Init:1/2, Init:Error or Init:CrashLoopBackOff. Each pod that reads Prism's memory waits at its init container, datapond-gate, until the migrate Job has brought the memory up to its release. On a first install that is expected for as long as the Job runs. Past migrate.gateWaitSeconds (default 300) the init container stops with an error, and Kubernetes starts it again. Read its last line:

kubectl logs -n <namespace> <pod> -c datapond-gate
prism-ingest gate: waiting for the migrate Job. No migrate run has recorded anything yet.

The line says why the memory is not ready yet. Then read the migrate Job's own log. Installing Prism says what each case means, and what to do when the Job failed or when migrate.enabled is false.

On OpenShift with the default postgres.bundled: true, agent-runner and synth-seed do not appear at all — no pod, and the install ends with the post-install hook timing out. The init container has to run as the Postgres image's own user (UID 999), and the restricted-v2 SCC refuses a UID outside the range it assigned the namespace, so the ReplicaSet and the Job are refused admission; kubectl describe replicaset and the Job's events carry the reason. It is the same root cause as the bundled Postgres not starting there: set postgres.bundled: false and point at a managed instance, as install step 1 says, and no gate is rendered.

If you run an external database (postgres.bundled=false), there is no gate and a refused connection will not converge — the database is not something this install is starting, so there is nothing to wait for, and a wait would only postpone the error below. The gate also could not run there: it uses the Postgres image, whose default user is root, so it has to pin runAsUser to that image's postgres user, and OpenShift's restricted-v2 SCC refuses a UID outside the range it assigns the namespace — the same reason the bundled Postgres itself cannot start on OpenShift, and the platform where an external database is the only option. Check that the instance is reachable from the namespace (firewall rule, private endpoint, network policy) and that postgres.external.host, .port, .database and the credential are right. Left alone, agent-runner crash-loops indefinitely and synth-seed exhausts its six retries and fails the post-install hook.

The two workloads report a refusal in different languages, so match the one you are looking at. The pod is not running, so its previous container's log is the only place to look. In agent-runner's you will find:

kubectl logs -n <namespace> <pod> --previous
Error: connect ECONNREFUSED <postgres-ip>:5432
at async applySchema (/app/packages/db/src/migrate.ts:72:3)
at async main (/app/apps/server/src/index.ts:55:3)

synth-seed is Python and says the same thing differently — a traceback ending:

ConnectionRefusedError: [Errno 111] Connect call failed ('<postgres-ip>', 5432)

When you see those two errors on 0.14.0 with the bundled Postgres on a fresh install, the gate gave up: Postgres did not accept connections within postgres.startupWaitSeconds, and the init container stood aside so the failure would be the familiar one above rather than a pod parked in Init:0/1 with no explanation. Its log ends with did not accept connections within 180s ... starting anyway. The question is then why the bundled Postgres is slow or absent, and the answer is on its pod, not on the two that are restarting: kubectl describe pod <release>-postgres-0 names an unbound volume, an image that will not pull, or a quota. It can also show a server that is up while the probe is what fails: Readiness probe failed: command timed out events on a pod whose own log already says listening on IPv4 address "0.0.0.0", port 5432 mean Postgres is running under a CPU cap too tight for pg_isready to answer inside postgres.readinessProbe.timeoutSeconds (5 by default; on 0.13.x the chart set no timeout and Kubernetes applied 1 second, and an install capped at 50m CPU never met it), so the pod is never Ready, the Service has no endpoints, and every client is refused by a ClusterIP in front of a server that would answer — raise the timeout or the cap. The restarts converge on their own once Postgres does listen, exactly as they did on 0.13.x. If Postgres is merely slow on your node — a first boot has to bind a volume, pull the image and run initdb — raise postgres.startupWaitSeconds and the churn goes away on the next install; above about four minutes raise helm install --timeout with it (5 minutes by default), because the synth-seed Job is a post-install hook and helm gives up on the hook before the gate would. The same two errors on an install that was running fine mean Postgres went away later — a restart, a node change, an upgrade rolling the StatefulSet — and the init container is no help there: init containers do not re-run when the main container restarts, so its log still reads is accepting connections, and the entry for a Postgres that will not start is further down.

On 0.13.x, expect one or two restarts of agent-runner and synth-seed, settling inside a minute. The count is not a fixed figure — it is however many attempts land before Postgres starts listening, so two installs of the same version on the same cluster can differ; a rehearsal install of 0.13.0-rc0 took two and three restarts and was equally healthy. STATUS may read Error or CrashLoopBackOff while the restart backoff runs. Once every pod reports Ready and the synth-seed Job reads Completed, the RESTARTS counts stop climbing and stay at the number they reached; a non-zero count on a settled 0.13.x install is a record of those first seconds, not something to clear.

When to start worrying, on any version: counts still climbing after a few minutes, or an error in --previous that is neither of the two above. A genuine fault gives a different error, and the entries below name them. If pods are Pending rather than restarting or initialising you are not looking at this at all; kubectl get events -n <namespace> will name a scheduling or quota reason instead.

Two reactions cost more than the problem, and both are common on a first install: raising a support case for an install that is in the middle of converging, and changing things underneath it — editing values, deleting pods, re-running helm upgrade. Neither makes it settle sooner, and the second restarts the clock.

agent-runner CrashLoopBackOff, logs show a vector extension error — your Postgres refused the CREATE EXTENSION IF NOT EXISTS vector the runner's boot migration runs, and the runner has no way around it. What to do depends on the provider: Azure flexible server refuses until VECTOR is in the azure.extensions server parameter, while Cloud SQL needs nothing and this error means something else — the connecting role lacking the privilege, or the wrong database. Install step 1a has the one psql line that tells you which.

Every chat answers "no answer from the agent", and the runner logs private outbound URLs are disabled — you are on 0.4.0 or 0.4.0-rc0. The runner refuses to fetch URLs that resolve to private addresses, and the MCP server addresses the chart generates are in-cluster services, so the very first turn fails while registering them. The self test says it precisely: Could not register MCP profile 'Agent Router Usage' (HTTP 500). Upgrading to 0.5.0 fixes it and needs no values change. If you cannot upgrade yet:

kubectl set env deploy/<release>-agent-runner \
RUNNER_ALLOW_PRIVATE_OUTBOUND_URLS=1 -n <namespace>

That is a stopgap, and the reason to move it is legibility rather than durability. A kubectl set env variable does survive a routine helm upgrade — Helm preserves fields no chart version manages — but it does not survive helm uninstall and reinstall, helm upgrade --force, or anything else that recreates the Deployment, and a later chart version that renders the same variable overrides it silently. It is also in no values file, so nobody reviewing your configuration can see that it is load-bearing. From 0.5.0, anything of this kind belongs in agentRunner.extraEnv in your values file instead, where it is both visible and durable.

On a later release the same log line has a different cause. The chart no longer sets RUNNER_ALLOW_PRIVATE_OUTBOUND_URLS. It sets RUNNER_OUTBOUND_PRIVATE_ALLOW to the chart's own MCP Services, and the runner refuses any other private address. If you set RUNNER_OUTBOUND_PRIVATE_ALLOW in agentRunner.extraEnv, your value replaces the chart's list. Your list must then name every MCP Service as well, in the form <release>-mcp-semantic:9500. Read the chart's list with kubectl get deploy/<release>-agent-runner -n <namespace> -o yaml.

helm upgrade refuses with router.platformUrl is empty or router.proxyUrl is empty — working as intended, and cheaper than the alternative. Both Router URLs are required and neither has a sensible empty behaviour, so the chart refuses to render one rather than install it. router.platformUrl is your tenant's management-plane URL from your Router console, and it is required even under router.keyMode: byok, where no admin key is needed — the runner derives its Router hosts from it before it looks at any credential. router.proxyUrl is the data-plane gateway for the project in app.projectId, and it does not fall back to router.platformUrl. See install step 4.

On a chart before 0.6.0 there is no render error and the symptoms arrive later: an empty router.platformUrl is agent-runner CrashLoopBackOff logging TARE_PLATFORM_URL is not set, and an empty router.proxyUrl is a healthy install where every question fails, with the self test's inference endpoint line skipped as not configured. Set the value and helm upgrade.

helm upgrade refuses with app.projectId is empty — also working as intended, and the state it refuses is the quietest failure this chart had. The value is not required to be any particular thing: default is a real Router project and is the chart default, so an install that never touches this key is fine. Only "" is refused, and only because values.yaml sets the key explicitly, which makes an empty value a deliberate override rather than an omission. Set the Router project this install serves — the same project your inference key and router.proxyUrl belong to.

On a chart before 0.6.0 an empty app.projectId installed, and became default: the app's PROJECT_ID and the runner's allowedProjectIds both. The two agreed, every pod was healthy, the render was clean, and every question came back 403 from the gateway — because on a Router whose projects have their own gateways, default is the one project with no data plane behind it. It presents exactly like a bad credential, so the search goes to the key, the tenant, the Secret and the egress policy, and the wrong value is one that appears in no values file. If you are on an older chart and seeing that 403, check kubectl exec deploy/<release>-app -- printenv PROJECT_ID against the project your inference key was issued for before you touch anything else.

helm upgrade refuses with sources.github is "Live" — also working as intended, and usually one keystroke to fix. Source modes are matched exactly and in lower case: sources.github and sources.jira take synthetic or live, sources.spend takes synthetic, indexed or live, and indexed means nothing on the other two. The message names the key and the value as you typed it, so read that value against the list — Live, LIVE and a misspelling all land here, and so does an empty value, which names no mode at all. The check runs before anything is applied, because every component in the chart is handed the same three values and they have to agree.

On a chart before 0.7.0 a capitalised mode was refused by nothing at all, and the install was the quiet kind: the chart rendered no ingest for that source — no backfill, no schedule, not even the pre-flight check — while the app lowercased the same string and served the source as live, so the mirror was empty on install and stayed empty. Where it surfaced was the self test, as a red live but 0 rows line that reads as a data problem rather than as a typo. An empty or misspelt mode got as far as the synthetic seed job, which exited with SOURCE_JIRA must be one of 'synthetic' / 'live', got '' after the upgrade had applied everything. If a source is unaccountably empty on an older chart, check the mode as spelt — helm get values <release> -n <namespace> — before you go looking at credentials.

helm upgrade refuses with this install's values still carry … chart values that this chart removed — working as intended. A value the chart no longer reads is refused while it is present at all, even at the default an earlier release shipped, so a values file copied from an earlier values.yaml lands here. The message lists every such key at once, with what replaced it and anything to do before deleting it. Delete them and upgrade again. On --reuse-values the keys come back from the earlier release; the release notes say what to pass instead, under "Upgrading: delete the removed chart values first".

helm upgrade refuses with app.ingress.enabled is true under app.identity.mode static — working as intended. Under static every request is one operator, and that operator is a super admin. The chart's Ingress would make everyone who reaches its host a super admin of Prism. The message gives three ways out. Set app.identity.mode to local (Email sign-in). Or set app.ingress.enabled=false and reach the app by port-forward. Or, if your ingress controller or a proxy in front of it already signs people in, set app.ingress.allowStaticIdentity=true. Nothing changes until the upgrade renders, so the running release keeps serving.

helm upgrade refuses with app.ingress.enabled is true under app.identity.mode easyauth (or iap) with ... token.verify off — working as intended. With the token check off, the app believes identity headers. The chart's Ingress passes on headers a client sends. So anyone who reaches its host could sign in as anyone, a super admin included. The message gives four ways out.

  1. Turn on the signed-token check for your mode: app.identity.easyauth.token.verify (Verify the signed ID token) or app.identity.iap.token.verify (Restrict what a viewer sees). A forged header is then ignored, and the Ingress renders.
  2. Set app.identity.mode to local (Email sign-in).
  3. Set app.ingress.enabled=false and reach the app through your sign-in proxy, or through an IAP-protected load balancer.
  4. If your ingress controller or a proxy in front of it signs people in and drops those headers from clients, set app.ingress.allowHeaderIdentity=true.

An install whose sign-in proxy adds secrets.proxyKey is refused too, because the chart cannot tell which hop adds the key. It sets app.ingress.allowHeaderIdentity=true to keep its Ingress.

Nothing changes until the upgrade renders, so the running release keeps serving.

Every chat turn fails with Agent 'prism' already exists but is not reachable by 'prism-provisioner' — the install predates the change that gave Prism a fixed owner for the agent everybody shares, and the upgrade cannot migrate the row it left behind: the agent is owned by an identity the app can no longer act as, and its name is unique, so it can be neither used nor replaced. Nothing else is wrong and no further upgrade fixes it. It is a one-off repair against the runner database, with a script that ships in the chart tarball — Re-own the shared agent is the procedure, and its dry run confirms the diagnosis before anything is written.

Pods rejected with must specify limits.cpu — the namespace quota requires every container to declare CPU limits, and something is not declaring them. The chart sets them on every container, so this is an override that emptied a resources block — put the limits back. (Before 0.13.0 the bundled Postgres declared none of its own and this was the chart's fault, not yours; on that release the pod needs either a LimitRange in the namespace or an upgrade.)

If it is the bundled Postgres that will not start, and it was running until something restarted it, the cause is usually a quota added after Prism was installed. A ResourceQuota is enforced when a pod is created, not while it runs, so a datapond started before the quota keeps running and cannot be replaced — and the failure appears at a node drain or a rescheduled pod rather than at the upgrade that introduced it. Upgrading to 0.13.0 or later gives the pod its own limits; until then, a LimitRange in the namespace supplies a default and lets it be recreated.

Pods rejected with exceeded quota — a different failure with a similar shape, and the important thing is which limit it names:

Error creating: pods "prism-app-..." is forbidden: exceeded quota:
requested: pods=1, used: pods=10, limited: pods=10

Error creating: pods "prism-synth-seed-..." is forbidden: exceeded quota:
requested: limits.cpu=500m, used: limits.cpu=3750m, limited: limits.cpu=4

A ResourceQuota caps pods, CPU and memory independently, so raising the pod count can leave you refused a minute later on limits.cpu with a message that looks like the same problem. Jobs retry, so the CPU form repeats for the same Job and the pod count appears nowhere in it.

Size against the upgrade rather than the steady state — the synthetic-seed hook runs while the ingest jobs are still going, so the peak is roughly double. Compute, and the namespace quota you need carries the per-component figures, generated from the chart, and what to leave room for.

Image pull failures — global.imageRegistry must include the repository prefix the images were imported under, and your image pull secret must exist in the namespace.

Postgres connection failures that look like a DNS or host problem — check the password in runner-database-url is percent-encoded. An @ or / in the password produces a DSN that parses to the wrong host, and the error you get back describes the wrong host rather than the real fault.

agent-runner failing its /health probe, with no logs at all — this is almost never a probe or a networking fault. The runner dies inside its boot migration, before it writes anything to stdout, so the running pod's logs are empty and only the previous container has the evidence (the runner is down, so the app cannot show it):

kubectl logs -n <namespace> deploy/<release>-agent-runner --previous

An UNABLE_TO_VERIFY_LEAF_SIGNATURE there means TLS to Postgres, not the probe. The runner is the one component that is not a libpq client, and it needs uselibpqcompat=true in runner-database-url to read sslmode the way every other component does. Without it, sslmode=require means verify the certificate chain to the runner alone — which fails against any Postgres whose certificate is not chained to a publicly-trusted root (Cloud SQL, or any private-CA instance), while the same value works everywhere else. Add the flag to the DSN and restart. If you build the Secret yourself (existingSecret), this is the step most likely to have been missed; see install step 3.

Do not reach for sslmode=no-verify to get past it. It is a node-postgres spelling that libpq does not accept, so it trades a broken runner for a broken everything-else: invalid sslmode value: "no-verify" from the app, the MCP servers, ingest and the seed job.

root certificate file "/root/.postgresql/root.crt" does not exist — the install is on sslmode=verify-ca or verify-full without a CA bundle the pods can read. Both client families need one and neither ships with it. Either supply the CA, or use sslmode=require — which still encrypts, but does not verify the server certificate.

prism-app CrashLoopBackOff with LOCAL_AUTH=1 but the install cannot sign anyone in — local sign-in is on and something it cannot work without is missing; the log line names every missing value (SMTP host, sender, base URL, super admins, Postgres). This is deliberate: a pod that came up anyway would serve a sign-in page whose emails go nowhere. Fix the named values and helm upgrade. The same message right after an install can also mean Postgres simply isn't up yet — the app fails fast and Kubernetes retries until it is.

Local sign-in​

The magic link never arrives — three places to look, in order. (1) The self test's smtp relay line: it asks the relay whether it would deliver to each bootstrap admin, per address, without sending mail. (2) The app's app_events table (or its log): a refused request is recorded — an address not on the allowlist, a rate-limited address (max 3 links per address per 15 minutes), or a delivery failure (auth_email_failed, with the relay's error). The sign-in page deliberately says "check your email" in every one of those cases; the operator's records are where the truth is. (3) Spam. Corporate mail scanners that pre-fetch links are not on this list: opening a link shows a confirmation page, and only its "Continue to Prism" button (a form POST, which scanners never submit) spends the single-use token — so a scanned link still works when the person clicks it.

auth_email_failed (or the smtp relay line) reports a certificate verification error — the relay presented a TLS certificate the pod cannot verify, typically one issued by a private CA. Prism verifies the relay's certificate — chain and hostname — on both TLS modes, by default. The right fix is at the relay: a certificate from a CA the pod trusts, matching the hostname in smtp.host. The last resort is smtp.tlsVerify: false, which keeps TLS but trusts whoever answers — accept that knowingly or not at all. (A relay with no TLS is smtp.tls: none, not an unverified handshake.)

auth_email_failed reports The handshake operation timed out — a different fault from the one above, with a different fix. The relay answered and advertised STARTTLS, and then the TLS negotiation itself stalled until the 30-second timeout. Verification never got the chance to run, so smtp.tlsVerify: false will not touch it. Two causes account for nearly all of these: something in the path inspecting SMTP and mangling the negotiation, which enterprise firewalls do, or a port that does not terminate TLS the way its banner claims. Try implicit TLS — smtp.port: 465, smtp.tls: implicit — which is encrypted from the first byte and so offers no cleartext negotiation to interfere with. Expect the failure to be intermittent rather than absolute: the same relay can complete one handshake and stall the next. One colleague receiving their link is therefore not evidence that another's failure is about their address — nothing in the send path varies by recipient.

smtp.tls: none also clears the error, and is the wrong reflex unless the relay is in-cluster: it sends sign-in links, which are bearer credentials for the account, in the clear to anyone on the path. Reach for it only where that traffic never leaves the node network, and treat it as temporary anywhere else.

Locked out — no administrator can sign in — add an email to app.auth.superAdmins and helm upgrade: seeding is additive, so the next boot creates that admin without touching anything else. One sharp edge: the address must be one with no existing allowlist row — seeding never touches an existing row, so a listed address that was demoted in-app stays demoted (the skipped seed is logged as seed_skipped_existing, which is why an upgrade can report having added nobody). Use a fresh address. This needs cluster access, not a Prism login — that is what makes it break-glass. For a report while locked out, the self-test CLI (see self-test.md) runs via kubectl exec with no sign-in at all.

The model path​

Chat errors, runner logs cannot obtain an inference key — the Secret has neither tare-inference-key nor tare-platform-api-key. Put your project-scoped inference key in tare-inference-key (install steps 1c and 3). Setting valet-api-key does not satisfy this and is not meant to — it is the Router management credential, read by different components for a different purpose (which credential buys what).

Chat returns 403 "not authorized for this data plane" — the inference key's project doesn't match the gateway. app.projectId, router.proxyUrl and tare-inference-key must all name the same project (install step 1d). Read the project the app is actually presenting rather than the one you meant to set — kubectl exec deploy/<release>-app -- printenv PROJECT_ID — and if it says default on a Router whose projects have their own gateways, that is the answer: before 0.6.0 an empty app.projectId became default silently. See the install-time entry above.

Every question fails, but everything else looks healthy — pods running, database connected, MCP servers answering. This is almost always the model: Prism is configured to call a model your gateway does not serve. The self test's model catalog line confirms it in one look. See model.md.

The self test says model catalog cannot tell whether the gateway answered — the agent runner image predates the catalogue reporting this check relies on. Upgrade to a matched set of images; the warning is the check declining to guess rather than a fault in your environment.

The first answer after a restart or an upgrade fails with peer closed connection, and the agent runner shows a restart — kubectl describe pod on the runner lists Liveness probe failed: ... context deadline exceeded. The runner answers its health check on the same thread that runs answers, and a freshly started runner's first answers hold that thread for several seconds while it loads the agent; on a node with little CPU the health check times out in that window. The chart's probes allow for it (agentRunner.livenessProbe, agentRunner.readinessProbe and agentRunner.startupProbe in parameters.md). If it still happens, raise agentRunner.resources, or the probes' timeoutSeconds and failureThreshold.

Answers come back as "(no answer was handed over)" — the agent hands its answer over in a separate step, so that the notes it writes while working are never shown as the answer (app.finalAnswerChannel, on by default). When the model ends its turn with text instead of taking that step, the agent runner asks it once more to take it, which adds one more model call to that turn. A turn where the model still does not take the step has no answer: the band says so, and its notes are under How I got this. The agent runner does not ask again when the model's text was cut off at its output limit. The self test's chat round trip warns "the agent replied without handing its answer over" when its own turn ends this way. Asking again sometimes gets an answer. If it happens on more than the odd question, the model your gateway serves is not taking the step even when asked again: set app.finalAnswerChannel: false (unquoted) and upgrade. Answers then come from the run's last message again, as they did before the setting existed, and the notes the model writes before its answer in that message can reach the answer again. Tell us which model it was.

An answer has a struck-through lookup in it — with app.turnGate: enforce, the default, Prism checks each answer against the lookups its turn made before showing it. An answer that names a lookup that did not run (for example "Source: … (list_sources)" on a turn that called nothing) goes back to the agent once, and the answer you see is the second one (or the first, if the second run failed or ran out of time). If the answer you see still names such a lookup, the name is struck through and a line under the answer says so. The answer's provenance records what was found and what was done, under turn_gate. A turn that goes back costs a second run, so it takes longer. To stop sending answers back, set app.turnGate: record, which still records what each check finds and sends back only the restricted viewer's decline below. Checking an answer has a time limit of 7.5 seconds: past it the answer is shown as written, with nothing struck through and nothing sent back, and its provenance says timed_out under turn_gate.

A refused result in an answer is struck through — with app.turnGate: enforce, the default, Prism acts on a share or ratio the calculator refused to work out. The calculator refuses one that divides by a whole number below five, or below your disclosure.perPersonFloor where that is higher. It also refuses one over a group that could not be shown to reach the floor, or over a group whose people could not be counted. When the answer states the refused figure anyway, beside the figures it would divide, the answer goes back to the agent once, asking it to leave the figure out. If the figure is still there, it is struck through, with a line under the answer saying why. The line names the evidence floor, the per-person floor, or the people who could not be counted, as the calculator did. For any other reason the line says only that the calculator refused it. A refused share is struck the same way, and the line calls it a share. Under record this check only records. Prism also checks every figure in an answer against what the turn's lookups returned, and records each figure no lookup returned under untraced_figures in the answer's provenance. That check only records, in every mode: it never sends an answer back or marks a figure, because most such figures are shares, remainders and sums the agent worked out correctly in its own words. The answer's provenance records what the checks found under turn_gate.

A restricted viewer's decline took a second run — in every app.turnGate mode but off, record included, an answer to a restricted viewer that is "That isn't something I can answer for you here." from a turn that called no lookup (calculate does not count) goes back to the agent once, to look with its tools first. The viewer sees only the second answer, which is often the same sentence after a lookup; the reply still says nothing about what exists. If the second answer also looked nothing up, it is shown as written and not sent back again. Under record, only a restricted viewer's answer that opens with that sentence, or with one short sentence or phrase and then that sentence, on a turn that has looked nothing up, is held back while it is checked. Such an answer's first sentence or phrase waits until the text after it shows it is not the decline; every other answer streams as before. The answer's provenance names restricted_decline_needs_lookup under turn_gate.sent_back. A decline the hold does not reach, because the answer is longer than the decline and its one question can be or the sentence comes later, is shown as written, and its provenance's turn_gate.outcome is escaped. An administrator's answers are not sent back in record.

An answer says "Prism did not show this answer", or ends "Not checked: no lookup for this answer searched for …" — with app.turnGate: enforce, the default, two more checks send an answer back once. claim_needs_lookup acts on a figure, a "does not exist" or a record name such as a ticket number in an answer whose turn called no lookup at all (calculate does not count): the agent is asked to look it up, and if the second answer still looked nothing up, it is replaced by "Prism did not show this answer: nothing was looked up for it, so nothing in it was checked. Ask again to have it looked up." The same sentence replaces such an answer when there was no time left to send it back, or the second run failed. decline_needs_evidence acts on a "does not exist" about a record that none of the turn's lookups searched for: the agent is asked to search for it, and if the second answer still says so unsearched, a line under it says the record was not checked. A finding is a reason to read that answer's tool calls, not proof the answer is wrong: a figure the agent was given in the question, or one that describes Prism itself rather than your data, can be found too. Under app.turnGate: record both checks only record what they find, under turn_gate in the answer's provenance.

Data​

The context-streams page, or answers over one large copied stream, are slow; a count over it takes minutes — the copy's table is full of row versions each copy replaced and nothing has reclaimed. Every copy deletes and rewrites rows, and Postgres's autovacuum, at its default settings, waits until a fifth of a table is dead before it acts: on a table of twenty million rows, four million. Until something vacuums it, a query that could read the index alone reads the table for every row. From 1.0.0-beta2 the ingest analyzes and vacuums each table it writes at the end of every run, and the run log says so on a maintenance: line per table. The self test's copy table upkeep line shows each large table's share of dead rows. A table some other vacuum was holding is left for the next run, and a vacuum that reaches its ceiling stops. Readers are not locked out while it runs; a schema change made to that table at the same moment waits for it, and queries that arrive behind the schema change wait too. On an earlier version, or to recover a table at once, run as the role Prism's datapond connection uses:

VACUUM (VERBOSE, ANALYZE, TRUNCATE false) public.<the stream's table>;

Readers are not locked out while that runs, and it needs no maintenance window. Do not use VACUUM FULL, which locks the table for its whole run.

Between runs, Prism also lowers autovacuum's thresholds on each large copied table it owns, so Postgres vacuums it sooner on its own. At the end of a run, for a table of at least ingest.engine.tableAutovacuum.minRows rows (1,000,000 by default), it sets whichever of autovacuum_vacuum_scale_factor (0.02), autovacuum_analyze_scale_factor (0.01) and, on Postgres 13 and later, autovacuum_vacuum_insert_scale_factor (0.02) the table does not already have. The run log's maintenance: line for that table names what it set. It never changes a value already on a table, whoever set it, and leaves a table the ingest's role does not own alone. To tune one table yourself, set your own value on it:

ALTER TABLE public.<the stream's table> SET (autovacuum_vacuum_scale_factor = 0.2);

Do not RESET a parameter to take Prism's value away: a parameter that is absent is set again at the next run. The same happens when a copied table is dropped and created again, since its settings go with it. To stop Prism setting any, set ingest.engine.tableAutovacuum.enabled to false; the values it already set stay until you change them. Install parameters lists the values.

A GitLab source shows rows up to one date and never advances, and the ingest log repeats transport error (ReadTimeout) six times — on 0.10.1 and earlier, the sync's read timeout was a fixed 30 seconds and GitLab answers a page it cannot finish at about 32. Upgrade to 0.10.2, which waits longer than GitLab does (ingest.engine.httpTimeoutSeconds, 120 by default) and keeps the page GitLab sends back with the diff sizes empty rather than giving up. On 0.10.2 the same line names the endpoint, how long it waited and the value to raise; a page that comes back with errors and nothing else is named by its cursor and the field GitLab timed out on, and the run goes on to the next group before it reports the failure. If the same cursor is named run after run, GitLab is answering that page with no merge requests at all; send us the line — the remedy is a smaller page, which is a change to the source's document. See How Prism reads GitLab.

One GitLab group never answers and the other groups stop filling too — before 0.10.2 the first group that could not be fetched ended the run, and the groups after it in the list were never walked. From 0.10.2 every group is walked, the one that could not be fetched is named in the failure with what it answered, and the others' rows are in the mirror. The run is still reported as failed, and a failed source is retried hourly rather than on its schedule: each retry waits about six minutes on a group that never answers. That continues until the group answers or is removed from the source's groups. Removing it is a coverage decision, not a filter (see The groups you list are a coverage decision). A group that finished its copy starts the next run from where it got to, and a group that failed is copied again from its start.

A GitLab group is named as could not be fetched and the run is partial, or the run fails saying the first page resolved data.group to null — GitLab answered that group as if it did not exist, which is how it answers a group the token cannot see. Check the path is spelled exactly as GitLab spells it, and that the token's user can open that group in GitLab and see its merge requests. Test the manifest on the source's page asks every group, up to a limit, and lists any it did not ask. Until the group is fixed or taken off the source's groups, the other groups' rows land and the source's figures say they are short. A group that finished its copy starts the next run from where it got to, and a group that failed is copied again from its start.

A source shows live but 0 rows — synthetic data evicted, none ingested — the first live ingest truncates that source's synthetic rows before writing real ones. It truncated, then wrote nothing. Your credential or network path to that source is the place to look, not Prism. The ingest job's logs say which.

This state is now preventable, and the prevention is a helm upgrade you were going to run anyway: configure the credential and target, upgrade without flipping the source, and the self test reports whether that upstream is ready before the flip evicts anything. See Take a source live. Reaching this line means the flip happened first — the same assertions diagnose it after the fact, and a credential that authenticates cleanly and finds nothing is the usual cause.

On GitHub, read org_not_visible and org_visible_but_no_prs_found as token policy before you read them as network. A fine-grained personal access token has two ways to produce them that no firewall is involved in: the organisation requires approval for fine-grained tokens and nobody has approved this one — it authenticates, and keeps only the read-only access to public resources every such token carries — or the organisation blocks them outright. Both verdicts look identical to an egress rule that has not landed, so check the organisation's personal access token settings first; it is much the cheaper of the two to check. Note that this only reaches the verdict where the organisation's repositories are private throughout: where some are public, the same unapproved token sees those, the probe passes, and the symptom is the low figures below rather than a verdict. What the GitHub credential needs is the full list, for both token types.

Answers mix synthetic and real data for a source that went live with rewalkFrom set — before this release, a source whose ingest.<source>.rewalkFrom was already set when it first went live did not empty its tables on that first run, so the synthetic rows it started with can still be there beside the real ones. Nothing Prism records says whether this happened to a source.

For GitHub and Jira you can check. The synthetic pull requests all belong to an organization named acme, and the synthetic Jira issues include a project with the key ACME:

SELECT count(*) FROM pull_requests WHERE repo LIKE 'acme/%';
SELECT count(*) FROM jira_issues WHERE project_key IN ('ACME');

A count above zero means the synthetic rows are still there, unless your own organization or project goes by that name. Sources you registered yourself start with no synthetic rows.

There is no page action for this. Remove the source's record of its copies, so that its next run is a first live run again, using the source's name on Admin → Context streams:

DELETE FROM ingest_state WHERE source IN ('github');

That run empties the source's tables and copies them again: a full backfill of ingest.backfillDays, and the source answers from a partial table until it completes. A snapshot or keyset stream gives no figures until its copy lands. Its answer says it has no copy yet. History older than that is not copied. To copy it, leave rewalkFrom set to the date you want, and a later run re-sweeps from it.

A source shows set to sample data in the chart … but this datapond holds live data for it — the source's sources.* value says synthetic, and a live ingest has written to it. The usual cause is a values file that has lost a line such as sources.github: live, for example a fresh copy of a new chart's values.yaml: an unset value means synthetic. The seed leaves such a source alone, at the upgrade and in its weekly refresh. It does not truncate the live rows or write sample rows over them, and its log says synth-seed: REFUSED <source> with the reason. The source's card in the catalogue reads live data, set to sample data in the chart.

Restore the value (sources.github: live, or whichever source the line names) and run helm upgrade. The next live run continues from where the last one stopped.

To return a live source to sample data on purpose, on a demonstration or rehearsal installation, set its sources.* value to synthetic, name it in synthSeed.replaceLive (for example replaceLive: [github]), and upgrade. The seed deletes what the ingest recorded about that source's progress and replaces its rows with sample data, and its log says synth-seed: REPLACED <source>. The next time the source goes live, its run is a first run, as on a new installation. It does this once per naming: if the source has gone live again and a later upgrade still lists it, the seed refuses and says to remove the name. Remove the name from synthSeed.replaceLive after the upgrade it was for; an upgrade without it lets a later naming replace the source again.

If another session keeps holding a lock the seed needs for that source through several tries, the seed changes nothing for it and its log says synth-seed: SKIPPED <source>; upgrade again.

GitHub figures are plausible but low, and nothing anywhere is red — the likeliest cause is a GitHub token that cannot see every repository: one scoped to Only select repositories rather than to all of them (re-scoping it to All repositories is the fix, and it needs no change of credential kind — see Widen a source's scope), or a fine-grained token awaiting an organisation owner's approval, which retains access to the organisation's public repositories and nothing else. There is no fault to find in either case: the walk succeeded, the pre-flight passed, and the repositories the token cannot reach were never fetched, so every org-wide total is a subtotal — and Prism labels it org-wide (every repo in the index), because the index is all it can see. Compare the repositories in the answer against the ones you expected, then compare the token's repository access — and its approval state — against the same list. Widening the token fixes it from the next sweep onwards, and only for the days that sweep covers: the newly-reachable repositories' history arrives only when those day buckets are walked again. Widen a source's scope is the procedure for both halves. Do not delete the source's ingest_state row to force it: that makes the next run a first run, which truncates the table and re-walks only ingest.backfillDays. The re-sweep on that page is non-destructive, and it is not worth trading years of history for a few repositories' worth of it.

GitHub reports unrefreshable_installation_token — the credential in github-token is a GitHub App installation access token, the ghs_… string GitHub hands back when you exchange a JWT. It works at this moment and it expires one hour after it was minted; Prism cannot refresh one it was simply handed, so the source would run, look healthy, and then start failing with bad_credential — which reads as somebody having revoked it. The pre-flight catches it deliberately rather than passing, because an hour-late failure with a misleading name is worse than a red check now.

The fix is to give Prism the App's identity and key instead of a token it minted for you, so it can mint its own: ingest.github.app.appId, ingest.github.app.installationId and secrets.githubAppPrivateKey. Widen a source's scope is the procedure. The verdict already tells you how many repositories that installation reaches, so you can see what you are about to gain.

GitHub reports bad_app_credential — the App is configured and cannot be used as configured, and the verdict's error says which of the three values is wrong. The three shapes it distinguishes, because they have different fixes:

  • half-configured — one or two of the three set. Prism refuses rather than falling back to secrets.githubToken, which would ingest under a credential you did not choose;
  • the private key does not match the App, or the pod's clock is more than a few minutes out — the JWT Prism signs is valid for nine minutes and a drifted clock puts every one of them outside its own window;
  • no such installation — installationId is the installation's id, the number at the end of the App's Configure URL on your organisation, and not the App's id.

GitHub or Jira reports stored_credential_unreadable — a credential is stored on the source's row on Admin → Context streams, and the check could not open it. The jobs that call GitHub and Jira use the stored credential before the Secret's, the way the tick does, so the check tests that one and never falls back to the Secret's. The verdict's error names the cause: ENCRYPTION_KEY missing from the job (it comes from the Secret's encryption-key, the same value the app and the tick use, so on an existingSecret install check the key is present there), or a credential this build cannot decrypt.

GitHub or Jira reports registry_unreadable — the check could not read the source's row from the datapond, so it cannot tell which credential the ingest uses, and it does not guess. The error_class says why. The datapond line on the self test is the place to start.

A source shows ingest stalled — last completed …, past the Nh budget — the rows are there and are being served, but nothing has swept that source for several of its own scheduled intervals. The ingest is the place to look, not the app — but since 0.15.0 a failing source does not make the ingest Job fail, so a green Job here does not mean the source is fine.

Start with the stream's Runs tab: Admin → Context streams, open the stream, then Runs. Its first line says what the scheduler last decided, for example backing off until a given time after a failed copy, with the reason behind the ⓘ. Below it, each copy's row says how it ended, and a failed or abandoned copy opens to its full error and its log. How each copy went explains each outcome.

To send to Tetrate, use the diagnostic bundle. Its ingest block has an entry per source with last_failure.at and last_failure.error: when it failed and why (the first 300 characters of the reason), for every source, including the ones you registered yourself.

Only if the app itself is down, go to the ingest pod's logs, and search for the source's own name rather than the tick's done line. A failed scheduled source backs off for up to an hour while the tick runs every few minutes, so the done line you find will usually belong to a later, clean tick and read failed: []. The source's own line on those ticks says not_due — and carries the reason after it. Only the tick where it actually failed carries it on done, and successfulJobsHistoryLimit: 1 means that pod is replaced by the next tick's.

An uploaded file — a roster, or any kind: file source — has no retry backoff, so it is re-attempted every tick and stays in failed on every done line until the file is corrected. Searching for its name works either way, which is why that is the instruction.

kubectl logs -n <namespace> -l 'app.kubernetes.io/component in (ingest-tick,ingest-requests)' --tail=200 \
| grep '<source name>'

kubectl get jobs -n <namespace> still finds a run stuck Running, and a failed Job now means the tick itself could not run, or a source failed and Prism could not write down why. The usual causes are a credential that has been revoked since go-live, an egress rule that changed, and a node or quota problem that stops the CronJob creating pods at all. Answers keep working throughout and stay labelled with the coverage they actually have — the figures are not wrong, they are just not moving. ingest.stallAfterIntervals is the multiple the budget is built from. The interval it multiplies is the source's own schedule. For GitHub and Jira, that is their context stream's schedule.

A GitHub ingest Job failed with the table is empty … there is a watermark — GitHub has ingested here before and the run has just ended with pull_requests holding no rows at all, so it refused to record itself as a successful sweep. Note the gate is on the table being empty, not on the run having fetched nothing: a quiet weekend fetches nothing, leaves the rows that are already there, and passes. It is also only on a table that has held rows here before: a source that has found nothing to read since its first run is not failed for it, and its stream on Context streams says nothing matched. Same causes as the stall above, caught one run earlier. It is deliberately not fatal on the very first run: a first ingest against a genuinely empty window is indistinguishable from a broken one. The Jira ingest has no equivalent gate; a Jira mirror that ends up empty shows up as live but 0 rows on the self test instead.

An ingest Job failed with DeadlineExceeded — the run hit ingest.runDeadlineSeconds (24 hours by default). Either it wedged, or you have asked for more history than fits in one run; see Limits for the sizing. Nothing is lost either way — the walk records each completed day and the next firing resumes from there. Failing rather than hanging is the point: the CronJob runs one at a time, so a run that never ends would block every later one indefinitely.

A source says abandoned after …s (ingest.engine.sourceDeadlineSeconds) so the sources behind it could run — it ran for longer than one source may in a run (ingest.engine.sourceDeadlineSeconds, two hours by default), so the run stopped it and went on to the next source. When the job's day was nearly spent the brackets say (what was left of ingest.runDeadlineSeconds) instead: less than the limit was left. The self test shows it as a recorded failure until a run completes. What the rest of the sentence says tells you whether to act:

  • it resumes where it stopped — a mirror that moved forward. It is catching up on history a little each run. Leave it, or raise the value so it catches up in one.
  • it made no progress, so its next run goes last with the rest of the day's budget — a snapshot or file (the stream it was copying keeps its previous copy; a stream it had finished keeps its new one), or a mirror whose resume point did not move. Its next run gets what is left of that run's time, once (or again, if what was left was less than the limit).
  • it made no progress, so its next run copies it on its own in the Copy now job — the same, on an install where ingest.engine.copyNow.enabled is true (the default). The ingest tick does not run that long copy itself. The Copy now job runs it in a pod of its own, with the same time. The ingest tick goes on with the other context streams and the identity refresh while it runs. The stream's Runs tab says Copied on its own. If the Copy now job has not started the copy within an hour, the ingest tick runs it itself.
  • stopped … with the day's whole remaining budget … does not fit in ingest.runDeadlineSeconds — even that was not enough, and it moved nothing forward (a mirror that did is told it resumes where it stopped). It is held to the limit on later runs, which then say did not fit in ingest.runDeadlineSeconds on an earlier run. The sentence names what the stream reads from: check that statement's plan with your DBA, or the source's rate limits. Another failure or a restart does not end the hold; it ends when a run completes, or when you change the source's manifest, its parameters (on the source or the chart values it reads them from, such as ingest.github.orgs) or its uploaded file, either ingest.engine.sourceDeadlineSeconds or ingest.runDeadlineSeconds or oracle.mode, or upgrade. Its next run then gets the rest of the day again, once.

Every GitHub ingest run starts the backfill again, and the table never fills — each Job ends in DeadlineExceeded, each one logs first live run: truncating …, and the row count returns to roughly the same number. Progress is recorded per completed day bucket, so a run killed before it finishes even one records nothing — and a run that recorded nothing is indistinguishable from a first run, which truncates and starts over. It takes a run deadline too short for one bucket at the configured request rate: a bucket costs at least 3 requests per org and up to 30 on a busy day, so at maxRequestsPerMinute: 1 it needs anywhere from half a minute to half an hour. Raise ingest.github.maxRequestsPerMinute, or raise ingest.runDeadlineSeconds back towards its 24h default — never the other way. Current builds say so in the log before it happens: a WARNING naming both numbers where a busy bucket will not fit, and a refusal to start at all (refusing to start, also naming both) where even an empty one cannot. An ingest that exits immediately with that message is this check, not a failure to reach GitHub.

The Jira ingest can loop the same way and says so the same way, in its own unit: it records progress per page of search results, and a page costs one request whatever it holds, so the whole floor is 3 requests for the run — deployment detection, the field registry, one page. Where that does not fit inside the deadline it refuses to start, naming JIRA_MAX_REQUESTS_PER_MINUTE and the deadline; raise ingest.jira.maxRequestsPerMinute or the deadline.

A source shows rows but upstream unverified — the data is there and the ingest is current, but nothing has confirmed the upstream is still reachable with a working credential. That is a real gap rather than a pedantic one: a token revoked five minutes ago leaves a row count identical to a healthy one, and the mirror only starts to look wrong days later.

The line names the probe that answers it. Either run it directly:

kubectl create job -n <namespace> probe-github \
--from=cronjob/<release>-github-check

…or work out why the CronJob that does this every ingest.checkSchedule has not:

kubectl get cronjob,job -n <namespace> -l app.kubernetes.io/component=github-check

The usual causes are a source flipped live by editing a value without running helm upgrade (so the CronJob was never created), a missing credential secret, or an image the namespace cannot pull. The probe exits 0 whatever it finds, so a failed Job here is the datapond, not the upstream — an upstream fault comes back as a red upstream check failed: <fault> on the self test instead.

Two source lines never ask for a probe, and neither is a fault: directory has no prism-ingest job at all (the Agent Router is its upstream, and the AGENT ROUTER checks on the same page cover it), and a live spend source has no local index to probe.

A source reports no_token or no_credential, and you are certain the credential is in the Secret — then it is almost certainly under a different key than the one the chart reads. These are the three, and they are exact:

SourceSecret key
GitHubgithub-token
GitHub, when the credential is an Appgithub-app-private-key
Jirajira-token
Router spend and directoryvalet-api-key

This only arises with existingSecret, where you build the Secret yourself — a chart-managed Secret always writes the right names. Check for a typo, an underscore for a hyphen, or a key you added to a different Secret than the one existingSecret names:

kubectl get secret <your secret> -n <namespace> -o jsonpath='{.data}' | tr ',' '\n'

The verdict in the diagnostic bundle names the key it looked for, so compare that against the output above rather than against your notes. Nothing is broken while this is showing — the credential is simply not being found, and the source keeps serving whatever it has.

helm upgrade came back clean but the source is still empty — expected for the first half-hour or more after a flip. helm returns once the backfill has started; the walk itself takes tens of minutes and scales with ingest.backfillDays and how many orgs or projects you named. Watch it on the stream's Runs tab, where the backfill is a copy started by schedule, or by Copy now. Its log (Show every line) prints a line per day of history. If the app is down, the ingest tick's own log is the fallback: kubectl logs -n <namespace> -l app.kubernetes.io/component=ingest-tick -f. Still empty once that copy has finished is the credential/egress case above, not a slow backfill.

A source is still not refreshing after the upgrade that was meant to fix it — a source whose last run failed is held off for an hour before it is tried again, and until 0.13.0 that hour was measured from the failure alone. It therefore survived the helm upgrade you performed because it fixes that source, and for up to an hour afterwards nothing changed. The tick's own log said so — the last attempt failed 0:23:44 ago; retry after 1:00:00 — but that line is in a CronJob pod's log rather than on the admin page.

From 0.13.0 there are two ways through, and you should not need either very often:

  • Ask for it. Copy now on the source's page under Admin → Context streams sends POST /api/admin/sources/<id>/ingest/run-now, which records a request. The ingest-requests CronJob starts the copy within ingest.engine.copyNow.minutes (1 by default), or when a copy of the same source that is already running finishes. With ingest.engine.copyNow.enabled off, the next ingest tick honours it instead: ticks start every ingest.engine.tickMinutes (15 by default), and each waits for a running one to finish. The request is refused (409, with the reason) when the source is not enabled, when its own stored manifest does not validate, when it is a file source (read when its file changes: upload the file again to have it read), when it is query-through and so never copied, when its manifest names a part this build cannot run, or when it would read its credential from the ingest pod. A source under a name this image ships is judged on the image's manifest, not its stored copy. Some reasons a tick skips a source are on the ingest pod and the app cannot see them, so the request is accepted and waits: a per-source engine_off setting, an edition or image conflict (image_conflict, edition_moved), and a lane the tick refuses. What Prism is pulling shows the tick skipping it. A waiting request is shown on the source's page, with when it was made and a Withdraw button, disabled sources included. The route needs a super-administrator session, the same as the page, and the source's id is under registry.rows in GET /api/admin/sources. It overrides the retry backoff and the schedule, and it asks for one walk however many times you send it. The source's record (GET /api/admin/sources/<id>) says whether one is waiting: run_request_pending is true until a walk honours it. (run_requested_at is when it was asked for, and stays set after the walk has run, so read run_request_pending, not that.) To take a waiting request back, send DELETE /api/admin/sources/<id>/ingest/run-now — the /ingest/run-now path, never the source's own: DELETE /api/admin/sources/<id> deletes the source and its stored credential. A request is never discarded on your behalf, because nothing having run is not the same as your having changed your mind.
  • It is usually unnecessary after an upgrade. An attempt is now stamped with the version that made it, so a failed source whose appliance has been upgraded since is tried at the next tick rather than waiting out the hour. This needs your chart version to have moved: an appliance running an unversioned chart (0.0.0) has nothing to compare and keeps the old behaviour.
  • From 0.16.0, a values-only redeploy counts too, for the values that decide how a source connects. Correcting oracle.mode and running helm upgrade on the same chart version leaves the version where it was, so until 0.16.0 the failed source still waited out the hour. An attempt is now also stamped with a digest of those values, and a change ends the backoff at the next tick. Today the only such value is oracle.mode. For any other change, the run-now request above is the lever, and from 0.16.0 the tick's not-due line names it.

The tick says a run failed and gives no reason — from 0.16.0 the line says so in words: "no reason was recorded for it, which usually means the run was killed rather than failing". Both of the tick's failure paths write a reason to the source's row, so an attempt with none after it usually means neither ran to completion. The likeliest cause is that the process was killed: an out-of-memory kill, or a crash inside a native library. Less often, the write itself failed, which the tick's own done line reports under red. Look at the tick pod's exit reason, which the pod log does not carry:

kubectl get pods -n <namespace> -l 'app.kubernetes.io/component in (ingest-tick,ingest-requests)'
kubectl describe pod <the failed pod> -n <namespace> # "Last State: Terminated", "Reason: OOMKilled"

A SIGTERM (the run passing ingest.runDeadlineSeconds, an eviction or a node drain) is caught from 0.16.0, from the moment the tick starts. If it arrives while a source is running, that source's reason says "the run was stopped by SIGTERM before it finished" instead, and no further source is started. If it arrives before any source starts, the tick only logs terminated and exits 143. When the deadline is the cause, the Job controller deletes the pod, so kubectl describe pod finds nothing. The recorded reason and kubectl describe job are where to look.

On an older release, the escape hatch is to clear the attempt stamp by hand. Clear the one key — not the row:

UPDATE ingest_state SET detail = detail - 'last_attempt_at'
WHERE source = '<the source name>';

DELETE FROM ingest_state WHERE source = … also works and costs more than it looks: that row holds the resume point of any interrupted backfill, the backfill horizon and the record described next, so deleting it can send the next run back to the start of history and truncate what is there. Remove the key, not the row.

A source that has never finished a run keeps what it has copied, and will not start again from empty. The first live run of a source clears its tables — whatever was in them (sample data, an older configuration) must not mix with real rows — and records that it has done so, as live_since on that source's ingest_state row. Every later run reads that record: a source that cannot finish adds to what its own earlier runs copied instead of deleting it every hour. That is what stops one stream that always fails from wiping the streams beside it.

You will meet it in the ingest log as a line beginning "a previous run of this source already truncated …", on a source whose Last completed is still empty. It is not an error; it is the run declining to destroy its own earlier work.

If you genuinely want the next run to start from empty — you have changed what the source means, not merely how it is filtered, and the rows already copied are wrong rather than incomplete — remove that one key and let the schedule do the rest:

UPDATE ingest_state SET detail = detail - 'live_since'
WHERE source = '<the source name>';

The next run then clears the tables and backfills, exactly as a first run does. Editing what the source's manifest reads (its streams, their queries, its model) does this for you: the next run takes the tables over again, because the rows were written by a different document. An edit to the source's label, its role or how its tile looks in the catalog does not, and neither does an upgrade that changes only those in a shipped manifest. Three more edits do not either: a value-set role: on a field, role: copy_date on as_of or is_latest_snapshot, and the rate_limit or read_rate_limit under connection. None of them changes a row the ingest copies. After an upgrade, this holds for a source from its first run under the new version. A Save of one of those three edits before that run still takes the tables over.

When a Save takes the tables over again before the source's first run completes, a snapshot context stream can keep its rows. It keeps them when its own definition did not change and its rows were read with the same parameter values, connection settings, registration and credential. Readers keep seeing the old copy while the new copy runs. The new copy then replaces every older copy in one step. If the new copy fails, the old copy stays, and the stream's refusal says so. Any other stream is cleared before its copy starts. Both fresh starts above clear every table.

Two ingest Jobs for one source, one of them Completed in seconds — not a fault. Only one run of a source may hold the datapond at a time; a second (usually the CronJob firing during a first backfill) logs another … ingest is already running and exits successfully rather than racing it.

Review latencies look impossibly fast, or a code-review bot appears as a person — a time to first review measured in minutes is usually an automated reviewer being counted as a colleague. Prism classifies a review as automated when GitHub reports its author as an app; releases before this one classified by account name instead, which missed every review app whose login does not end in [bot] (GitHub's own review bots among them). Upgrading fixes what is ingested from then on, and does not correct history: the flag is written when a review is stored. To restate the existing rows, re-read GitHub from a date with a re-sweep: set ingest.github.rewalkFrom to the date you want restated (see Widen the window later). It re-reads the pull requests and their reviews from that date and rewrites each review's flag. Nothing is truncated, so answers keep working while it runs. Do not delete the github row of ingest_state to force a re-walk: that makes the next run a first run, which empties every GitHub table and backfills only ingest.backfillDays, so history older than that is lost.

Until the re-sweep has run, review-latency figures and the reviewer matrix may still count review apps as people. Answers name the accounts they excluded as automated, so an empty exclusion list beside a two-minute median is the symptom to look for.

Every question fails instantly, and the self test's chat round trip says "no answer from the agent" — if the diagnostic bundle's runner_error for that check mentions toolConfig.tools, the Agent Router in front of this install is mistranslating the prompt-caching hints Prism attaches to its tool definitions. A Bedrock-backed gateway folds the cache point into the same toolConfig.tools[] element as the tool itself, and Bedrock refuses the pair:

400 The value at toolConfig.tools.11 can only set one of the following keys:
toolSpec, systemTool, modelTool, or cachePoint.

Nothing else goes red — the model catalogue, the inference endpoint and every MCP line stay green, because the request only becomes invalid at the last hop. Set agentRunner.promptCaching=false and upgrade; the chat works again and the install gives up the caching discount until the Router is fixed. Report it: the translation is the Router's to correct, and the setting is meant to be temporary.

The fix is already released. Agent Router Enterprise carries it from 0.1.5 onward, and upstream Envoy AI Gateway carries it from v1.1.0. If your gateway is one of those, set agentRunner.promptCaching back to true and ask one question. Then search the runner log for rejected our prompt-caching hint. No match means caching works. The chat answers either way, because the runner falls back without the hint, so the log is the only test.

If you have set it before and this came back after an upgrade, check the bundle's config block: prompt_caching_configured says which way the setting went in on the release that is actually running. It reports the configured value, including anything you overrode in agentRunner.extraEnv, so on there means nobody turned it off in your values file — and the usual cause is a values file that was not passed to the upgrade. Two things it cannot see: a bare kubectl set env on the runner Deployment (move it into agentRunner.extraEnv, where it is both visible and durable), and the runner switching caching off by itself after a gateway rejects the hint, which it does from 0.8.0 and logs.

Everything works, and inference costs far more than expected — Prism re-sends a large, stable prefix on every turn (the instructions and the tool definitions), and asks the Router to cache it. Whether that hint takes effect depends on which Router API the request goes down, and the two do not agree:

Your Agent Router frontsagentRunner.anthropicApi
AWS Bedrock, or Vertex / AWS Anthropiccompletions (the default)
the Anthropic API directlymessages

Set the wrong one and nothing looks wrong. Every check on /selftest stays green, every answer is correct, and the only symptom is the bill — the cached part of each turn is worth roughly 9x, so on a long conversation this is most of what you pay. Confirm before changing it: in the Agent Router's own request log, a working install shows cache-read tokens on the second and later turns of a conversation; an install on the wrong path shows none, ever.

This is a Router-side gap rather than a Prism setting we would rather not have — the gateway carries the caching hint on every path where it translates between API shapes, and one path passes the request through untranslated instead. When that is fixed the default will be right everywhere and this parameter goes away. agentRunner.promptCaching must also be on (it is by default) for either path to cache at all. The bundle's config block reports both as they were configured — anthropic_api_configured and prompt_caching_configured — which tells you what this install was asked to do, but not whether the Router honoured it. Only the Router's request log answers that. invalid there means the value set is not one the runner recognises, so it was ignored and the default is in force.

The chat starts answering, then dies part-way — the idle timeout on something between the browser and Prism, not Prism. An answer that makes several tool calls runs for minutes with quiet gaps between events, and Prism sends no keepalive traffic to fill them. Raise the idle timeout on your ingress, gateway and any proxy in the path to at least 10 minutes (Limits). The answer itself says this happened — an amber band above it, carried into the exported PDF — and a cut arriving at about the same elapsed time every time is the timeout rather than bad luck. Nothing in the self test fires for it, and nothing server-side records it: every component is healthy, the answer was produced normally, and the stored copy is complete. What the reader saw is the only evidence, which is why the band exists.

Prism refuses a chart, or says it cannot answer something it clearly has the data for — check Limits before raising it. A chart with spend on one axis and delivery output on the other, a "productivity" heading over a count, and inferring who is on a team are refused by design, not by fault.

Every question on a stream's Verification tab says the stream is not loaded, while the stream itself is enabled and answering — the questions record which stream they ask about, and on a stream registered or renamed before 0.12.0 that record did not move when the name did. So each question asks about a name this installation no longer has, and reports that there is no such stream to ask. Nothing else is wrong: the stream is collecting data and answering in chat, and none of its figures are affected. Open its Manifest tab, set every query.source under policy.verification.questions to the stream's own name, and Save. Saving a manifest clears any verdicts already recorded — the questions come back as pending, which is the ordinary consequence of replacing a model, not of this fix. From 0.12.0 a rename carries the questions with it and a manifest whose questions name another stream is refused with the question named.

The chat quotes numbers that look wrong — check the SOURCES group. A source still in synthetic mode is answering from generated data, which is realistic enough to look real. This is the intended day-one state, but it surprises people who expected a flipped source to have taken effect.

A verification question says the proxy in front of Prism gave up​

On Admin → Context streams › Verification, a question's card reads "No result: the proxy in front of Prism gave up on this request after about N s (HTTP 504)". A fast 502 or 503 reads differently — "could not reach Prism" — because that is a pod restarting or a service with no ready endpoint rather than a timeout, and raising a timeout would not touch it. The question was still running when a Route, ingress or load balancer between you and Prism stopped waiting for it. Nothing was recorded, and it says nothing about the source. On OpenShift the Route's default timeout is 30 seconds, and a question over a large copied source can take longer. Raise the timeout as in Installing Prism, step 1e — in app.ingress.annotations where the chart renders your Ingress, or a hand annotation is lost at the next helm upgrade — then press Run on that question again. Prism's own wait for one question is twice mcps.semanticMcp.statementTimeoutSeconds plus 15 seconds (45 seconds by default). With viewer scoping on, the Runner waits that long too, and never less than 60 seconds. Prism waits 5 seconds longer than the Runner, and looking up the Runner's route first can add up to 30 seconds to that. Past it the card carries Prism's reason rather than a proxy's, and no Route timeout raises it. The same N on every attempt is the proxy's timeout; since 0.16.0 Run all questions sends one request per question, so only a question that on its own takes longer than the proxy allows is affected.

A verification question ran out of time​

On Admin → Context streams › Verification, a question's card reads "ran out of time" and says "the statement ran past the N s limit set by mcps.semanticMcp.statementTimeoutSeconds". The question is fine and so is the manifest: the source did not answer before the semantic query service stopped waiting. Chat questions against the same source meet the same limit. Copied sources that are large, or whose database has not yet cached the table after a refresh, are the usual cause. Run the question again once the source is warm, or raise mcps.semanticMcp.statementTimeoutSeconds and upgrade the release. The verification page waits twice that value plus 15 seconds. With viewer scoping on, the page waits for the Runner instead. The Runner waits twice that value plus 15 seconds, and never less than 60 seconds. The page waits 5 seconds longer than the Runner, and up to 30 seconds more to look up the Runner's route. Set any proxy or ingress timeout in front of Prism above that figure, or the proxy gives up first. If the Runner stops the question, the card says so. If the card names the source's own connection.database.statement_timeout instead, that lower value is what fired, and raising the chart value changes nothing.

A source loads nothing, writes no error, and its job is still running​

A context stream that copies your Oracle or Postgres starts, loads nothing, and its ingest job stays Running. The tick walks its sources one after another, and a new tick does not start while one is still running. Before 0.16.0 the tick therefore ran no other source while it waited. From 0.16.0 one source runs for at most ingest.engine.sourceDeadlineSeconds (two hours by default), or, after it was stopped without moving forward (for a snapshot or file: without completing), for the rest of the day's ingest. That happens once, and only when at least the limit was left; if that run is stopped again without moving forward, the source is held to the limit until a run completes or its settings or version change. Then it is stopped with an abandoned after … or stopped after … line and the sources behind it run. Where the Copy now job runs (ingest.engine.copyNow.enabled, on by default), that one run with the rest of the day runs in the Copy now job instead, and the tick goes on with the other sources.

From 0.16.0: wait for the bound, then read the line​

From 0.16.0 most stalls end on their own with a line that says what stopped them. A line that names one stream can come while the run goes on to the next stream. The stream's Runs tab shows the stopped copy. If the app is down, read the lines in the tick's log, newest Job last:

kubectl -n <namespace> get jobs --sort-by=.metadata.creationTimestamp \
-l 'app.kubernetes.io/instance=<release>,app.kubernetes.io/component in (ingest-tick,ingest-requests)'
kubectl -n <namespace> logs job/<the job>

The log is kept only until the next tick finishes, or not at all once the Job has hit its deadline. The tick's failed line for the source, and last_failure.error in the diagnostic bundle's ingest block, carry that line, or a summary that counts the streams refused (N streams refused (…)).

While a stream is being copied, the log also has a line for it every minute, <stream>: still copying: N rows in M chunk(s) so far; Ts …, ending with what the copy has been doing for those seconds: opening a session on the source, waiting on the source, writing to Prism's database, or one of Prism's own pauses (pausing between requests to the source (pacing), backing off after a failed attempt). Rows that keep climbing mean a slow copy; seconds that keep climbing on the same end mean that end is where it waits.

How long to wait for the stream the copy is on:

  • Setting up a Postgres session: 60 seconds for each of connect, session setup and begin, tried six times: about nine minutes.
  • The statement: the manifest's statement_timeout, or without one ingest.engine.databaseFetchTimeoutSeconds (an hour by default) for each step. On Oracle, every round trip after connecting gets that bound (half the manifest's statement_timeout, if it states one), and a stalled fetch can take about twice as long to end: about two hours by default.
  • Connecting to Oracle: in oracle.mode: thick, for a source entered as host, port and service name made only of letters, digits and . - _ : $ # % [ ], 60 seconds, ending in ORA-12170. Any other host or service name, a source entered as a DSN, and thin mode have no bound of their own; the per-source limit stops them. Each session, once set up, writes oracle session opened in … mode to the tick's log. The copy connects again after a database error (…) line or WARNING: that fault closed the session …. If no new oracle session opened line has come for several minutes after one of those, or since the run began, it may be stuck connecting: go to No such line.
The line saysWhat it means
no answer to connect within 60sPostgres: the server, or something between it and Prism, did not answer the connection
no answer to session setup within 60sPostgres: the connection opened, and a session setting got no answer
no answer to begin within 60sPostgres: starting the read-only transaction got no answer
WARNING: <stream>: closing the read's cursor got no answer within 5sPostgres: closing the stream's cursor got no answer. Prism ended the session there; what is read after it is read on a new one, at a later instant under the same as_of (a partitioned stream met part way is abandoned instead)
giving up on <stream> after 6 attempts (the last: …)Every attempt failed; the part in brackets is the last one's reason or code
the statement did not finish inside the configured statement_timeoutThe manifest states a statement_timeout, and the statement was stopped by it. On Postgres a cancel by your DBA reads the same; on Oracle so does a connection closed late in a statement (DPY-4011)
… inside the engine's own …s bound on one step of the statement …The manifest sets no statement_timeout, and one step of the statement returned nothing for the fetch bound. On Oracle a connection closed late in a statement (DPY-4011) reads the same
… inside a statement_timeout the source's role or cluster carries …Postgres: 57014 with no statement_timeout in the manifest: a timeout set on the login or the cluster, or a cancel by your DBA
… inside an Oracle call timeout, or a connection closed before the session was set up …Oracle, before the session was set up: DPY-4011 is both
… inside the Oracle call timeout while the session was being set up …Oracle: a session setting did not finish inside the call timeout (DPY-4024)
the connection dropped (…) after N page(s) …The connection closed after that stream had read pages. That stream keeps its previous copy for this run, and the streams after it are copied on a new connection
the connection dropped (…) after part of this stream's copy had already been read (a statement of it returned no rows)The same, for a stream copied in partitions whose earlier partitions all returned no rows: it was read at the first connection's instant, so it is not finished on a new one
abandoned after …s (ingest.engine.sourceDeadlineSeconds) so the sources behind it could run (or its progress could not be read)None of the bounds above ended it inside the per-source limit, so the tick stopped this source and ran the next; see A source says abandoned after … below
stopped after … with the day's whole remaining budget …The same, on the one run a stalled source is given the rest of the day: the copy does not fit in a day, and it is held to the limit until a run completes or its settings or version change; see the same entry
the run was stopped by SIGTERM before it finished …No bound fired: the tick's deadline (ingest.runDeadlineSeconds), an eviction, a node drain, or someone deleting the Job stopped it

For a Postgres source, If something is wrong on Copy a Postgres table or view has entries for several of these. A statement waiting on a lock on your server also ends with one of these lines. To see it, run the query on your server below while a run of the source is waiting on it. For an Oracle source, send us the line with the diagnostic bundle.

No such line, or before 0.16.0​

Connecting to Oracle in thin mode, through a DSN or to a host or service name outside those characters, a wait inside Prism's own Postgres, and a far end that keeps sending a trickle of data (on Oracle, on Postgres with no statement_timeout, or a copy that pages) have no bound of their own. From 0.16.0 the per-source limit still stops them, with the abandoned after … line; before 0.16.0 a copy with no statement_timeout could wait until the job's deadline. If no line has come after the wait above, then, while the job is still running, run these two queries and send us both outputs with the diagnostic bundle. No rows for the source's login on your server is itself an answer: no session is open.

On the Postgres Prism uses for its own memory. With the bundled Postgres:

kubectl exec -n <namespace> statefulset/<release>-postgres -- \
psql -U postgres -d prism -c "
select pid, application_name, client_addr, backend_start, state,
wait_event_type, wait_event, xact_start,
pg_blocking_pids(pid) as blocked_by, left(query, 60)
from pg_stat_activity where datname = current_database()
order by xact_start nulls last;"

With postgres.bundled: false, run the same select from any client that can reach your server, against postgres.external.database, as postgres.external.user.

While the copy waits on your server, its own session here is normally idle in transaction.

application_name says which part of Prism holds each session: prism-app, prism-app index build (the app building the conversation list's index after an upgrade; it waits for open transactions to finish, gives way when any other lock holds it up for ten seconds, and tries again later), prism-ingest (the tick and its activity log), prism-mcp-semantic, prism-mcp-management, prism-mcp-discovery, or prism-synth-seed. The agent runner keeps its state in a database of its own, which this query does not show. A schema change blocked after an upgrade shows up here as a row waiting on a blocked_by pid, and its application_name says which part of Prism is waiting. On a Postgres source server of yours, Prism's sessions set no application_name.

On your server, filtering on the login the source connects as (Parameters on the source's page shows it as db_user in the recipes). On Postgres, as a superuser or a role with pg_read_all_stats:

select pid, usename, datname, state, wait_event_type, wait_event,
xact_start, now() - state_change as in_state_for,
now() - query_start as age, left(query, 60)
from pg_stat_activity
where usename = '<the login>'
order by age desc nulls last;

On Oracle, as an account that can read gv$session:

select inst_id, sid, status, event, last_call_et, sql_id
from gv$session where username = upper('<the login>')
order by last_call_et desc;

To free the tick sooner, disable the source, save the Job's log, then delete the Job; its log goes with it. Find it through its running pod, since finished tick Jobs stay listed too:

kubectl -n <namespace> get pods \
-l 'app.kubernetes.io/instance=<release>,app.kubernetes.io/component in (ingest-tick,ingest-requests)' \
--field-selector=status.phase=Running -L job-name
kubectl -n <namespace> logs job/<the JOB-NAME it shows> > tick.log
kubectl -n <namespace> delete job <the JOB-NAME it shows>

The Postgres log says database "prism" has a collation version mismatch on every connection — the bundled Postgres image moved to newer libraries for ordering text, and the indexes built under the old ones have not been rebuilt for them. 1.0.0-beta3 moves the image from Debian 12 to Debian 13 (glibc 2.36 to 2.41, ICU 72 to 76), so every bundled install that upgrades across it starts in this state. Prism's own logs do not show the warning; only the Postgres container's do. A named collation can say the same (collation "en-x-icu" has version mismatch).

On a bundled install the chart repairs it itself, on the first start after the upgrade and before the Postgres pod is Ready: it rebuilds every index in each such database's own schemas except those that provably cannot depend on a collation (no expression, no condition beyond IS NULL, and keys of numbers, dates and times, UUIDs, vectors and the like), then records the new versions. The pod is not Ready until the rebuild ends, so a long rebuild needs helm upgrade --timeout raised before the upgrade, and postgres.collationRepair.maxSeconds raised if the estimate comes near it. The chart's upgrade hook waits for as long as the repair may run. (Upgrading to 1.0.0-beta3 itself also needed postgres.startupWaitSeconds raised.) The 1.0.0-beta3 release note gives the estimate. The repair logs what it did into the Postgres container's log, which kubectl logs serves once the pod is Running (while the repair runs it refuses the pod as waiting to start; the release note shows how to watch a repair in progress):

kubectl -n <namespace> logs <release>-postgres-0 | grep collation-repair

A finished repair shows one line per database it repaired, such as prism: rebuilt 88 indexes (1153 MB) in 14s; refreshed 809 named collations; collation version 2.36 -> 2.41, and then done in …. A database it could not finish is named with what stopped it, and keeps its warning. The next start tries it again from the beginning, so a cause that does not go away stops it again. Invalid indexes that no write maintains, and indexes on temporary tables, are named on a line of their own and left as they are.

To repair it by hand (the same error comes back on every start, or you set postgres.collationRepair.enabled=false), rebuild first and record the versions second. Recording them without rebuilding silences the warning and fixes nothing, which is why the script stops at the first error. For the prism database:

kubectl exec -i <release>-postgres-0 -- psql -U postgres -d prism -v ON_ERROR_STOP=1 <<'SQL'
SET lock_timeout = '1min';
SELECT format('REINDEX INDEX %s;', c.oid::regclass)
FROM pg_index i
JOIN pg_class c ON c.oid = i.indexrelid
JOIN pg_namespace n ON n.oid = c.relnamespace
WHERE c.relkind = 'i' AND (i.indisvalid OR i.indisready) AND c.relpersistence <> 't'
AND n.nspname NOT IN ('pg_catalog', 'information_schema') AND n.nspname !~ '^pg_toast'
AND NOT (i.indexprs IS NULL
AND (i.indpred IS NULL
OR NOT EXISTS (SELECT 1 FROM regexp_matches(i.indpred::text, '[{]([A-Z_]+)', 'g') AS m(v)
WHERE m.v[1] NOT IN ('NULLTEST', 'BOOLEXPR', 'VAR', 'CONST', 'BOOLEANTEST')))
AND NOT EXISTS (SELECT 1 FROM unnest(i.indclass::oid[]) AS k(opc)
JOIN pg_opclass oc ON oc.oid = k.opc
WHERE NOT (oc.oid < 12000
OR EXISTS (SELECT 1 FROM pg_depend d
JOIN pg_extension x ON x.oid = d.refobjid
WHERE d.classid = 'pg_opclass'::regclass
AND d.objid = oc.oid
AND x.extname = 'vector')))
AND NOT EXISTS (SELECT 1 FROM unnest(i.indkey::int2[]) AS k(attnum)
JOIN pg_attribute att ON att.attrelid = i.indrelid AND att.attnum = k.attnum
JOIN pg_type t ON t.oid = att.atttypid
WHERE NOT (t.typtype = 'e'
OR (t.typnamespace = 'pg_catalog'::regnamespace
AND t.typname IN ('bool', 'int2', 'int4', 'int8', 'oid',
'float4', 'float8', 'numeric', 'date', 'time', 'timetz',
'timestamp', 'timestamptz', 'interval', 'uuid', 'bytea',
'inet', 'cidr', 'macaddr', 'macaddr8'))
OR (t.typname IN ('vector', 'halfvec', 'sparsevec')
AND EXISTS (SELECT 1 FROM pg_depend d
JOIN pg_extension x ON x.oid = d.refobjid
WHERE d.classid = 'pg_type'::regclass
AND d.objid = t.oid
AND x.extname = 'vector')))))
\gexec
DO $r$ DECLARE c regcollation; BEGIN
FOR c IN SELECT oid::regcollation FROM pg_collation
WHERE collversion IS NOT NULL
AND pg_collation_actual_version(oid) IS NOT NULL
AND collversion <> pg_collation_actual_version(oid) LOOP
EXECUTE format('ALTER COLLATION %s REFRESH VERSION', c);
END LOOP;
END $r$;
ALTER DATABASE prism REFRESH COLLATION VERSION;
SQL

If it stops at an error, fix what the error names and run it again. One you may meet in both the log and here is could not create unique index … is duplicated. That is a unique index on an expression over text, such as lower(email), whose rows were distinct under the old library and collide under the new one: glibc 2.41 lowercases some characters differently, so two values that used to differ now give the same key. Prism's own indexes are not unique in that way; one you created can be. Decide which of the rows the error's DETAIL names to keep, change or remove the others, and the next start or run finishes. Until then that database keeps its warning.

Another is canceling statement due to lock timeout: something holds a lock on that table.

Then do the same with -d runner and ALTER DATABASE runner …, and with postgres and template1, which have no indexes of their own, so for them only the last two statements do anything. Done this way the app is connected while it runs, and each rebuild blocks reads and writes on its table until it finishes: seconds on most installs, and the 1.0.0-beta3 release note has the measured rate. To check it worked, every row here should show two equal versions:

SELECT datname, datcollversion, pg_database_collation_actual_version(oid)
FROM pg_database WHERE datallowconn;

A rebuild cannot repair what the old rules wrote into rows: a table partitioned on text, a stored generated column computed from text, a materialized view, or a CHECK constraint that compares text by order. Prism's tables have none of these; check any of yours by hand.

Rolling back after the upgrade puts the old libraries back under data that now records the new versions, and the same warning appears the other way round. An earlier chart has no repair, so do this one by hand.

When to send it to us​

A screenshot of the self test page covers most of it. If we need more, the diagnostic bundle carries the evidence behind every line — see self-test.md for exactly what is and isn't in it.

Worth including if you have it: which step you were on, and whether it ever worked.