> ## Documentation Index
> Fetch the complete documentation index at: https://home-app.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> Common issues and how to diagnose them.

## Home can't see Docker

Symptom: onboarding reports no Docker, groups show nothing.

* The socket must be mounted: `-v /var/run/docker.sock:/var/run/docker.sock`
* Inside the container, `docker ps` must work — the image ships the CLI:
  `docker exec home-app docker ps`
* Rootless Docker? Point `DOCKER_SOCKET` at your user socket
  (`/run/user/<uid>/docker.sock`) and mount that path instead.

## Backups or the volume file browser fail with mount errors

Home is containerized and `HOME_HOST_DATA_DIR` is unset or wrong. It must
be the **host-side** path of the `/data` bind mount — with a named volume
that's `/var/lib/docker/volumes/<vol>/_data`; with a bind mount it's the
host directory literally. `HOME_BACKUP_VOLUME` must be `<that path>/backups`.

## A "Detected" project's tabs say it can't read the compose file

The compose file lives at a host path the container can't see. Mount the
parent directory at the **same absolute path** — see
[self-hosting](https://home-app.mintlify.site/self-hosting.md#mounting-existing-stacks).

## Passkey button doesn't appear

WebAuthn needs a secure context: `localhost` or HTTPS. Over
`http://<lan-ip>` the button hides by design — password sign-in still
works. Put Home behind TLS or Tailscale serve to enable passkeys.

## Domain stuck "pending"

A port domain resolves when its publish redeploy finishes. If it stays
pending, the deployment is still queued or failed — check the Deployments
tab. A finished deploy flips it to `active` (binding verified) or `error`
with the reason. The manual **Check** button on the domain card re-verifies
any time.

## "Port X is already published on host port Y"

One container port → one host binding. The erroring domain competes for an
existing binding: remove the other domain, reuse its host port, or reach
the same service via Tailscale/Cloudflare which share the binding.

## Locked out of sign-in

Login rate limiting shows a countdown — wait it out. Forgotten password:
use the CLI on the host — it works on the data dir directly, no running app
needed:

```bash theme={null}
home reset-password            # prompts for a new password
home reset-password --password <pw>
home passkeys clear            # wipe passkeys (if that's what's lost)
home reset                     # factory reset: delete home.db, re-onboard
```

The installer puts `home` in `/usr/local/bin` (or `~/.local/bin`); it's a
wrapper around `docker exec home node /app/cli/home.mjs`. Anyone who can
read `HOME_DATA_DIR` already owns the instance — the CLI is just the
official door.

## Debugging

* Container logs: `docker logs home-app`
* Deployment logs: `data/deployments/<id>.log` and the Deployments tab
* Health probe: `GET /api/health` → `{ ok, version, demo }`
* Database: `data/home.db` is plain SQLite — inspect with any SQLite tool


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.