> For the complete documentation index, see [llms.txt](https://docs.syntho.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.syntho.ai/deploy-syntho/deploy-syntho-using-docker/upgrade.md).

# Upgrade

Use this page to upgrade a Docker Compose deployment.

{% hint style="warning" %}
Back up your PostgreSQL metadata databases before upgrading. See [Back up PostgreSQL](https://docs.syntho.ai/deploy-syntho/deploy-syntho-using-docker/back-up-postgresql.md).
{% endhint %}

{% hint style="warning" %}
**Reconfigure Databricks authentication.**

Syntho no longer supports Databricks personal access tokens. The upgrade removes the stored tokens, so Databricks connections fail until you configure new authentication. For Docker Compose, we recommend a service principal client secret on each connection; workload identity federation is also possible. Configure it as described in [Databricks](https://docs.syntho.ai/setup-workspaces/create-a-workspace/connect-to-a-database/databricks.md#docker-compose) before upgrading, then test each Databricks connection.
{% endhint %}

{% hint style="warning" %}
**Review throughput settings after upgrading.**

The migration resets every workspace `default_data_batch_size` to `500000`, including customized values. It initializes `default_parallel_writing` to `true` and drops `default_simultaneous_read_write`. Review tuned settings after upgrading.
{% endhint %}

These commands assume you run them from the folder that contains `docker-compose.yaml` and `.env`.

{% stepper %}
{% step %}
**Refresh registry authentication (if needed)**

Use the registry host and credentials provided by Syntho to login with:

```bash
docker login syntho.azurecr.io -u <USERNAME> -p <PASSWORD>
```

{% hint style="info" %}
Ensure that `syntho.azurecr.io` is added to your firewall allowlist to enable image pulls
{% endhint %}
{% endstep %}

{% step %}
**Update `.env`**

* `APPLICATION_VERSION:<new-applicationversion>`
* `LICENSE_KEY:<new-license-key>`
  {% endstep %}

{% step %}
**Pull new images and restart**

```bash
docker compose pull
docker compose up -d
```

{% endstep %}

{% step %}
**Verify**

```bash
docker compose ps
docker compose logs -f
```

Open the UI and confirm you can log in.
{% endstep %}
{% endstepper %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.syntho.ai/deploy-syntho/deploy-syntho-using-docker/upgrade.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
