Follow the below steps to make processes show as active after oneagent update instead of rollback to the previous version or uninstall and re-install oneagent from scratch and being subject to process restart.
- stop the oneagent service on the deployed hosts.
- ensure the following parameter "--set-auto-injection-enabled"= true
- adjust the following parameter "--set-auto-injection-enabled"= false
- start onagent service, so the oneagent modules won't be injected automatically into the server process
- wait for couple of minutes
- stop the oneagent service on the deployed hosts.
- adjust the following parameter again "--set-auto-injection-enabled"= true
- start the oneagent service again.
- wait couple of minutes and the result will be reflected on Dynatrace UI.
Thanks.