<?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 Forgot the NPrinting's postgres superuser password - password authentication failed for user &amp;quot;postgres&amp;quot;? in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Forgot-the-NPrinting-s-postgres-superuser-password-password/ta-p/1717485</link>
    <description>&lt;P&gt;The NPrinting's postgres superuser password was forgotten/not recorded and cannot perform a backup/restore, or connect to the database using PGAdmin. The admin tool may be located under the following path on newest builds &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Program Files\NPrintingServer\pgsql\pgAdmin 4\bin\pgAdmin4.exe&lt;/SPAN&gt;. More information under &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Installing-and-Configuring-PGAdmin-4-to-access-the-PostgreSQL/ta-p/1710699" target="_blank" rel="noopener"&gt;Installing and Configuring PGAdmin 4 to access the PostgreSQL database used by Qlik Sense or NPrinting&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When attempting to run the&amp;nbsp;Qlik.NPrinting.Manager.exe backup command the following message is displayed:&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;...&lt;BR /&gt;Manager has stopped working&lt;BR /&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;The following is registered to the nprinting_manager.log stored in the default NPrinting logs folder:&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;...&lt;BR /&gt;Qlik.NPrinting.Repo 19.0.4.0 Qlik.NPrinting.Repo.Utils.NHibernateUtils 20190430T101505.536-04:00 ERROR DH6607 0 0 0 0 0 0 0 0 The database nprinting could not be queried. Npgsql.PostgresException: 28P01: password authentication failed for user "postgres"? at Npgsql.NpgsqlConnector.d__157.MoveNext()?--- End of stack trace from previous location&lt;BR /&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;Unhandled Exception: Npgsql.PostgresException: 28P01: password authentication failed for user "postgres"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment:&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&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;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="feedcommenttext"&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;The postgres super user password may be reset manually by a side procedure similar (&lt;STRONG&gt;not the same; see below*) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="feedcommenttext"&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;to what is documented under the Qlik Sense article &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-to-reset-forgotten-PostgreSQL-password-in-Qlik-Sense/ta-p/1712725" target="_blank" rel="noopener"&gt;How-to reset forgotten PostgreSQL password in Qlik Sense&lt;/A&gt;. Then a backup may be generated. &lt;STRONG&gt;However,&lt;/STRONG&gt; then NPrinting services will not know of the password change and will not be able to connect to the database. Making the change requires a NPrinting Server reinstall in order to set the encrypted postgres superuser password accordingly.&lt;BR /&gt;&lt;BR /&gt;The best approach here would be to perform a version upgrade in order to automatically generate a database backup which is placed under &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\ProgramData\NPrinting&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;After the upgrade, a complete re-install of NPrinting Server current version (not the upgrade version) is required to reset the password. After that the database backup can be restored. &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-to-BackUp-and-Restore-Qlik-NPrinting-Repository-Database/ta-p/1715863" target="_blank" rel="noopener"&gt;How to BackUp and Restore NPrinting Repository Database from End to End&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you are already on the latest version, and cannot restore a backup that was generated automatically either because the backup is too old or there was never an upgrade, the similar procedure (for Qlik Sense) mentioned above can be performed but there is no tool for pointing services to the database using the new password. A reinstall of NPrinting will still be necessary.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="feedcommenttext"&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;* &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;pg_hba.conf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;STRONG&gt;and psql.exe&lt;/STRONG&gt; are &lt;/SPAN&gt;not placed in the same location;&lt;BR /&gt;the postgres database service is called "QlikNPrintingRepoService";&lt;BR /&gt;database tcp port is 4992 by default;&lt;BR /&gt;Please contact Qlik Support for assistance if needed.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 12:02:18 GMT</pubDate>
    <dc:creator>Andre_Sostizzo</dc:creator>
    <dc:date>2021-06-02T12:02:18Z</dc:date>
    <item>
      <title>Forgot the NPrinting's postgres superuser password - password authentication failed for user "postgres"?</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Forgot-the-NPrinting-s-postgres-superuser-password-password/ta-p/1717485</link>
      <description>&lt;P&gt;The NPrinting's postgres superuser password was forgotten/not recorded and cannot perform a backup/restore, or connect to the database using PGAdmin. The admin tool may be located under the following path on newest builds &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\Program Files\NPrintingServer\pgsql\pgAdmin 4\bin\pgAdmin4.exe&lt;/SPAN&gt;. More information under &lt;A href="https://community.qlik.com/t5/Knowledge-Base/Installing-and-Configuring-PGAdmin-4-to-access-the-PostgreSQL/ta-p/1710699" target="_blank" rel="noopener"&gt;Installing and Configuring PGAdmin 4 to access the PostgreSQL database used by Qlik Sense or NPrinting&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;When attempting to run the&amp;nbsp;Qlik.NPrinting.Manager.exe backup command the following message is displayed:&lt;BR /&gt;&lt;SPAN style="font-family: Courier New,Courier,monospace;"&gt;...&lt;BR /&gt;Manager has stopped working&lt;BR /&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;The following is registered to the nprinting_manager.log stored in the default NPrinting logs folder:&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;...&lt;BR /&gt;Qlik.NPrinting.Repo 19.0.4.0 Qlik.NPrinting.Repo.Utils.NHibernateUtils 20190430T101505.536-04:00 ERROR DH6607 0 0 0 0 0 0 0 0 The database nprinting could not be queried. Npgsql.PostgresException: 28P01: password authentication failed for user "postgres"? at Npgsql.NpgsqlConnector.d__157.MoveNext()?--- End of stack trace from previous location&lt;BR /&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;Unhandled Exception: Npgsql.PostgresException: 28P01: password authentication failed for user "postgres"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment:&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&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;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="feedcommenttext"&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;The postgres super user password may be reset manually by a side procedure similar (&lt;STRONG&gt;not the same; see below*) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="feedcommenttext"&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;to what is documented under the Qlik Sense article &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-to-reset-forgotten-PostgreSQL-password-in-Qlik-Sense/ta-p/1712725" target="_blank" rel="noopener"&gt;How-to reset forgotten PostgreSQL password in Qlik Sense&lt;/A&gt;. Then a backup may be generated. &lt;STRONG&gt;However,&lt;/STRONG&gt; then NPrinting services will not know of the password change and will not be able to connect to the database. Making the change requires a NPrinting Server reinstall in order to set the encrypted postgres superuser password accordingly.&lt;BR /&gt;&lt;BR /&gt;The best approach here would be to perform a version upgrade in order to automatically generate a database backup which is placed under &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;C:\ProgramData\NPrinting&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;After the upgrade, a complete re-install of NPrinting Server current version (not the upgrade version) is required to reset the password. After that the database backup can be restored. &lt;A href="https://community.qlik.com/t5/Knowledge-Base/How-to-BackUp-and-Restore-Qlik-NPrinting-Repository-Database/ta-p/1715863" target="_blank" rel="noopener"&gt;How to BackUp and Restore NPrinting Repository Database from End to End&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you are already on the latest version, and cannot restore a backup that was generated automatically either because the backup is too old or there was never an upgrade, the similar procedure (for Qlik Sense) mentioned above can be performed but there is no tool for pointing services to the database using the new password. A reinstall of NPrinting will still be necessary.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="feedcommenttext"&gt;&lt;SPAN class="feeditemtext cxfeeditemtext"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;* &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;pg_hba.conf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;STRONG&gt;and psql.exe&lt;/STRONG&gt; are &lt;/SPAN&gt;not placed in the same location;&lt;BR /&gt;the postgres database service is called "QlikNPrintingRepoService";&lt;BR /&gt;database tcp port is 4992 by default;&lt;BR /&gt;Please contact Qlik Support for assistance if needed.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 12:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Forgot-the-NPrinting-s-postgres-superuser-password-password/ta-p/1717485</guid>
      <dc:creator>Andre_Sostizzo</dc:creator>
      <dc:date>2021-06-02T12:02:18Z</dc:date>
    </item>
  </channel>
</rss>

