# Upgrade

## Upgrade from 6.1

There is no upgrade procedure. You must install a new environment.

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