# Oneagent upgrades via UI using custom params

**URL:** <https://community.dynatrace.com/t/oneagent-upgrades-via-ui-using-custom-params/31188>\
**Category:** Open Q&A\
**Tags:** installation, updates, oneagent\
**Created:** [April 20, 2021, 11:13am UTC](https://community.dynatrace.com/t/oneagent-upgrades-via-ui-using-custom-params/31188 "2021-04-20T11:13:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeep\_jan1](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sandeep\_jan1](https://community.dynatrace.com/u/sandeep_jan1)\
**Post date:** [April 20, 2021, 11:13am UTC](https://community.dynatrace.com/t/oneagent-upgrades-via-ui-using-custom-params/31188/1 "2021-04-20T11:13:59Z")

</div>

Hi guys,

We have one agent installed on more than 300 servers.&nbsp; We want to upgrade the one agents now and as part of that want to use some of the installation params mentioned here

> **[Customize OneAgent installation on Linux](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/linux/installation/customize-oneagent-installation-on-linux)**
>
> Learn how to use the Linux installer with command line parameters.

mainly we want to change the location of DATA Storage and Log Path.&nbsp; We want to know whats the best way to achieve this ?

a) Oneagent updates via UI or automatic maintenance window - can this be used somehow to update oneagents and also change the data storage and logpath ?

b) If the only way to change the data storage and logpath is to uninstall and install a new oneagent from Linux level(i.e point a) mentioned above is not possible) then does this mean we need to perform oneagent updates wherever custom installation params are used always from linux/machine level or is it like once the custom installation params are set then new updates can be done via UI itself

---

<div class="post-metadata">

**Author:** ![Dallas](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dallas/32/31233_2.png) [@Dallas](https://community.dynatrace.com/u/Dallas)\
**Post date:** [April 20, 2021, 3:51pm UTC](https://community.dynatrace.com/t/oneagent-upgrades-via-ui-using-custom-params/31188/2 "2021-04-20T15:51:13Z")

</div>

Hi&nbsp;[@sandeep\_jan1](https://community.dynatrace.com/user/11084)&nbsp;,

In order to change an install parameter you will need to perform an uninstall then install again.

Once you have the agent installed with the correct data storage and log path you will be able to take advantage of the automatic updates. You will not have to perform a complete re install every time you wish to update to a newer version.

Thanks

-Dallas
