> ## Documentation Index
> Fetch the complete documentation index at: https://beads.gascity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recovery Overview

> Diagnose and resolve common Beads issues

This section provides step-by-step recovery procedures for common Beads issues. Each runbook follows a consistent format: Symptoms, Diagnosis, Solution (5 steps max), and Prevention.

## Common Issues

| Issue | Symptoms | Runbook |
| - | - | - |
| Schema Version Mismatch | `bd` refuses with `schema version mismatch: database is at vNN, binary knows up to vNN` | [Accidental v1.2.1 Release](https://beads.gascity.com/recovery/accidental-1-2-1-release.md) |
| Going Back from v65 | A database bd 1.2.x migrated to v65 has to work with bd 1.1.2 again, rebuilt from a full export | [Un-migrate from Schema v65](https://beads.gascity.com/recovery/unmigrate-schema-v65.md) |
| Init Safety Refusals | `bd init` or `bd dolt` refuses with a pattern code like `pk-fork-refused` | [Recovery Playbooks](https://beads.gascity.com/recovery/init-safety.md) |
| Database Corruption | `database is locked` after an interrupted command, or a database that will not open (`corrupted journal`) | [Database Corruption](https://beads.gascity.com/recovery/database-corruption.md) |
| Merge Conflicts | Dolt conflicts during sync | [Merge Conflicts](https://beads.gascity.com/recovery/merge-conflicts.md) |
| Circular Dependencies | Cycle detection errors | [Circular Dependencies](https://beads.gascity.com/recovery/circular-dependencies.md) |
| Sync Failures | `bd dolt push`/`bd dolt pull` errors | [Sync Failures](https://beads.gascity.com/recovery/sync-failures.md) |
| History Bloat | Store grows unbounded; `dolt gc` reclaims nothing | [History Bloat](https://beads.gascity.com/recovery/history-squash.md) |
| Removing beads | Uninstall bd or strip beads from a repo | [Uninstalling](https://beads.gascity.com/recovery/uninstalling.md) |

## Quick Diagnostic

Before diving into specific runbooks, try these quick checks:

```bash theme={null}
# Check Beads status
bd status

# Verify Dolt server is running
bd doctor

# Check for blocked issues
bd blocked
```

> [!TIP]
>
> Most issues can be diagnosed with `bd status`. Start there before following specific runbooks.

## Getting Help

If these runbooks don't resolve your issue:

1. Check the [FAQ](https://beads.gascity.com/reference/faq.md)
2. Search [existing issues](https://github.com/gastownhall/beads/issues)
3. Open a new issue with diagnostic output


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