<?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: Qlik Sense server upgrade fails in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114741#M1819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I have the same issue&lt;/P&gt;&lt;P&gt;how to disable store password?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2018 06:46:07 GMT</pubDate>
    <dc:creator>monaali602</dc:creator>
    <dc:date>2018-08-09T06:46:07Z</dc:date>
    <item>
      <title>Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114735#M1813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have a client who is attempting to upgrade from 3.1.4 (synch) to February 2018, we have tried allsorts but are getting nowhere fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone who a look at the attached log file to see if there's some thing obvious please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207094_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 15:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114735#M1813</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2018-07-05T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114736#M1814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/184092"&gt;ltu&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 15:55:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114736#M1814</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2018-07-05T15:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114737#M1815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a ton of specific thoughts. The key lines are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;MSI (s) (94:9C) [14:15:26:363]: Executing op: ActionStart(Name=CA_DumpDatabase,Description=Preparing database upgrade, this may take several minutes,Template=Preparing database upgrade, this may take several minutes)&lt;/P&gt;
&lt;P&gt;Action 14:15:26 35 After finished impersonation: NT AUTHORITY\SYSTEM&lt;/P&gt;
&lt;P&gt;MSI (s) (94:9C) [14:15:26:365]: Executing op: CustomActionSchedule(Action=CA_DumpDatabase,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)&lt;/P&gt;
&lt;P&gt;MSI (s) (94:E4) [14:15:26:368]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI9DEF.tmp, Entrypoint: DumpDatabase&lt;/P&gt;
&lt;P&gt;SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI9DEF.tmp-\&lt;/P&gt;
&lt;P&gt;SFXCA: Binding to CLR version v4.0.30319&lt;/P&gt;
&lt;P&gt;Calling custom action Qlik.QustomActions64!Qlik.QustomActions64.DatabaseInitializer.DumpDatabase&lt;/P&gt;
&lt;P&gt;Action 14:15:27 20 POSTGRESQL_PORT: 4432&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 The property POSTGRESQL_DIR is empty.&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 POSTGRESQL_SUPERUSER: postgres&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 The property RANDOMPASSWORD is empty.&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 POSTGRESQL_DB_DIR: C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\9.6&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 The property DBLIMITEDUSERNAME is empty.&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 DBDUMPFILEPATH: C:\Users\xxxx\AppData\Local\Temp\10\tmp6352.tmp&lt;/P&gt;
&lt;P&gt;Action 14:15:27 21 INSTALLDIR: C:\Program Files\Qlik\Sense\&lt;/P&gt;
&lt;P&gt;Action 14:15:27 68 Error in DumpDatabase custom action: could not dump database.&lt;/P&gt;
&lt;P&gt;CustomAction CA_DumpDatabase returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The meaning here is that the installer is having issues performing a dump of the database. This can come from a number of sources that I am aware of:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The postgreSQL superuser account password is incorrect&lt;UL&gt;&lt;LI&gt;C:\"Program Files"\Qlik\Sense\Repository\PostgreSQL\9.x\bin\psql.exe -h localhost -p 4432 -U postgres -d QSR -e where x is the build of PostgreSQL being used (likely 9.3 but maybe 9.6) and with an adjustment to the install path if needed will confirm the superuser password&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Exclusive SSL is on (rare configuration, but worth checking): &lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/PlanningQlikSenseDeployments/Content/Deployment/Security.htm#anchor-3" title="https://help.qlik.com/en-US/sense/June2018/Subsystems/PlanningQlikSenseDeployments/Content/Deployment/Security.htm#anchor-3"&gt;https://help.qlik.com/en-US/sense/June2018/Subsystems/PlanningQlikSenseDeployments/Content/Deployment/Security.htm#anchor-3&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;The password being passed is being over-ridden with a bad password in the .pgpass file in %USERPROFILE%\AppData\Roaming\postgresql for the user running the upgrade&lt;/LI&gt;&lt;LI&gt;For some reason the password for the postgres account isn't being passed as expected. Reset it to something known: &lt;A href="https://community.qlik.com/thread/154558"&gt;Change/add password to repository database&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114737#M1815</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-07-05T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114738#M1816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this get us on the right track, as it appears that the postgres password was originally omitted and one was added via pgadmin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand the link correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is important that you disable the &lt;SPAN class="ui_item_external"&gt;Store password option&lt;/SPAN&gt; for your user in &lt;SPAN class="CommonComponentsPostgreSQL repository database"&gt;PostgreSQL&lt;/SPAN&gt;. If this option is enabled, the password is stored in a file, and incoming connections without a password will be able to connect to the database.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do not change password in the PostgreSQL user interface for the same reasons as above.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then using pgadmin to change the password was the wrong thing to do and the we should have done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change password by executing this query in the PostgreSQL database:&lt;SPAN class="Code"&gt;ALTER USER &amp;lt;user&amp;gt; WITH PASSWORD '&amp;lt;newpassword&amp;gt;';&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="Code"&gt;ALTER ROLE is displayed after successfully changing the password.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Have I understood this correctly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Thanks for the guidance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114738#M1816</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2018-07-06T07:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114739#M1817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;It is important that you disable the &lt;SPAN class="ui_item_external" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Store password option&lt;/SPAN&gt; for your user in &lt;SPAN class="repository CommonComponentsPostgreSQL database" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;PostgreSQL&lt;/SPAN&gt;. If this option is enabled, the password is stored in a file, and incoming connections without a password will be able to connect to the database.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So yes, pgAdmin does store the password into the .pgpass file. This is fine so long as the password is correct. Otherwise any terminal sessions (cmd, PowerShell) in Windows will inherit this password&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Do not change password in the PostgreSQL user interface for the same reasons as above.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I an not following this aspect of things. It is perfectly fine to use pgAdmin to change the PostgreSQL user password but it's usually not possible since the reason for changing is &lt;EM&gt;usually&lt;/EM&gt; that the password is not known. If the password is known then using pgAdmin is fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 17:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114739#M1817</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-07-06T17:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114740#M1818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I meant the user should change the password in pgadmin using the alter role command rather than changing it and saving via the properties option on the user \ role&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 09:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114740#M1818</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2018-07-09T09:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114741#M1819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi I have the same issue&lt;/P&gt;&lt;P&gt;how to disable store password?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 06:46:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114741#M1819</guid>
      <dc:creator>monaali602</dc:creator>
      <dc:date>2018-08-09T06:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense server upgrade fails</title>
      <link>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114742#M1820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unaware of how to disable that on the pgAdmin side but the file is located in %USERPROFILE%\AppData\Roaming\postgresql so you can rename the file as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 16:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Qlik-Sense-server-upgrade-fails/m-p/114742#M1820</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2018-08-09T16:53:01Z</dc:date>
    </item>
  </channel>
</rss>

