# Troubleshooting CLI issues

### Troubleshooting

1. Q: CLI fails to execute A: Ensure to run “pre.sh” after CLI is extracted and rerun the command
2. Q: /tmp or /home does not have sufficient free space to run the CLI A: Before executing the CLI in a bash shell, export the environment variables “TMPDIR” and “HOME” to point to partitions where enough free space is available. The regular user that is running the CLI should have access to write to these directories.
3. Q: CLI crashes while running A: Collect the core if possible, or share a screenshot or output of the stack trace along with data specified in the section - “Data required for troubleshooting”
4. Q: SBOM data generated by the CLI is not available in SBOM360 portal A: Ensure to register the CLI using the device registration code before generating the SBOM. Verify the project input data given in “input.json” and that is a valid JSON.
5. Q: SBOM data generated by the CLI is not correct in SBOM360 portal A: Verify the project input data given in “input.json” and that is a valid JSON. Share the data specified in the section – “Data required for troubleshooting”&#x20;

### Data required for troubleshooting&#x20;

Assuming the CLI was executed inside the folder “/home/ubuntu/veecli”,

1. “/home/ubuntu/veecli/veelocal.log” – Log file created in the current folder where CLI was executed
2. “/home/ubuntu/veecli/output//*-SPDXRef-DOCUMENT-vdna\_*.tar.gz – Output of the analysis
3. “/home/ubuntu/veecli/output//collectionsummary.json – Summary of the analysis
4. “/home/ubuntu/veecli/input.json” – Input JSON used for SBOM creation
5. Output file where the CLI execution stdout and stderr was redirected to.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.veedna.com/sca360-secure-deployment-for-restricted-environments/troubleshooting-cli-issues.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
