# Upgrade DeviceOn Agent in On-premises DeviceOn Server

Here is an example description of how to upgrade DeviceOn Agent in On-premises DeviceOn Server, for devices which do not have internet connectivity.

In closed network environment. On-premise DeviceOn Server can't download the latest released DeviceOn Agent through internet. Maintainer can upload DeviceOn Agent package manually then upgrade managed devices.

## Prerequisite

* A running DeviceOn Server.
* A device with installed DeviceOn Agent, that connects to the DeviceOn server.
* DeviceOn Agent package files.

## Upload DeviceOn Agent package

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2F1iZlYz1h5e35szyPjLjs%2Fimage_1719810711144.png?alt=media&#x26;token=f1001bcf-a4c4-4e1f-a5ff-4811f0189582" alt=""><figcaption><p>On-premises DeviceOn Serve, the App Store will be empty.</p></figcaption></figure>

Prepare DeviceOn Agent package files:&#x20;

* `DeviceOnAgent({PLATFORM})-{VERSION}-{HASH}.zip`&#x20;
* `DeviceOnAgent-data-{VERSION}-{HASH}.zip`

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FdUukanpmnCApAg0orYlP%2F2024-07-01_124227.png?alt=media&#x26;token=279fa128-104e-43ff-8dbf-78ab27f7f938" alt=""><figcaption><p>Using DeviceOn Agent 2.0.16 as example</p></figcaption></figure>

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2F0voD88KSrKoEcyQW3XF4%2F2024-07-01_122943.png?alt=media&#x26;token=023629c3-040d-4fe7-88bd-fc774ad44d35" alt=""><figcaption><p>Upload DeviceOn Agent package files to Repository</p></figcaption></figure>

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FAFS0t0GvIn4g1flVWQLf%2F2024-07-01_124305.png?alt=media&#x26;token=48b87975-3bcd-48bd-8786-2d709c65a515" alt=""><figcaption><p>Choose DeviceOn Agent package files</p></figcaption></figure>

After upload process finished, DeviceOn Agent list in Repository

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FyDMSpzgFvdHGomEpYqtK%2F2024-07-01_124356.png?alt=media&#x26;token=647af8f3-2e37-45ad-aef4-59c45d4d355c" alt=""><figcaption></figcaption></figure>

## Upgrade DeviceOn Agent

<figure><img src="https://2609455635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeOYEBAkqbuotygPSIr8f%2Fuploads%2FxkF6wYvTlxNKuUi1Axaf%2F2024-07-01_124440.png?alt=media&#x26;token=75799990-b0e1-4cf0-ada2-4c8ebe4661b3" alt=""><figcaption><p>Upgrade selected device</p></figcaption></figure>
