# Upload updates manually in offline Dynatrace managed deployment

**URL:** <https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734>\
**Category:** Dynatrace Managed\
**Tags:** installation, updates, dynatrace-managed\
**Created:** [June 7, 2021, 5:41pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734 "2021-06-07T17:41:43Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![marek\_kapusto](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marek_kapusto/32/1591_2.png) [@marek\_kapusto](https://community.dynatrace.com/u/marek_kapusto)\
**Post date:** [June 7, 2021, 5:41pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/1 "2021-06-07T17:41:43Z")

</div>

How to manually upload updates on managed offline installation?

---

<div class="post-metadata">

**Author:** ![marek\_kapusto](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marek_kapusto/32/1591_2.png) [@marek\_kapusto](https://community.dynatrace.com/u/marek_kapusto)\
**Post date:** [June 7, 2021, 5:43pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/2 "2021-06-07T17:43:44Z")

</div>

Please follow the steps outlined below to apply Dynatrace cluster and agent updates.

1. Download updates bundle archive
2. Unpack updates archive e.g. to /tmp directory. You should get 2 files: server.zip and agents.zip
3. Unpack agents.zip into: /var/opt/dynatrace-managed/agents
4. Unpack server.zip into: /var/opt/dynatrace-managed/installer/upgrade

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [June 7, 2021, 6:02pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/3 "2021-06-07T18:02:40Z")

</div>

In case you download updates from a separate links:

1. Download a file

2. Extract to:

- Dynatrace Managed cluster updates go to: /var/opt/dynatrace-managed/installer
- Other files to /var/opt/dynatrace-managed/installer

Additionally, to update:

- Nginx Offsets,
- Go external metadata files,
- revoked OneAgent versions files,

you need to call REST endpoint to apply them:

Auth token:&nbsp;`ControlManagement`&nbsp;(generate using Cluster Tokens API)

**Nginx offset**  
Path: POST&nbsp;`/api/v1.0/control/clusterManagement/goMetadataArchive/clusterManagement/nginxOffsetFile`  
form data param: “file” (binary)

**Go metadata** :  
Path: POST&nbsp;`/api/v1.0/control/clusterManagement/goMetadataArchive/deployBundle`  
form data param: “metadata-archive” (binary)

**Revoked OneAgent versions files**

Path: POST&nbsp;`/api/v1.0/control/clusterManagement/badInstallerVersionsFile`

form data param: “file” (binary)

---

<div class="post-metadata">

**Author:** ![eric\_speed](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@eric\_speed](https://community.dynatrace.com/u/eric_speed)\
**Post date:** [June 8, 2021, 12:01am UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/4 "2021-06-08T00:01:37Z")

</div>

Is it&nbsp;/var/opt/dynatrace-managed/installer or&nbsp; /var/opt/dynatrace-managed/installer/upgrade?&nbsp; Also, will it automatically&nbsp;distribute&nbsp;across all cluster nodes, or do does it need to be put on all the nodes?

---

<div class="post-metadata">

**Author:** ![marek\_kapusto](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marek_kapusto/32/1591_2.png) [@marek\_kapusto](https://community.dynatrace.com/u/marek_kapusto)\
**Post date:** [June 8, 2021, 6:44am UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/5 "2021-06-08T06:44:47Z")

</div>

It will automatically distribute updates across all cluster nodes.

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [June 9, 2021, 1:33pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/6 "2021-06-09T13:33:35Z")

</div>

You’re right! It’s “/installer/upgrade”

---

<div class="post-metadata">

**Author:** ![VictorG](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@VictorG](https://community.dynatrace.com/u/VictorG)\
**Post date:** [October 18, 2021, 2:29pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/7 "2021-10-18T14:29:49Z")

</div>

We have Dynatrace Managed but the connection to Mission Control is very very slow and It can’t finish download ActiveGate bundle. We have the Active Gates installation stopped for one week. is there a way to download ActiveGate update and mannually upload into the cluster nodes?

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [October 18, 2021, 3:13pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/8 "2021-10-18T15:13:08Z")

</div>

Yes, contact your CSM or Dynatrace ONE vi help chat.

---

<div class="post-metadata">

**Author:** ![eric\_speed](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@eric\_speed](https://community.dynatrace.com/u/eric_speed)\
**Post date:** [April 28, 2022, 2:09pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/9 "2022-04-28T14:09:18Z")

</div>

With the recent release of Agent AND Active Gate of version:&nbsp;1.237.242.20220421-112038, this process doesn’t work.&nbsp; I am assuming since they are both the same exact version we have to manually merge the build-unit-agent.json?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [April 28, 2022, 2:39pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/10 "2022-04-28T14:39:10Z")

</div>

[@eric\_speed](https://community.dynatrace.com/user/25577)&nbsp;the UI upload approach does not work for you? In Managed Offline the updates should be uploaded using UI. Or you are speaking out Managed (not the offline) version?

---

<div class="post-metadata">

**Author:** ![eric\_speed](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@eric\_speed](https://community.dynatrace.com/u/eric_speed)\
**Post date:** [April 28, 2022, 2:46pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/11 "2022-04-28T14:46:49Z")

</div>

We are indeed offline.&nbsp; We have essentially mimic the auto download process if connected to mission control.&nbsp; We periodically check Mission Control for new bundles, download, and push them to one of the nodes in the cluster as discussed above.&nbsp; This time we ran into issues with two of the bundles having the exact same version and overwriting the json file causing availability issues of said bundles in the cluster.&nbsp; It was verified that via the UI process this does work successfully.&nbsp; I rechecked to see if there was any new API for this vs vs copying it to a node but I did not see one.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [April 28, 2022, 7:20pm UTC](https://community.dynatrace.com/t/upload-updates-manually-in-offline-dynatrace-managed-deployment/31734/12 "2022-04-28T19:20:44Z")

</div>

I’d probably mimic the UI upload as well (login to the CMC and upload the file) instead of trying to upload it directly in the directories. The UI requests are actually quite simple to mimic.
