aws / aws/amazon-q-developer-cli

failed to open database: database disk image is malformed when launching kiro-cli

Open
#3,621 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 26.2.0 (25C56)

### Expected behaviour

When a patch or unexpected reboot hits, that the kiro-cli agent be able to not corrupt when this event occurs.

### Actual behaviour

A black screen presented itself randomly and I then experienced a patch to my laptop OS back to back. This forced a restart on my kiro-cli sessions and the error mentioned int he title resulted.

The update/doctor features do not seemingly correct this state, and I cannot seemingly return functionality of the agent.

### Steps to reproduce

1. Cause a system hang/freeze and reboot
2. Begin OS update upon initial reboot.
3. launch the terminal and try to acccess kiro-cli

### Environment

```yaml

[q-details]
version = "1.24.0"
hash = "0728b2464fed0b53e63abbb9ce12fa38a0542d69"
date = "2026-01-15T23:42:41.840104Z (11d ago)"
variant = "full"

[system-info]
os = "macOS 26.2.0 (25C56)"
chip = "Apple M4"
total-cores = 10
memory = "16.00 GB"

[environment]
cwd = "/Users/USER/Downloads/CODE"
cli-path = "/Users/USER/Downloads/CODE"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.toolbox/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/opt/homebrew/bin:/Users/USER/.local/bin#:/Users/USER/.local/bin"
QTERM_SESSION_ID = "67971645c14341029aa2af8de5c8d7c3"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.24.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.