> For the complete documentation index, see [llms.txt](https://docs.flopsar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flopsar.com/5.2/administrator-guide/installation/upgrade.md).

# Upgrade

## Upgrade from 5.1

To upgrade from 5.1 version you must perform a few operations. First of all, you must [upgrade all the binaries](#binaries-upgrade). Next, request for a new **5.2** license file.

## Binaries Upgrade

### Agent

Upgrading the agent is simple, you just override the agent library with the new one.

### Server

If you use an `rpm` package, then you upgrade the server installation by executing the following command:

```shell-session
# rpm -U --noscripts flopsar-server-<VER>.<arch>.rpm
```

If you use deb package, then you upgrade the server installation by executing the following command:

```shell-session
# dpkg -i flopsar-server-<VER>.<arch>.deb
```

### Workstation

If the workstation is served from the server itself, to upgrade it you need to execute the following command:

```shell-session
# flopsar-server update --app flopsar-workstation.zip <server_home>
```

where `<server_home>` is a location of the server home directory.

{% hint style="warning" %}
Make sure, the user the Flopsar server is running on has appropriate permissions to the Workstation files after upgrade.
{% endhint %}


---

# 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:

```
GET https://docs.flopsar.com/5.2/administrator-guide/installation/upgrade.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.
