aws / aws/amazon-q-developer-cli

Amazon Q settings file is corrupted

Open
#3,523 0 comments 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

Linux 5.14.0-503.40.1.el9_5.x86_64 - Red Hat Enterprise Linux 9.5 (Plow)

### Expected behaviour

I am issuing a command "$ q doctor"

### Actual behaviour

$ q doctor

✘ Amazon Q settings corruption: Amazon Q settings file is corrupted
Attempting to fix automatically...
Re-running check...

✘ Amazon Q settings corruption: Amazon Q settings file is corrupted

✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with q issue to let us know!

**********************************
and when I am giving command "q restart" below messages are coming

$ q restart
error: Please restart Amazon Q from your host machine

but I am trying from my host machine itself

### Steps to reproduce

just give command "q doctor"

### Environment

```yaml

[q-details]
version = "1.18.1"
hash = "a46a9baa79edc62d59b078f95d46760d0c68d6c4"
date = "2025-10-13T23:04:29.087899Z (52d ago)"
variant = "minimal"

[system-info]
chip = "Intel(R) Xeon(R) Gold 6342 CPU @ 2.80GHz"
total-cores = 6
memory = "7.50 GB"

[system-info.os.linux]
kernel_version = "5.14.0-503.40.1.el9_5.x86_64"
id = "rhel"
name = "Red Hat Enterprise Linux"
pretty_name = "Red Hat Enterprise Linux 9.5 (Plow)"
version_id = "9.5"
version = "9.5 (Plow)"

[environment]
cwd = "/home/an136140/.local/share/amazon-q"
cli-path = "/home/an136140/.local/share/amazon-q"
os = "Linux"
shell-path = "/usr/bin/ksh93"
install-method = "unknown"
in-ssh = true

[env-vars]
PATH = "/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/an136140/Q/q/bin:/home/an136140/.local/bin"
SHELL = "/bin/ksh"
TERM = "xterm"
XDG_SESSION_TYPE = "tty"
```

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.