> For the complete documentation index, see [llms.txt](https://docs.supervisely.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.supervisely.com/enterprise-edition/advanced-tuning/generating_ts_archive.md).

# Generating Troubleshoot Archive

Supervisely troubleshoot archive is an important platform service tool, useful for maintenancee and problem-solving.

## Generating a Troubleshoot Archive

There are 2 ways to generate the troubleshoot archive, from the interface and from the server terminal.

### Using the Supervisely Interface

To generate the troubleshoot archive from the platform interface, you need to be logged as the 'admin' user. Open the user menu and select 'Troubleshoot Archive'.

![generate tsa](https://user-images.githubusercontent.com/48245050/228557293-69f40688-8067-4c32-97c0-75573682dc99.png)

Once the archive is ready, it will be downloaded automatically. Please don't log out or close the window until the download has started.

### Using the Supervisely Server Terminal

To generate the archive by using the terminal run the following command:

`sudo supervisely troubleshoot`

The system will generate the archive in the current working directory.

## Troubleshoot Archive Contents

The archives are in .tar.gz format and they are named in a 'supervisely\_troubleshoot\_year\_mm\_dd\_h\_m\_s' scheme. Each archive contains the logs for all running components of the platform in .log format, as well as the information about the platform version, docker, server, etc. stored in .txt format. All of the files inside the archive (both .log and .txt) are in plain text, so that you can easily review them.

![tsa](https://user-images.githubusercontent.com/48245050/228561271-13ddfb37-8f59-44fa-8eb3-eaa6806ee2d2.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.supervisely.com/enterprise-edition/advanced-tuning/generating_ts_archive.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
