# Verify the installation

Check that the Backend runs and answers, then run a test project from the Desktop App.

Check the Backend (The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs.) in its environment, then run a test project with the demo data library (A folder or bucket with input data of the company. Users select files from it in the Desktop App. Platforma only reads it.) or with the data of the company: when the test project finishes green, the installation works.

## Check the Backend

Replace `platforma.example.com` with the host name of the installation.

#### Variant: Kubernetes cluster

The commands use the namespace and the release name `platforma`: all installation paths (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.) use them by default. When you set other names, change them in the commands.

1. **The Backend pod is ready.**

   ```sh
   kubectl -n platforma rollout status deployment/platforma --timeout=10m
   kubectl -n platforma get pods -l app.kubernetes.io/instance=platforma
   ```

   Result: `successfully rolled out`, and the pod is `Running`, with the same two numbers in `READY`.

2. **Kueue (A Kubernetes add-on that holds jobs in a queue until the cluster has free CPU, memory and GPU for them.) and AppWrapper (A Kubernetes add-on that wraps the pods of one job into a single unit, so that Kueue admits and starts them together.) run.** They start the jobs (One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster.) of the Backend: without them, no analysis starts.

   ```sh
   kubectl get pods -n kueue-system
   kubectl get pods -n appwrapper-system
   ```

   Result: all pods are `Running`.

3. **The job queues exist.** The jobs of the Backend wait in the LocalQueues of the namespace `platforma`, and each LocalQueue sends them to a ClusterQueue.

   ```sh
   kubectl get clusterqueues
   kubectl -n platforma get localqueues
   ```

   Result: each LocalQueue shows in `CLUSTERQUEUE` the name of a ClusterQueue of the first list.

4. **The volumes of the Backend are bound.** The Backend keeps on them its database, the workspace (The storage where the Backend and all jobs keep the working files of running jobs. The Backend and the jobs use it at the same time. In Kubernetes, it is a network file system; in Single Server mode, it is a folder on the server.) and, when the installation has a volume for them, its logs.

   ```sh
   kubectl -n platforma get pvc
   ```

   Result: all claims are `Bound`.

5. **The entry point (The way in to the Backend from outside the cluster, a load balancer or an Ingress with a DNS name. It usually ends TLS and sends the traffic to the Backend pod.) has an address, and DNS points to it.** Use the command of the kind of entry point.

   ```sh
   kubectl get gateway -A                 # Gateway: ADDRESS is set, PROGRAMMED is True
   kubectl -n platforma get ingress       # Ingress: ADDRESS is set
   dig +short platforma.example.com
   ```

   Result: the host name resolves to the address of the entry point.

6. **The certificate is valid for the host name.** Run the command on a computer of a user.

   ```sh
   openssl s_client -connect platforma.example.com:443 -servername platforma.example.com \
     -verify_hostname platforma.example.com </dev/null 2>/dev/null | grep "Verify return code"
   ```

   Result: `Verify return code: 0 (ok)`. With a certificate of a corporate certificate authority, add `-CAfile <file of the authority>`.

7. **The Backend answers through the entry point.** The gRPC health check does not need a 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".). Get `grpc_health_probe` from the [releases of grpc-health-probe](https://github.com/grpc-ecosystem/grpc-health-probe/releases).

   ```sh
   grpc_health_probe -addr=platforma.example.com:443 -tls -connect-timeout 10s
   ```

   Result: `status: SERVING`. With a corporate certificate authority, add `-tls-ca-cert <file of the authority>`.

#### Variant: Single Server

1. **The service is active.** On the server:

   ```sh
   systemctl status platforma
   ```

   Result: `active (running)`.

2. **The ports answer with a valid certificate.** On a computer of a user:

   ```sh
   for port in 6345 6347; do
     openssl s_client -connect platforma.example.com:$port -servername platforma.example.com \
       -verify_hostname platforma.example.com </dev/null 2>/dev/null | grep -m1 "Verify return code"
   done
   ```

   Result: `Verify return code: 0 (ok)` for each port. With a self-signed certificate or a certificate of a corporate certificate authority, add `-CAfile <file of the certificate>`. Port 6347 answers only when the primary storage (The bucket (Amazon S3 or Google Cloud Storage) or folder where Platforma keeps all results and uploaded files.) is a folder on the server.

3. **The Backend answers.** The gRPC health check does not need a sign-in. Get `grpc_health_probe` from the [releases of grpc-health-probe](https://github.com/grpc-ecosystem/grpc-health-probe/releases).

   ```sh
   grpc_health_probe -addr=platforma.example.com:6345 -tls -connect-timeout 10s
   ```

   Result: `status: SERVING`. With a self-signed certificate, add `-tls-ca-cert <file of the certificate>`.

4. **The log does not have errors.** On the server:

   ```sh
   sudo grep '"level":"error"' /data/platforma/log/platforma.log | tail -n 5
   ```

   Result: the command shows nothing. `License verification failed` means that the Backend does not run jobs: see [License](/configuration-license/).

## Run a test project

A test run checks the whole chain: the sign-in, the data library, the software of the Blocks (A small application for one step of an analysis, for example the import of reads or clustering. It can combine several tools.), the jobs, the storage and the download of the results to the Desktop App (The program that each user installs on their own computer to work with Platforma. It is a client of the Backend.). Both ways to run it are equally good checks:

- [With the demo data](#with-the-demo-data): no company data needed.
- [With the data of the company](#with-the-data-of-the-company): a real analysis run.

### With the demo data

You need the Desktop App 1.34.0 or later and the current Backend release. The test project template has the settings of the Blocks and no data: the data is a public dataset in the demo data library.

1. **Get the template.** Download [alpaca-test-project.yaml](/downloads/alpaca-test-project.yaml).

2. **Connect the demo data library** to the Backend: see [MiLaboratories demo data library](/configuration-data-libraries/#milaboratories-demo-data-library). The AWS and Google Cloud installers connect it by default.

3. **Connect the Desktop App** and sign in: see [Connect clients](/install-connect-clients/).

4. **Create the project.** On the start page, click **New Project**, select **From a file**, click **Choose file…** and select the template. The dialog shows the Blocks that the template adds. Type a **Project label** and create the project.

5. **Add the data.** In the Samples & Data Block, in the dataset “Alpaca”, add from the library `milabs-demo-data`, folder `2025-06-alpaca-ty1-PRJNA638614`, all files whose names start with `SRR` (10 files, 5 samples, 4.6 GiB). Then import the metadata table `metadata-alpaca-ty1.tsv` from the same folder: the Clonotype Enrichment Block needs it.

6. **Run it.** Click **Run All**. The project has these Blocks: Samples & Data, MiXCR Clonotyping, Clonotype Enrichment, Clonotype Clustering, Humanness Score, Top Antibodies, Redefine Clonotypes and Repertoire Distance. MiXCR Clonotyping runs in Preview mode (1000 reads for each sample), so the run is a light check of the whole chain, not of capacity. For a heavier check, select **Full run** in the settings of MiXCR Clonotyping.

The run takes about 10 minutes. In Kubernetes (A system that runs programs on a group of machines (a cluster). Platforma can run in a Kubernetes cluster.), the first run takes some minutes more while the cluster starts a node for the jobs and pulls the images. The installation works when all Blocks are green and the tables of MiXCR Clonotyping and Top Antibodies show clonotypes.

If the run does not go well:

- The folder is not on the **Remote** tab: the demo data library is not connected. See [MiLaboratories demo data library](/configuration-data-libraries/#milaboratories-demo-data-library).
- A Block waits a long time with no progress: no job node can start (autoscaler or quota). See [A job waits or hangs](/maintain-troubleshooting-jobs/).
- A Block fails at the start with a software or image error: the Backend cannot get to the registries. See [Outbound connections](/security-outbound-connections/) and [Registries mirroring](/registries-mirroring/).
- The results are calculated, but the Desktop App does not show or download them: check the storage and the entry point. See [Storage](/configuration-storage/) and [Troubleshooting connection](/maintain-troubleshooting-connection/).
- **Run All** skips a Block and the Blocks after it: the settings of this Block are not valid, for example the metadata table is not imported.

### With the data of the company

Connect the Desktop App, create a project and add the data of the company from its data library (see [Data libraries](/configuration-data-libraries/)) or import files. Then add a Block, for example MiXCR Clonotyping, and run it.

Result: when the project finishes green, without errors, the installation works.

## Next

- [Connect clients](/install-connect-clients/)
- [Troubleshooting connection](/maintain-troubleshooting-connection/)

Source: https://docs.platforma.bio/install-verify/
