# Get help

Contact MiLaboratories support and send what support needs to find the problem.

When a problem stays after the troubleshooting pages, write to MiLaboratories support at <support@milaboratories.com>. Support answers faster when the first message already holds the versions, the time of the problem and the logs. For questions that other users of Platforma can also answer, there is the community forum at [community.platforma.bio](https://community.platforma.bio).

## What to send

1. **The versions.** In the Desktop App (The program that each user installs on their own computer to work with Platforma. It is a client of the Backend.), click your login in the side bar: the last line of the menu shows `Server <version> · Desktop <version>`. Before the sign-in (To show the Backend who you are, with a sign-in provider or a single-user token. The verb is "sign in"; the noun and the adjective are "sign-in".), the connection page shows `Desktop Version: <version>`. To read the version of the Backend (The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs.) on the server:

   #### Variant: Kubernetes cluster

   ```sh
   kubectl --namespace <namespace> exec deployment/<release> -c platforma -- /app/platforma --version
   ```

   `<release>` is the name of the Helm release of the Backend: the Deployment has the same name.

   #### Variant: Single Server

   ```sh
   /opt/platforma/binaries/platforma --version
   ```

   Use the path where you put the Backend.

2. **The installation path (A set of tools and steps that installs Platforma. There are five installation paths: the AWS installer, the Google Cloud installer, the Terraform modules, the Helm chart and Single Server mode.)**: the cloud installer, the Terraform modules (The Terraform code that MiLaboratories provides to install Platforma. The cloud-specific Terraform modules make the cluster and its cloud parts in AWS or Google Cloud; the cloud-agnostic Terraform modules install Platforma into the cluster.), the Helm chart in an existing cluster, or Single Server mode (The mode in which the Backend and all its jobs run on one Linux machine, the server, with no Kubernetes cluster.). See [Choose an installation path](/plan-choose-installation-path/).

3. **The time of the problem**, with the time zone, and what the user did at that time.

4. **The logs of the Backend** for the time of the problem.

   #### Variant: Kubernetes cluster

   By default, the Backend writes its full log to the logs disk, in `/var/log/platforma` in the pod. Copy the folder to an archive on your computer:

   ```sh
   kubectl --namespace <namespace> exec deployment/<release> -c platforma -- tar -czf - -C /var/log platforma > platforma-backend-logs.tgz
   ```

   `kubectl logs` shows only the short start log (for example, the license check). When the logs disk is off, the full log goes to the output of the pod: then send the output of `kubectl --namespace <namespace> logs deployment/<release> -c platforma`.

   #### Variant: Single Server

   The Backend writes its full log to the folder `log` in its data folder, by default `/data/platforma/log/`. Copy the folder to an archive:

   ```sh
   sudo tar -czf platforma-backend-logs.tgz -C /data/platforma log
   ```

   Errors before the Backend opens its log, for example a wrong option, are in the journal of the service: `journalctl -u platforma --since "1 hour ago"`.

5. **The report of the Desktop App.** In the menu **Platforma**, click **Save report**. Describe the problem, keep **Include logs and crash diagnostics** on, add the screenshots, and click **Save report**. The Desktop App saves a `.zip` file on the computer and does not send it anywhere. The file holds the description, the versions of the Desktop App and of the operating system, the log of the Desktop App and the screenshots. The error dialogs and the sign-in form also have a **Save report** button.

   To open the log folder of the Desktop App, click **Platforma** > **Navigate to logs**. The log is the file `main.log`. The **Save report** page also shows the path of the folder.

6. **Screenshots of the error**, with the full message.

## What not to send

Do not send secret values or data of the company. Before you send a file, look into it, and replace each secret value with `***`:

- the license key;
- the master secret;
- passwords and client secrets: of users, of the LDAP (The directory of users of a company. The Backend can check logins and passwords in it.) search account, of the SSO (Sign-in through the identity service of the company, with the same account as for other company systems.) client, of the proxy;
- access keys and tokens of the cloud or the storage;
- data of the company: the files of the projects, results, and sample names that must stay in the company.

The log of the Desktop App does not hold the contents of the data. The logs can hold host names, logins and file names. When this is a problem, tell support before you send the logs.

> **Tip:**
>
> For connection and sign-in problems, see [Troubleshooting: connection](/maintain-troubleshooting-connection/) first; for jobs (One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster.), see [A job waits or hangs](/maintain-troubleshooting-jobs/).

## Next

- [Monitoring and alerting](/maintain-monitoring/)
- [Versions](/reference-versions/)

Source: https://docs.platforma.bio/maintain-get-help/
