<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Upgrade is not possible because uninstall script is missing, while starting POD in Container platforms</title>
    <link>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/300214#M3537</link>
    <description>&lt;P&gt;This error usually indicates that OneAgent is trying to perform an upgrade of an existing installation, but the required uninstall.sh script is missing.&lt;/P&gt;&lt;P&gt;In Kubernetes/OpenShift environments, this can happen when:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a previous OneAgent installation became corrupted,&lt;/LI&gt;&lt;LI&gt;the installation directory was partially removed,&lt;/LI&gt;&lt;LI&gt;the host volume still contains remnants of an older installation,&lt;/LI&gt;&lt;LI&gt;a previous upgrade or migration did not complete successfully.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;According to the logs, the Operator detects a version change (1.337.21 -&amp;gt; 1.337.51) and attempts an upgrade:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Downloaded version differs from installed version, will re-run installer
...
Error: Upgrade is not possible because uninstall script is missing&lt;/LI-CODE&gt;&lt;P&gt;In simple terms, the installer can see an existing OneAgent installation but cannot upgrade it because the files required to uninstall the previous version are missing.&lt;/P&gt;&lt;P&gt;IMO you shoul check affected nodes, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ls -la /opt/dynatrace/oneagent
find /opt/dynatrace -name uninstall.sh&lt;/LI-CODE&gt;&lt;P&gt;If the uninstall script is indeed missing, the issue is usually resolved by cleaning up the remnants of the old OneAgent installation on the affected host and allowing the Operator to perform a fresh installation.&lt;/P&gt;&lt;P&gt;However, before manually removing files, I would recommend opening a Dynatrace Support case, as the cleanup procedure may vary depending on the Operator version and deployment mode being used.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2026 13:32:12 GMT</pubDate>
    <dc:creator>t_pawlak</dc:creator>
    <dc:date>2026-06-02T13:32:12Z</dc:date>
    <item>
      <title>Upgrade is not possible because uninstall script is missing, while starting POD</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/293679#M3468</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When the operator starts the oneAgente pod, he returns this message on the end of the startup:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Upgrade is not possible because uninstall script is missing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Who can explain i laymen's terms what is happening here?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;KR Henk&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 08:51:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/293679#M3468</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2026-01-27T08:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade is not possible because uninstall script is missing, while starting POD</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/300173#M3536</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm getting the same error. It seems to happen when updating OneAgent on K8S/OpenShift (1.337.21 to 1.337.51 in my case).&lt;/P&gt;&lt;P&gt;The pod terminates with the following log:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;07:14:14 Downloaded version differs from installed version, will re-run installer
07:14:14 Deploying to: /mnt/volume_storage_mount/host_root
07:14:14 Starting installer...
07:14:19 You supplied the GROUP parameter. To harden your system security, we strongly recommend to use a dedicated user group to run OneAgent processes.
07:14:19 Skipping root privileges check
07:14:19 Logging to /var/log/dynatrace/oneagent/installer/installation_18866.log
07:14:19 Installation started, version 1.337.51.20260520-164208, build date: 20.05.2026, PID 18866.
07:14:19 Detected platform: LINUX arch: X86_64
07:14:20 Error: Upgrade is not possible because uninstall script is missing&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Does anyone have a solution?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 08:01:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/300173#M3536</guid>
      <dc:creator>Didier</dc:creator>
      <dc:date>2026-06-02T08:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade is not possible because uninstall script is missing, while starting POD</title>
      <link>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/300214#M3537</link>
      <description>&lt;P&gt;This error usually indicates that OneAgent is trying to perform an upgrade of an existing installation, but the required uninstall.sh script is missing.&lt;/P&gt;&lt;P&gt;In Kubernetes/OpenShift environments, this can happen when:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;a previous OneAgent installation became corrupted,&lt;/LI&gt;&lt;LI&gt;the installation directory was partially removed,&lt;/LI&gt;&lt;LI&gt;the host volume still contains remnants of an older installation,&lt;/LI&gt;&lt;LI&gt;a previous upgrade or migration did not complete successfully.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;According to the logs, the Operator detects a version change (1.337.21 -&amp;gt; 1.337.51) and attempts an upgrade:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Downloaded version differs from installed version, will re-run installer
...
Error: Upgrade is not possible because uninstall script is missing&lt;/LI-CODE&gt;&lt;P&gt;In simple terms, the installer can see an existing OneAgent installation but cannot upgrade it because the files required to uninstall the previous version are missing.&lt;/P&gt;&lt;P&gt;IMO you shoul check affected nodes, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ls -la /opt/dynatrace/oneagent
find /opt/dynatrace -name uninstall.sh&lt;/LI-CODE&gt;&lt;P&gt;If the uninstall script is indeed missing, the issue is usually resolved by cleaning up the remnants of the old OneAgent installation on the affected host and allowing the Operator to perform a fresh installation.&lt;/P&gt;&lt;P&gt;However, before manually removing files, I would recommend opening a Dynatrace Support case, as the cleanup procedure may vary depending on the Operator version and deployment mode being used.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2026 13:32:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Container-platforms/Upgrade-is-not-possible-because-uninstall-script-is-missing/m-p/300214#M3537</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2026-06-02T13:32:12Z</dc:date>
    </item>
  </channel>
</rss>

