[GH-ISSUE #32] Can't run it #9

Closed
opened 2026-02-27 07:19:57 +03:00 by kerem · 5 comments
Owner

Originally created by @atcasanova on GitHub (Dec 18, 2025).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/32

Configuration loaded successfully
🔧 Checking tool availability...
nmap - available
subfinder - available
whatweb - available
schemathesis - available
📁 Setting up local repository...
Initial checkpoint created
Local repository setup successfully
Main execution failed:
Failed to save session store: EACCES: permission denied, open '/app/.shannon-store.json.tmp'
Context: {"storeFile":"/app/.shannon-store.json","originalError":"EACCES: permission denied, open '/app/.shannon-store.json.tmp'"}

Originally created by @atcasanova on GitHub (Dec 18, 2025). Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/32 ✅ Configuration loaded successfully 🔧 Checking tool availability... ✅ nmap - available ✅ subfinder - available ✅ whatweb - available ✅ schemathesis - available 📁 Setting up local repository... ✅ Initial checkpoint created ✅ Local repository setup successfully ❌ Main execution failed: Failed to save session store: EACCES: permission denied, open '/app/.shannon-store.json.tmp' Context: {"storeFile":"/app/.shannon-store.json","originalError":"EACCES: permission denied, open '/app/.shannon-store.json.tmp'"}
kerem closed this issue 2026-02-27 07:19:58 +03:00
Author
Owner

@keygraphVarun commented on GitHub (Dec 18, 2025):

Thanks for reaching out.
Could you share (assuming you’re following the Quick Start with Docker on our main README.MD exactly as written) the following outputs - it would help us debug this:

  1. Confirm you’re using the Quick Start command
  • Paste the exact docker run ... command you used (copy/paste), including whether you used [Please remember to redact any sensitive info!]:
    • --network host vs --add-host=host.docker.internal:host-gateway
  • Confirm the two positional args you passed are exactly:
    • target URL (e.g. https://your-app.com/ or http://host.docker.internal:3000)
    • repo path (e.g. "/app/repos/your-app")
  1. Versions
  • Host OS + version: uname -a
  • Docker: docker version
  • Docker Compose (if used): docker compose version
  • Shannon image build info: confirm you ran docker build -t shannon:latest . and paste any relevant build output/warnings
  1. Volume mounts + host paths
  • On the host, from the directory where you run docker run, paste:
    • pwd
    • ls -la
    • ls -la repos configs
  • Confirm these mounts exist and are correct:
    • -v "$(pwd)/repos:/app/repos"
    • -v "$(pwd)/configs:/app/configs"
  1. Permissions inside the container (this is the key for the /app write error)
    Please run this minimal debug command and paste the full output:
docker run --rm -it shannon:latest sh -lc '
  id
  pwd
  ls -ld /app /app/repos /app/configs || true
  mount | grep " /app\| ro," || true
  touch /app/write-test && echo "✅ can write to /app" || echo "❌ cannot write to /app"
  touch /app/repos/write-test && echo "✅ can write to /app/repos" || echo "❌ cannot write to /app/repos"
'
<!-- gh-comment-id:3672408566 --> @keygraphVarun commented on GitHub (Dec 18, 2025): Thanks for reaching out. Could you share (assuming you’re following the **Quick Start with Docker** on our main README.MD exactly as written) the following outputs - it would help us debug this: 1) **Confirm you’re using the Quick Start command** - Paste the exact `docker run ...` command you used (copy/paste), including whether you used [Please remember to redact any sensitive info!]: - `--network host` vs `--add-host=host.docker.internal:host-gateway` - Confirm the two positional args you passed are exactly: - target URL (e.g. `https://your-app.com/` or `http://host.docker.internal:3000`) - repo path (e.g. `"/app/repos/your-app"`) 2) **Versions** - Host OS + version: `uname -a` - Docker: `docker version` - Docker Compose (if used): `docker compose version` - Shannon image build info: confirm you ran `docker build -t shannon:latest .` and paste any relevant build output/warnings 3) **Volume mounts + host paths** - On the host, from the directory where you run `docker run`, paste: - `pwd` - `ls -la` - `ls -la repos configs` - Confirm these mounts exist and are correct: - `-v "$(pwd)/repos:/app/repos"` - `-v "$(pwd)/configs:/app/configs"` 4) **Permissions inside the container (this is the key for the /app write error)** Please run this minimal debug command and paste the full output: ```bash docker run --rm -it shannon:latest sh -lc ' id pwd ls -ld /app /app/repos /app/configs || true mount | grep " /app\| ro," || true touch /app/write-test && echo "✅ can write to /app" || echo "❌ cannot write to /app" touch /app/repos/write-test && echo "✅ can write to /app/repos" || echo "❌ cannot write to /app/repos" '
Author
Owner

@keygraphVarun commented on GitHub (Dec 18, 2025):

cc: @Khaushik-keygraph

<!-- gh-comment-id:3672409382 --> @keygraphVarun commented on GitHub (Dec 18, 2025): cc: @Khaushik-keygraph
Author
Owner

@atcasanova commented on GitHub (Dec 20, 2025):

the command i used:

docker run --rm -it \
      --network host \
      --cap-add=NET_RAW \
      --cap-add=NET_ADMIN \
      -e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" \
      -e CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000 \
      -v "$(pwd)/repos:/app/repos" \
      -v "$(pwd)/configs:/app/configs" \
      shannon:latest       "https://URL" \
      "/app/repos/URL" \
      --config /app/configs/example-config.yaml
$ pwd
ls -la
ls -la repos configs
/home/atcasanova/shannon
total 236
drwxr-xr-x  14 atcasanova atcasanova  4096 Dec 18 09:09 .
drwxr-xr-x 120 atcasanova atcasanova 24576 Dec 19 18:34 ..
drwxr-xr-x   2 atcasanova atcasanova  4096 Dec 18 09:09 assets
-rw-r--r--   1 atcasanova atcasanova 14188 Dec 18 09:09 CLAUDE.md
drwxr-xr-x   2 atcasanova atcasanova  4096 Dec 18 09:09 configs
-rw-r--r--   1 atcasanova atcasanova  8755 Dec 18 09:09 COVERAGE.md
drwxr-xr-x   2 atcasanova atcasanova  4096 Dec 18 09:09 deliverables
-rw-r--r--   1 atcasanova atcasanova  3738 Dec 18 09:09 Dockerfile
-rw-r--r--   1 atcasanova atcasanova   666 Dec 18 09:09 .dockerignore
drwxr-xr-x   8 atcasanova atcasanova  4096 Dec 18 09:09 .git
-rw-r--r--   1 atcasanova atcasanova    58 Dec 18 09:09 .gitignore
-rw-r--r--   1 atcasanova atcasanova 34523 Dec 18 09:09 LICENSE
drwxr-xr-x   3 atcasanova atcasanova  4096 Dec 18 09:09 mcp-server
-rw-r--r--   1 atcasanova atcasanova   505 Dec 18 09:09 package.json
-rw-r--r--   1 atcasanova atcasanova 23223 Dec 18 09:09 package-lock.json
drwxr-xr-x   4 atcasanova atcasanova  4096 Dec 18 09:09 prompts
-rw-r--r--   1 atcasanova atcasanova 24703 Dec 18 09:09 README.md
drwxr-xr-x   3 atcasanova atcasanova  4096 Dec 18 09:28 repos
drwxr-xr-x   2 atcasanova atcasanova  4096 Dec 18 09:09 sample-reports
drwxr-xr-x   2 atcasanova atcasanova  4096 Dec 18 09:09 scripts
drwxr-xr-x   2 atcasanova atcasanova  4096 Dec 18 09:09 sessions
-rwxr-xr-x   1 atcasanova atcasanova 19236 Dec 18 09:09 shannon.mjs
-rw-r--r--   1 atcasanova atcasanova  2366 Dec 18 09:09 SHANNON-PRO.md
drwxr-xr-x   9 atcasanova atcasanova  4096 Dec 18 09:09 src
drwxr-xr-x 106 atcasanova atcasanova  4096 Dec 18 09:09 xben-benchmark-results
configs:
total 20
drwxr-xr-x  2 atcasanova atcasanova 4096 Dec 18 09:09 .
drwxr-xr-x 14 atcasanova atcasanova 4096 Dec 18 09:09 ..
-rw-r--r--  1 atcasanova atcasanova 4586 Dec 18 09:09 config-schema.json
-rw-r--r--  1 atcasanova atcasanova 1298 Dec 18 09:09 example-config.yaml

repos:
total 12
drwxr-xr-x  3 atcasanova atcasanova 4096 Dec 18 09:28 .
drwxr-xr-x 14 atcasanova atcasanova 4096 Dec 18 09:09 ..
-rw-r--r--  1 atcasanova atcasanova    0 Dec 18 09:09 .gitkeep
drwxr-xr-x  3 atcasanova atcasanova 4096 Dec 18 09:28 URL
docker run --rm -it shannon:latest sh -lc '
  id
  pwd
  ls -ld /app /app/repos /app/configs || true
  mount | grep " /app\| ro," || true
  touch /app/write-test && echo "✅ can write to /app" || echo "❌ cannot write to /app"
  touch /app/repos/write-test && echo "✅ can write to /app/repos" || echo "❌ cannot write to /app/repos"
'
❌ Invalid web URL: Invalid web URL format
Expected format: https://example.com
<!-- gh-comment-id:3677838369 --> @atcasanova commented on GitHub (Dec 20, 2025): the command i used: ```bash docker run --rm -it \ --network host \ --cap-add=NET_RAW \ --cap-add=NET_ADMIN \ -e ANTHROPIC_API_KEY="$ANTHROPIC_API_KEY" \ -e CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000 \ -v "$(pwd)/repos:/app/repos" \ -v "$(pwd)/configs:/app/configs" \ shannon:latest "https://URL" \ "/app/repos/URL" \ --config /app/configs/example-config.yaml ``` ```bash $ pwd ls -la ls -la repos configs /home/atcasanova/shannon total 236 drwxr-xr-x 14 atcasanova atcasanova 4096 Dec 18 09:09 . drwxr-xr-x 120 atcasanova atcasanova 24576 Dec 19 18:34 .. drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 assets -rw-r--r-- 1 atcasanova atcasanova 14188 Dec 18 09:09 CLAUDE.md drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 configs -rw-r--r-- 1 atcasanova atcasanova 8755 Dec 18 09:09 COVERAGE.md drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 deliverables -rw-r--r-- 1 atcasanova atcasanova 3738 Dec 18 09:09 Dockerfile -rw-r--r-- 1 atcasanova atcasanova 666 Dec 18 09:09 .dockerignore drwxr-xr-x 8 atcasanova atcasanova 4096 Dec 18 09:09 .git -rw-r--r-- 1 atcasanova atcasanova 58 Dec 18 09:09 .gitignore -rw-r--r-- 1 atcasanova atcasanova 34523 Dec 18 09:09 LICENSE drwxr-xr-x 3 atcasanova atcasanova 4096 Dec 18 09:09 mcp-server -rw-r--r-- 1 atcasanova atcasanova 505 Dec 18 09:09 package.json -rw-r--r-- 1 atcasanova atcasanova 23223 Dec 18 09:09 package-lock.json drwxr-xr-x 4 atcasanova atcasanova 4096 Dec 18 09:09 prompts -rw-r--r-- 1 atcasanova atcasanova 24703 Dec 18 09:09 README.md drwxr-xr-x 3 atcasanova atcasanova 4096 Dec 18 09:28 repos drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 sample-reports drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 scripts drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 sessions -rwxr-xr-x 1 atcasanova atcasanova 19236 Dec 18 09:09 shannon.mjs -rw-r--r-- 1 atcasanova atcasanova 2366 Dec 18 09:09 SHANNON-PRO.md drwxr-xr-x 9 atcasanova atcasanova 4096 Dec 18 09:09 src drwxr-xr-x 106 atcasanova atcasanova 4096 Dec 18 09:09 xben-benchmark-results configs: total 20 drwxr-xr-x 2 atcasanova atcasanova 4096 Dec 18 09:09 . drwxr-xr-x 14 atcasanova atcasanova 4096 Dec 18 09:09 .. -rw-r--r-- 1 atcasanova atcasanova 4586 Dec 18 09:09 config-schema.json -rw-r--r-- 1 atcasanova atcasanova 1298 Dec 18 09:09 example-config.yaml repos: total 12 drwxr-xr-x 3 atcasanova atcasanova 4096 Dec 18 09:28 . drwxr-xr-x 14 atcasanova atcasanova 4096 Dec 18 09:09 .. -rw-r--r-- 1 atcasanova atcasanova 0 Dec 18 09:09 .gitkeep drwxr-xr-x 3 atcasanova atcasanova 4096 Dec 18 09:28 URL ``` ```bash docker run --rm -it shannon:latest sh -lc ' id pwd ls -ld /app /app/repos /app/configs || true mount | grep " /app\| ro," || true touch /app/write-test && echo "✅ can write to /app" || echo "❌ cannot write to /app" touch /app/repos/write-test && echo "✅ can write to /app/repos" || echo "❌ cannot write to /app/repos" ' ❌ Invalid web URL: Invalid web URL format Expected format: https://example.com ```
Author
Owner

@atcasanova commented on GitHub (Dec 21, 2025):

damn i misclicked hahaha

<!-- gh-comment-id:3679459146 --> @atcasanova commented on GitHub (Dec 21, 2025): damn i misclicked hahaha
Author
Owner

@Khaushik-keygraph commented on GitHub (Dec 22, 2025):

Fixed in PR #35 !

<!-- gh-comment-id:3683632927 --> @Khaushik-keygraph commented on GitHub (Dec 22, 2025): Fixed in PR #35 !
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#9
No description provided.