In this guide
Troubleshoot
Find the failure before repeating the action
Start with the saved evidence, identify which layer failed, and choose the smallest safe next step. Missing observation is not permission to replay a change.
This guide follows the reviewed Den source. It describes supported controls and their limits, not a claim that your host has this version or that these operations have been rehearsed here. Check the installed build and current evidence before making changes.
Start with a short evidence check
- Identify the intended app, environment, branch and action. Record when it happened and the exact operation/job ID.
- Read the final execution state before considering another mutation. Queued, running, failed, rolled back, interrupted and needs attention are not interchangeable.
- Check current services and their observation time. Compare saved setup revision/time with the operation's requested/resulting revision.
- Separate execution, adapter verification, follow-up inspection and public-path behavior. Each can fail independently.
- Review System health and Needs attention for an installation-wide hold, missing agent, disk pressure, stale evidence or request limit.
If host or agent evidence is unavailable, use independent host access to check Docker engine/service health, the configured private AGENT_URL, intended manager-agent network, existing HMAC pairing and matched component identities/state formats/capabilities. Do not expose the agent/Docker API or change credentials merely to make a probe pass. A version/capability mismatch needs a reviewed matched upgrade or recovery plan, not a synchronous fallback.
If an outcome is uncertain, preserve it and use the existing status/review flow. Do not turn a lost response into another deploy, restore, DNS change or update approval with a new identity.
Owner sign-in or MFA is blocked
Confirm you are opening the Den dashboard, not the public website's Attic Account link. Den's independent owner has no default password and works separately from optional Attic administrator sign-in.
- Owner not initialized: use the reviewed host-terminal bootstrap on the intended new installation. Do not erase an existing database to create another owner.
- Authenticator rejected: check host/authenticator time, use a fresh six-digit code and avoid reusing the same time-step code immediately after a successful verification.
- Authenticator unavailable: use an unused MFA recovery code alongside the password. It is different from the terminal owner-reset recovery code.
- Password recovery: use the documented interactive terminal procedure and exact terminal recovery material. It revokes sessions and clears MFA; required-MFA remote access needs protected local reenrollment before reopening.
- Access loop or origin rejection: verify exact origin, cookies, chosen proxy/Cloudflare mode and HTTPS. Do not enable blanket proxy trust, remove Access or expose local-only mode as a workaround.
Security changes can revoke all sessions. See owner and MFA setup for the correct recovery distinction. Never share passwords, setup QR images or recovery codes in support output.
Respond to a 429 without making it worse
Follow Retry-After. Den reports error.code=rate_limited and an x-den-rate-limit-scope of dashboard, route or default. Keep these non-secret headers and the route/method when diagnosing; do not capture cookies or authorization headers.
In the reviewed 02a3017 source, valid sessions share a 1,200/minute GET/HEAD API budget per provider/account across tabs. Anonymous/default traffic keeps the 120/minute IP budget; explicit endpoint limits remain separate. Authentication/bootstrap and execution-review reads have separate budgets. Owner password/MFA verification also has its own persistent attempt budget.
A dashboard cooldown pauses ordinary reads but keeps the relevant login/session, execution-review and write paths available. Route cooldown affects the failed method/path. Failed reads remain errors; they do not become fresh successful evidence. Mutations are not automatically retried.
- Close unnecessary duplicate tabs and wait for the reported interval. Do not repeatedly refresh or change query strings to evade a limit.
- Distinguish a manager 429 from GitHub/Cloudflare or another upstream limit using response scope and sanitized logs.
- Let normal polling resume on its next interval, or make one deliberate read when appropriate.
- Do not weaken proxy trust or authentication to change the bucket.
Repository scan or setup fails
Repository access: verify the exact GitHub repository, existing branch and access mode. A public browser page does not prove agent access. For private SSH, confirm the displayed public deploy key was added to that exact repository without write permission; never disable SSH host verification.
No suitable Compose file: review repository-relative candidates and the intended production file. Den scans source without starting containers. Registration preview and deployment preflight are separate checks.
Missing values: inspect required fields, template suggestions, service env-file consumers, declared ownership and Shared value namespace. Staging does not fall back to production. Importing an environment file only fills matching editable fields; Save is still required.
Hard policy finding: repair the Compose/manifest contract. Privileged resources and unsafe mounts cannot be bypassed by the one-attempt soft-readiness override. A guarded storage conversion creates empty storage, not a data copy.
Run Check deployment after corrections and verify revision/time. Deploy latest performs its own fresh preflight; a failed check queues nothing. See Connect and configure for the full sequence.
Build, launch or health checks fail
- Prepare/build
- Read the failed source/validation/pull/build phase. Check repository/image access and bounded output. A build failure before launch does not by itself change the old deployment.
- Launch/readiness
- Check actual container state, exit codes, Compose health and agent-reachable HTTP URL. Den attempts failed-project cleanup, but cleanup can fail. Verify rather than assume stopped state.
- Rollback
- Inspect the resulting revision and explicit recovery result. A restored earlier revision is not a successful candidate release. Failed rollback needs state review; it cannot reverse data migrations.
For HTTP readiness, distinguish the browser's Public URL from the agent's network view. On Docker Desktop, a host endpoint commonly needs host.docker.internal. Check actual path, port, dependency startup and timeout. A larger timeout does not repair a wrong endpoint.
For port collisions, refresh both affected apps' checks and inspect host ownership. Cached preflight warnings are useful but not a full host inventory. Do not stop an unrelated container or reassign a production port without reviewing its owner.
If imported settings/data show deployment required, first build with Deploy latest version. Start/Restart/Rollback cannot conjure missing host-local images. Verify source compatibility before rebuilding.
Separate failed observation from uncertain execution
Execution succeeded; inspection needs review: retain the success. Use Check inspection status to resume cached observation, then obtain current service/setup evidence. A failed, unavailable or superseded follow-up does not resubmit the operation.
Execution succeeded; verification unavailable: the saved execution outcome exists, but readiness was not established by verification. Inspect current services and the application before relying on it. Do not silently label it healthy.
Interrupted or needs attention: effects may already have happened. Open the existing operation and, as independent owner, System health → Execution review. Review containers, builds, imports, restore receipts and any affected cloud resources through independent access.
- Reconcile effects and verify that no external work is still running. An elapsed timeout or missing response is not this proof.
- Record concise non-secret Evidence reviewed for the exact hold/operation and confirm the stated no-external-work condition only when true.
- Choose Record review and release hold only if eligible. Running work, changed evidence or unavailable review remains blocking.
- Read the resulting record. Release never resumes a partial recovery, repeats a cloud write or compensates a change. Any next action is separate.
Do not delete journals, clear locks, change resource labels or invent an operation ID to bypass the hold.
A stopped app starts again, or changes do not appear
Stop does not disable automatic deployment. Inspect matching-push settings, pending webhook intent and active operations. A GitHub HTTP202 can mean ignored/duplicate traffic: inspect accepted, reason and intent ID before assuming a deployment was queued.
Saving variables, Shared values, integration bindings or endpoints does not apply them to existing containers. Check which consumers need deployment, then deploy deliberately and verify behavior. A new public URL is not a DNS/tunnel update.
Runtime-profile activation restores captured automatic-deployment flags. Disabling automation in the current app before activation does not change the snapshot; retained intent can dispatch once the saved flags return. Review the target profile's automation as part of maintenance planning.
When profile activation is blocked, check whole-fleet membership, stopped state, queued/running/uncertain work, unique ports/URLs, shared references and routing reviews. Unpublish/reconcile before stopping and releasing Cloudflare bindings. Cloning a profile does not publish routes or copy Cloudflare installation credentials.
Recovery or publishing evidence is incomplete
Local backup ready, remote failed: preserve the local artifact. Check destination/key/permission/storage evidence. A future schedule creates a new backup rather than recopying old artifacts. Use the exact supported recopy procedure.
Restore blocked: verify stopped writers, exact target contract, catalog entry, captured verifier and current policy. Do not rename target IDs or upload a raw dump to bypass a policy guard. A recovered off-host artifact is not automatically a managed catalog entry.
Complete set imported: artifacts/catalogs are not live data. Run a new local isolated drill and separately review whole-set restore. A saved job should be continued under its original identity, not restarted as an unrelated recovery.
Cloudflare appears connected but traffic fails: separate cached inventory, connector readiness, exact rule/DNS, applied version on every replica, trusted TLS, Access challenge and intended backend bytes. Refresh the relevant evidence and use the reviewed external check.
Partial cloud effect: inspect receipts and current state, reconcile the execution hold, then use an eligible fresh narrow recovery plan. Do not restore a whole-tunnel snapshot, delete external CNAME/mail records or retry an uncertain write.
Diagnose a held Den update
First distinguish Update setup required, unavailable status, an unconfirmed saved approval, and an actual needs_attention job. Source packaging or a published release does not enable the independent updater. Preserve the exact job, installation, phase, claim and last observation.
A saved approval/cancellation with no reply uses the offered Resend saved action and exact retained request. That is not a new approval for a different release. Observer-only and local-grant progress status are read-only. A separately configured Access-owner gateway/controller may provide the explicit eligible browser recovery flow; the status grant itself cannot authorize it.
Narrow pre-replacement recovery
The documented offline abort is eligible only when staging, maintenance, drain and manager stop completed, stop_agent is claimed without a receipt, and every later step is unclaimed. It occurs before checkpoint capture: do not require a checkpoint that this job has not made.
The same original agent remains running and healthy. The same original manager and executor must be physically stopped for at least 31 seconds, with exact identities, images, stopped epochs, mounts, networks and current journal evidence verified. A separately prepared split recovery core/manager bridge preserves their service identities and ownership. The owner supplies fresh password/MFA through the approved protected prompt, never chat, flags or environment variables.
This procedure performs no replacement, migration, checkpoint capture or update retry. It releases the exact agent then manager maintenance fences under retained evidence and cancels the eligible job. It is not general rollback or automatic restart authorization. If your installed version and protected bootstrap do not provide that exact path, preserve state and use the qualified host-operator procedure.
Replacement may have started
Once a replacement intent exists, migration may have begun. An old image alone is not safe recovery. Use the matched protected checkpoint, actual schema/journal compatibility and independent host recovery plan. Never use a new source installation, volume deletion or a downgraded binary as a shortcut around a held job.
Prepare a useful support report
Include facts, not secrets
- Installed manager/agent/helper identity and approved source/release version, with any mismatch noted.
- App/environment, intended task, exact operation/job/hold ID and timestamps.
- Requested/resulting revision, failed phase, final state and bounded sanitized error code/output.
- Current services/health and their observation time, plus whether inspection or execution is uncertain.
- For limits: method/path, Retry-After and rate-limit scope. For routing: reviewed hostname, rule/DNS ownership and replica evidence without credentials.
- What changed, which actions were already attempted, and which checkpoints/safety artifacts were preserved.
Exclude passwords, MFA/recovery codes, tokens, cookies, private keys, connection strings, raw environment files, full sensitive application logs and backup contents. Redaction by Den does not guarantee that an application never logged a secret.
Do not call a task fixed until the relevant operation and current behavior have been verified. If evidence remains unavailable, say exactly what is unknown and keep the safe hold.