shannon icon indicating copy to clipboard operation
shannon copied to clipboard

Can't run it

Open atcasanova opened this issue 11 months ago β€’ 5 comments

βœ… 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'"}

atcasanova avatar Dec 18 '25 12:12 atcasanova

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"
'

keygraphVarun avatar Dec 18 '25 21:12 keygraphVarun

cc: @Khaushik-keygraph

keygraphVarun avatar Dec 18 '25 21:12 keygraphVarun

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

atcasanova avatar Dec 20 '25 13:12 atcasanova

damn i misclicked hahaha

atcasanova avatar Dec 21 '25 20:12 atcasanova

Fixed in PR #35 !

Khaushik-keygraph avatar Dec 22 '25 18:12 Khaushik-keygraph