> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/troubleshooting.md).

# Troubleshooting

Common troubleshooting and log inspection

<figure><img src="https://762006384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJXOXEifAmpyvNVL1to%2Fuploads%2FO3y3AQsKObX99uMj56vC%2FKeeper%20-%20SMK%20Troubleshooting.jpg?alt=media&amp;token=31e75d7c-34ec-43c4-81aa-fe73fbaef490" alt=""><figcaption></figcaption></figure>

If something isn't behaving as expected, start with the deployment's own health checks:

```bash
./smk status
./smk doctor
```

`status` reports what's running. `doctor` checks whether the parts of the deployment actually agree with each other: certificate names, DNS, licensing, and (when the PAM routing tier is enabled) KRouter connectivity and the KRelay DNS record. A green status does not mean the deployment works; `doctor` catches the failures that look fine on the surface and break somewhere else, like a certificate name mismatch that leaves the vault working while every PAM connection fails silently. `doctor` does not test KRelay's TURN ports; test PAM session connectivity with a real PAM connection.

### Common symptoms

| Symptom                             | Safe next action                                                                                                                                                            |
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| License rejected                    | Confirm the license you were issued matches this deployment's verifier and validity period. Do not alter keys or bypass validation.                                         |
| Address, port, or instance conflict | Check the selected name, root, and bind addresses. Do not delete another installation's resources.                                                                          |
| Startup or account setup fails      | Preserve the error and inspect `./smk status` and `./smk doctor`. Check host capacity and the selected services before retrying.                                            |
| No device-approval email arrives    | Check SMTP connectivity, sender permissions, and delivery. In a demo environment, check the local mail catcher rather than an external mailbox.                             |
| Browser certificate warning         | Check the exact hostname, certificate chain, and expiration date, and that the browser's trust store has the right certificate authority. Do not click through the warning. |

### Checking the logs

If the health checks above don't explain what's happening, the next step is the container logs themselves. Self-Managed Keeper runs as a set of Docker containers. Reading logs does not change the deployment, so the standard Docker Compose commands are safe to use here. Run them from the `install/` directory inside the extracted bundle:

```bash
cd install
docker compose logs <service>
docker compose logs -f <service>
```

These commands apply to the default instance. For a named instance, or to see every service, run `./smk status` from the extracted bundle directory.

### Contacting Keeper Support

Before you open a support case, create a sanitized support archive and attach it to the case:

```bash
./smk support collect --output <path>
```

Use `./smk help` to see the full list of commands available on your installed bundle, including the backup, restore, and upgrade wizards.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/self-managed-keeper/self-managed-keeper-overview/troubleshooting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
