HolyClaude icon indicating copy to clipboard operation
HolyClaude copied to clipboard

Claude CLI Login Settings error

Open kewogc opened this issue 8 months ago • 1 comments

Image Variant

Full (latest / dev)

Image Tag / Version

latest

Host OS

Linux

What happened?

settings error on first Claude CLI Login

What did you expect?

try login Claude

Steps to reproduce

  1. docker compose up
  2. create user
  3. select Claude Login

Docker Compose / Run command


Logs / Error output

Starting terminal in: /workspace

──────────────────────────────────────────────────────────────────────────────────────────────────────────────
  Settings Error                                         

  /home/claude/.claude/settings.json                                                               
   └ permissions     
     └ defaultMode: Invalid value. Expected one of: "acceptEdits", "bypassPermissions", "default",         
   "dontAsk", "plan", "auto"                                                                          

  Valid modes: "acceptEdits" (ask before file changes), "plan" (analysis only), "bypassPermissions"       
  (auto-accept all), or "default" (standard behavior)
  Learn more: https://code.claude.com/docs/en/iam#permission-modes

                                
  Files with errors are skipped entirely, not just the invalid settings.

  ❯ 1. Exit and fix manually      
    2. Continue without these settings

kewogc avatar Mar 28 '26 03:03 kewogc

Fixed in v1.1.3.

The default permission mode in settings.json was set to allowEdits which is not a valid Claude Code mode. Corrected to acceptEdits. Pull the latest image and the error goes away.

If you already have a container running, delete the bootstrap sentinel to re-trigger the config copy:

rm ./data/claude/.holyclaude-bootstrapped
docker compose restart holyclaude

CoderLuii avatar Mar 28 '26 03:03 CoderLuii