# Server upgrade

When the new Storware Endpoints server upgrade package is available it is uploaded to the Storware repository server (`https://repo.storware.eu/storware/current/`).

To do the Storware Endpoints server upgrade, do the following steps:

1. Login to the shell as the `root` user.
2. Use the `dnf clean all` command to clean information about cached packages.
3. To update the Storware Endpoints server, execute the following command:

   ```
   # yum update sbr-endpoints-server
   ```
4. If the command was executed successfully and the process is completed, the Storware Endpoints server has to be restarted. To do this, do as follow:
   1. Switch to the `kodo` user:

      ```
       #su kodo
      ```
   2. Go to the `/opt/storware/kodo-server/api-core/bin/` directory

      ```
       $ cd /opt/storware/kodo-server/api-core/bin/
      ```
   3. Execute the script `stop.sh` and then `start.sh`. You can also check the server status:

      ```
      $ ./stop.sh
      Stopping API (pid:1432)....
      $./start.sh
      Starting API (pid:1373).....
      $./status.sh
      API (pid:1373) running.
      ```
5. Now you can log in again to the Storware Backup & Recovery WebUI and use the Storware Endpoints tab.


---

# 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.storware.eu/70/deployment/endpoints-how-to-install/common-tasks/server-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.
