<?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>article Qlik Sense June 2017 and later - Unable to Upgrade/Patch - Patch was uninstalled with exit code: -1 in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-June-2017-and-later-Unable-to-Upgrade-Patch-Patch-was/ta-p/1711681</link>
    <description>&lt;P&gt;Since Qlik Sense June 2017, patching has been introduced and also labelled as Service Releases (SR) for existing major releases.&lt;BR /&gt;&lt;BR /&gt;In Qlik Sense, a Patch is a cumulative release that is installed on top of the major release.&lt;BR /&gt;&lt;BR /&gt;When upgrading from one major release to another (Ex: Qlik Sense June 2017 -&amp;gt; Qlik Sense November 2017) or if installing a more recent Patch (Ex: Qlik Sense June 2017 Patch 1 -&amp;gt; Qlik Sense June 2017 Patch 3), the already installed patch needs to be removed which is typically an automatic process. If for any reason the installer is unable to handle this step it will cause the upgrade or patching to fail.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In case of a failure, the installation logs should indicate whether there was a patch removal problem. The logs are located in the Temp folder of the user account running the upgrade or patch. Typically the upgrade wizard will allow the logs to be opened by clicking on a link. Otherwise, find the latest logs under the environment's temp folder. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Collect-Qlik-Sense-Installation-Log-File/ta-p/1712778" target="_blank" rel="noopener"&gt;How To Collect Qlik Sense Installation Log File&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Example found in file &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;xxx_PostgreSQL.log&lt;/SPAN&gt;. See &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;string error Code 1603&lt;/SPAN&gt;.&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Action 16:20:01 12 &lt;STRONG&gt;Uninstalling patch&lt;/STRONG&gt;
Action 16:20:10 95 &lt;STRONG&gt;Patch was uninstalled with exit code: -1&lt;/STRONG&gt;
CustomAction &lt;STRONG&gt;CA_UninstallPatch returned actual error code 1603&lt;/STRONG&gt; (note this may not be 100% accurate if translation happened inside sandbox)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;There are several possible environment related causes including but not limited to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Antivirus Scans. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-Folder-And-Files-To-Exclude-From-Anti-Virus-Scanning/ta-p/1715685" target="_blank" rel="noopener"&gt;Qlik Sense Folder And Files To Exclude From Anti-Virus Scanning&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Security Policy. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-List-and-Inspect-Domain-Group-Policies/ta-p/1715270" target="_blank" rel="noopener"&gt;How To: List and Inspect Domain Group Policies&lt;/A&gt; and &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Interactive-Logon-Rights-for-Qlik-Sense-installation/ta-p/1714269" target="_blank" rel="noopener"&gt;Interactive Logon Rights for Qlik Sense installation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Permissions. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-to-check-effective-permissions-on-a-file/ta-p/1715783" target="_blank" rel="noopener"&gt;How to check effective permissions on a file&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;File(s) locked. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/File-Access-and-Process-Monitoring-How-to-find-locked-files-and/ta-p/1712539" target="_blank" rel="noopener"&gt;File Access and Process Monitoring - How to find locked files and the processes locking them&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;File(s) / Folder(s) have the Hidden attribute. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-upgrade-or-repair-fails-with-Access-to-path-X-is/ta-p/1712938" target="_blank" rel="noopener"&gt;Qlik Sense upgrade fails with Access to path X is denied in install logs&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;If the environmental causes listed in the Cause section have been ruled out, in order to resolve this issue uninstall the Patch manually.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Before proceeding, please make sure that you have a backup of your Qlik Sense environment. See &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-a-site.htm" target="_blank" rel="noopener"&gt;Backing up a Qlik Sense site.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are two options:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In &lt;STRONG&gt;Control&lt;/STRONG&gt; &lt;STRONG&gt;Panel&lt;/STRONG&gt; -&amp;gt;&amp;nbsp;&lt;STRONG&gt;Programs&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Programs&lt;/STRONG&gt; &lt;STRONG&gt;and&lt;/STRONG&gt; &lt;STRONG&gt;Features&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Installed&lt;/STRONG&gt; &lt;STRONG&gt;Updates&lt;/STRONG&gt; -&amp;gt; Select the Qlik Sense Patch and press &lt;STRONG&gt;Uninstall&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Run the installer corresponding the Patch currently installed and the option to &lt;STRONG&gt;Uninstall&lt;/STRONG&gt; it should be displayed.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If the uninstall process still fails, another option is to attempt uninstalling Qlik Sense (opting to leave the database, apps and certificates in place), and then install the version for which the upgrade is intend. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Regarding-Creating-a-PostgreSQL-database-dump-file-after/ta-p/1717087" target="_blank" rel="noopener"&gt;Regarding Creating a PostgreSQL database dump file after uninstalling Qlik Sense&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please keep in mind that the process of upgrading and patching a Qlik Sense Environment is documented in Qlik's Help site via the links below:&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Please make sure the appropriate product version is selected on the website.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Upgrading.htm" target="_blank" rel="noopener"&gt;Upgrading&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Patching-qlik-sense.htm" target="_blank" rel="noopener"&gt;Patching&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 07 May 2021 09:24:01 GMT</pubDate>
    <dc:creator>Bastien_Laugiero</dc:creator>
    <dc:date>2021-05-07T09:24:01Z</dc:date>
    <item>
      <title>Qlik Sense June 2017 and later - Unable to Upgrade/Patch - Patch was uninstalled with exit code: -1</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-June-2017-and-later-Unable-to-Upgrade-Patch-Patch-was/ta-p/1711681</link>
      <description>&lt;P&gt;Since Qlik Sense June 2017, patching has been introduced and also labelled as Service Releases (SR) for existing major releases.&lt;BR /&gt;&lt;BR /&gt;In Qlik Sense, a Patch is a cumulative release that is installed on top of the major release.&lt;BR /&gt;&lt;BR /&gt;When upgrading from one major release to another (Ex: Qlik Sense June 2017 -&amp;gt; Qlik Sense November 2017) or if installing a more recent Patch (Ex: Qlik Sense June 2017 Patch 1 -&amp;gt; Qlik Sense June 2017 Patch 3), the already installed patch needs to be removed which is typically an automatic process. If for any reason the installer is unable to handle this step it will cause the upgrade or patching to fail.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In case of a failure, the installation logs should indicate whether there was a patch removal problem. The logs are located in the Temp folder of the user account running the upgrade or patch. Typically the upgrade wizard will allow the logs to be opened by clicking on a link. Otherwise, find the latest logs under the environment's temp folder. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-Collect-Qlik-Sense-Installation-Log-File/ta-p/1712778" target="_blank" rel="noopener"&gt;How To Collect Qlik Sense Installation Log File&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Example found in file &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;xxx_PostgreSQL.log&lt;/SPAN&gt;. See &lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;string error Code 1603&lt;/SPAN&gt;.&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;Action 16:20:01 12 &lt;STRONG&gt;Uninstalling patch&lt;/STRONG&gt;
Action 16:20:10 95 &lt;STRONG&gt;Patch was uninstalled with exit code: -1&lt;/STRONG&gt;
CustomAction &lt;STRONG&gt;CA_UninstallPatch returned actual error code 1603&lt;/STRONG&gt; (note this may not be 100% accurate if translation happened inside sandbox)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Sense Enterprise on Windows" id="qlikSenseEnterpriseWindows"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Cause:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;There are several possible environment related causes including but not limited to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Antivirus Scans. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-Folder-And-Files-To-Exclude-From-Anti-Virus-Scanning/ta-p/1715685" target="_blank" rel="noopener"&gt;Qlik Sense Folder And Files To Exclude From Anti-Virus Scanning&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Security Policy. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-To-List-and-Inspect-Domain-Group-Policies/ta-p/1715270" target="_blank" rel="noopener"&gt;How To: List and Inspect Domain Group Policies&lt;/A&gt; and &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Interactive-Logon-Rights-for-Qlik-Sense-installation/ta-p/1714269" target="_blank" rel="noopener"&gt;Interactive Logon Rights for Qlik Sense installation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Permissions. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-to-check-effective-permissions-on-a-file/ta-p/1715783" target="_blank" rel="noopener"&gt;How to check effective permissions on a file&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;File(s) locked. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/File-Access-and-Process-Monitoring-How-to-find-locked-files-and/ta-p/1712539" target="_blank" rel="noopener"&gt;File Access and Process Monitoring - How to find locked files and the processes locking them&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;File(s) / Folder(s) have the Hidden attribute. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Qlik-Sense-upgrade-or-repair-fails-with-Access-to-path-X-is/ta-p/1712938" target="_blank" rel="noopener"&gt;Qlik Sense upgrade fails with Access to path X is denied in install logs&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 class="qlik-migrated-tkb-headings"&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;If the environmental causes listed in the Cause section have been ruled out, in order to resolve this issue uninstall the Patch manually.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note: &lt;/STRONG&gt;Before proceeding, please make sure that you have a backup of your Qlik Sense environment. See &lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Backing-up-a-site.htm" target="_blank" rel="noopener"&gt;Backing up a Qlik Sense site.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are two options:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In &lt;STRONG&gt;Control&lt;/STRONG&gt; &lt;STRONG&gt;Panel&lt;/STRONG&gt; -&amp;gt;&amp;nbsp;&lt;STRONG&gt;Programs&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Programs&lt;/STRONG&gt; &lt;STRONG&gt;and&lt;/STRONG&gt; &lt;STRONG&gt;Features&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Installed&lt;/STRONG&gt; &lt;STRONG&gt;Updates&lt;/STRONG&gt; -&amp;gt; Select the Qlik Sense Patch and press &lt;STRONG&gt;Uninstall&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Run the installer corresponding the Patch currently installed and the option to &lt;STRONG&gt;Uninstall&lt;/STRONG&gt; it should be displayed.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If the uninstall process still fails, another option is to attempt uninstalling Qlik Sense (opting to leave the database, apps and certificates in place), and then install the version for which the upgrade is intend. See &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Regarding-Creating-a-PostgreSQL-database-dump-file-after/ta-p/1717087" target="_blank" rel="noopener"&gt;Regarding Creating a PostgreSQL database dump file after uninstalling Qlik Sense&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please keep in mind that the process of upgrading and patching a Qlik Sense Environment is documented in Qlik's Help site via the links below:&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Please make sure the appropriate product version is selected on the website.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Upgrading.htm" target="_blank" rel="noopener"&gt;Upgrading&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://help.qlik.com/en-US/sense-admin/Subsystems/DeployAdministerQSE/Content/Sense_DeployAdminister/QSEoW/Deploy_QSEoW/Patching-qlik-sense.htm" target="_blank" rel="noopener"&gt;Patching&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 07 May 2021 09:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-June-2017-and-later-Unable-to-Upgrade-Patch-Patch-was/ta-p/1711681</guid>
      <dc:creator>Bastien_Laugiero</dc:creator>
      <dc:date>2021-05-07T09:24:01Z</dc:date>
    </item>
  </channel>
</rss>

