shannon icon indicating copy to clipboard operation
shannon copied to clipboard

Failed to load configuration schema

Open lveitch opened this issue 8 months ago • 3 comments

Hey everyone...I am not totally sure if this is a permission issue within my repo or something else and I could use some guidance.

I have Shannon all setup and it started:

./shannon start URL=https://<url_to_site>/ REPO=<repo_name> WORKSPACE=<workspace_name> OUTPUT=./reports

But I am now getting this error after it reaching 'resolving provenance for metadata file' and I am not sure what the issue is because the file config-schema.json does not exist within my /repos/<repo_name>/app/configs directory nor do I have a directory called dist within app so I assume this is a Shannon thing and didnt know if I needed to run this in a different manner or what (I am logged in as admin and sudo to root perms when i did all the steps on my linux installation)

file:///app/dist/config-parser.js:27
    throw new PentestError(`Failed to load configuration schema: ${errMsg}`, 'config', false, { schemaPath: '../configs/config-schema.json', originalError: errMsg });
          ^

PentestError: Failed to load configuration schema: EACCES: permission denied, open '/app/configs/config-schema.json'
    at file:///app/dist/config-parser.js:27:11 {
  type: 'config',
  retryable: false,
  context: {
    schemaPath: '../configs/config-schema.json',
    originalError: "EACCES: permission denied, open '/app/configs/config-schema.json'"
  },
  timestamp: '2026-03-04T18:31:17.231Z',
  code: undefined
}

Node.js v22.22.0

lveitch avatar Mar 04 '26 18:03 lveitch

@lveitch

Thanks for reporting. Could you please create a new issue using https://github.com/KeygraphHQ/shannon/issues/new?template=bug_report.yml

So that we can reproduce the issue on our side. Thanks!

ezl-keygraph avatar Mar 04 '26 18:03 ezl-keygraph

created good sir!

lveitch avatar Mar 04 '26 19:03 lveitch

Closing this in favor of https://github.com/KeygraphHQ/shannon/issues/197

keygraphVarun avatar Mar 04 '26 19:03 keygraphVarun