<?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 Restoring NPrinting  Repository Database is failed with Errors while PROCESSING TOC in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Restoring-NPrinting-Repository-Database-is-failed-with-Errors/ta-p/1837795</link>
    <description>&lt;P&gt;The Nprinting repository had been backed up using the Qlik.Nprinting.Manager.exe and the zip file can be used to restore in a different NP Server.&lt;/P&gt;
&lt;P&gt;After the installation of NPrinting, a restore using the Qlik.Nprinting.Manager.exe restore command fails.&lt;/P&gt;
&lt;P&gt;Restoring/migrating NP Repository database in a different NP installation server fails while PROCESSING TOC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5 style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;STRONG&gt;Errors in CMD&lt;/STRONG&gt;&lt;/H5&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NPrinting restoration failed.png" style="width: 767px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62414i7EA4BE98584A3B6F/image-dimensions/767x273?v=v2" width="767" height="273" role="button" title="NPrinting restoration failed.png" alt="NPrinting restoration failed.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt; &lt;/DIV&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Errors in NPrinting_Manager.log&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand - Qlik.NPrinting.Manager 19.19.4.0 Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand 20210909T022346.137+02:00 ERROR QLIKSERVER6 0 0 0 0 0 0 0 0 Process C:\Program Files\NPrintingServer\pgsql\bin\pg_restore.exe: pg_restore: [archiver (db)] Error while PROCESSING TOC:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand - Qlik.NPrinting.Manager 19.19.4.0 Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand 20210909T232759.033+02:00 ERROR QLIKSERVER6 0 0 0 0 0 0 0 0 Error trying to restore database backup&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Qlik.NPrinting.Manager.Strategy.RestoreStrategy - Qlik.NPrinting.Manager 19.19.4.0 Qlik.NPrinting.Manager.Strategy.RestoreStrategy 20210909T232759.174+02:00 ERROR QLIKSERVER6 0 0 0 0 0 0 0 0 Error processing command, trying to undo performed operations Qlik.NPrinting.Manager.Commands.InstallationException: Error trying to restore database backup?? at Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand.Do(RestoreCommandContext context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Commands\Restore\RestoreDbCommand.cs:line 94?? at Qlik.NPrinting.Manager.Commands.CompositeCommand`1.Do(T context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Commands\CompositeCommand.cs:line 32?? at Qlik.NPrinting.Manager.Strategy.RestoreStrategy.Launch(RestoreCommandContext context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Strategy\RestoreStrategy.cs:line 40?? ??=============?? at Qlik.NPrinting.Common.Utils.NPLog.Error(String message, Exception ex, NPLoggingContext loggingContext)?? at Qlik.NPrinting.Manager.Strategy.RestoreStrategy.Launch(RestoreCommandContext context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Strategy\RestoreStrategy.cs:line 40?? at Qlik.NPrinting.Manager.Starter.Main(String[] args) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Starter.cs:line 116??=============??&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&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&gt;Resolution&lt;/H3&gt;
&lt;H5&gt;DO NOT MANUALLY CHANGE THE REPOSITORY,&lt;/H5&gt;
&lt;H5&gt;Please take NP backup without the additional user or roles in NP respository, If there is any modification in NP Respository database. Please drop the user or roles first manaully and take a backup then the backup file can be restored with a different server (a different installation of NP) successfully.&lt;/H5&gt;
&lt;P&gt;Please note that Qlik Support always state to avoid to manually modify NP Repository. In the new installation it must add those two roles and after the restore should work.&lt;/P&gt;
&lt;H3&gt;Cause&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;Based on the investigation of NP backup, the original PostgreSQL database (the NP repository) was manually modified by adding the new roles user_nprinting and user_dba.&lt;/P&gt;
&lt;P&gt;DO NOT MANUALLY CHANGE THE REPOSITORY, it can damages NPrinting installation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Content&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-migrate-NPrinting-to-a-new-environment/ta-p/1714434" target="_blank" rel="noopener"&gt;How to migrate NPrinting to a new environmen&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-BackUp-and-Restore-Qlik-NPrinting-Repository-Database/ta-p/1715863" target="_blank" rel="noopener"&gt;How to BackUp and Restore Qlik NPrinting Repository Database from End to End&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 12:51:24 GMT</pubDate>
    <dc:creator>Daniel_Seo</dc:creator>
    <dc:date>2021-09-22T12:51:24Z</dc:date>
    <item>
      <title>Restoring NPrinting  Repository Database is failed with Errors while PROCESSING TOC</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Restoring-NPrinting-Repository-Database-is-failed-with-Errors/ta-p/1837795</link>
      <description>&lt;P&gt;The Nprinting repository had been backed up using the Qlik.Nprinting.Manager.exe and the zip file can be used to restore in a different NP Server.&lt;/P&gt;
&lt;P&gt;After the installation of NPrinting, a restore using the Qlik.Nprinting.Manager.exe restore command fails.&lt;/P&gt;
&lt;P&gt;Restoring/migrating NP Repository database in a different NP installation server fails while PROCESSING TOC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H5 style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;STRONG&gt;Errors in CMD&lt;/STRONG&gt;&lt;/H5&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NPrinting restoration failed.png" style="width: 767px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/62414i7EA4BE98584A3B6F/image-dimensions/767x273?v=v2" width="767" height="273" role="button" title="NPrinting restoration failed.png" alt="NPrinting restoration failed.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt; &lt;/DIV&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Errors in NPrinting_Manager.log&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV style="box-sizing: border-box; font-family: 'Segoe UI', system-ui, 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand - Qlik.NPrinting.Manager 19.19.4.0 Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand 20210909T022346.137+02:00 ERROR QLIKSERVER6 0 0 0 0 0 0 0 0 Process C:\Program Files\NPrintingServer\pgsql\bin\pg_restore.exe: pg_restore: [archiver (db)] Error while PROCESSING TOC:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand - Qlik.NPrinting.Manager 19.19.4.0 Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand 20210909T232759.033+02:00 ERROR QLIKSERVER6 0 0 0 0 0 0 0 0 Error trying to restore database backup&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR Qlik.NPrinting.Manager.Strategy.RestoreStrategy - Qlik.NPrinting.Manager 19.19.4.0 Qlik.NPrinting.Manager.Strategy.RestoreStrategy 20210909T232759.174+02:00 ERROR QLIKSERVER6 0 0 0 0 0 0 0 0 Error processing command, trying to undo performed operations Qlik.NPrinting.Manager.Commands.InstallationException: Error trying to restore database backup?? at Qlik.NPrinting.Manager.Commands.Restore.RestoreDbCommand.Do(RestoreCommandContext context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Commands\Restore\RestoreDbCommand.cs:line 94?? at Qlik.NPrinting.Manager.Commands.CompositeCommand`1.Do(T context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Commands\CompositeCommand.cs:line 32?? at Qlik.NPrinting.Manager.Strategy.RestoreStrategy.Launch(RestoreCommandContext context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Strategy\RestoreStrategy.cs:line 40?? ??=============?? at Qlik.NPrinting.Common.Utils.NPLog.Error(String message, Exception ex, NPLoggingContext loggingContext)?? at Qlik.NPrinting.Manager.Strategy.RestoreStrategy.Launch(RestoreCommandContext context) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Strategy\RestoreStrategy.cs:line 40?? at Qlik.NPrinting.Manager.Starter.Main(String[] args) in C:\Jws\release-19.19.x-NOvyT9XXE\server\NPrinting\src\Manager\Starter.cs:line 116??=============??&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&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&gt;Resolution&lt;/H3&gt;
&lt;H5&gt;DO NOT MANUALLY CHANGE THE REPOSITORY,&lt;/H5&gt;
&lt;H5&gt;Please take NP backup without the additional user or roles in NP respository, If there is any modification in NP Respository database. Please drop the user or roles first manaully and take a backup then the backup file can be restored with a different server (a different installation of NP) successfully.&lt;/H5&gt;
&lt;P&gt;Please note that Qlik Support always state to avoid to manually modify NP Repository. In the new installation it must add those two roles and after the restore should work.&lt;/P&gt;
&lt;H3&gt;Cause&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;Based on the investigation of NP backup, the original PostgreSQL database (the NP repository) was manually modified by adding the new roles user_nprinting and user_dba.&lt;/P&gt;
&lt;P&gt;DO NOT MANUALLY CHANGE THE REPOSITORY, it can damages NPrinting installation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Content&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-migrate-NPrinting-to-a-new-environment/ta-p/1714434" target="_blank" rel="noopener"&gt;How to migrate NPrinting to a new environmen&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/How-to-BackUp-and-Restore-Qlik-NPrinting-Repository-Database/ta-p/1715863" target="_blank" rel="noopener"&gt;How to BackUp and Restore Qlik NPrinting Repository Database from End to End&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 12:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Restoring-NPrinting-Repository-Database-is-failed-with-Errors/ta-p/1837795</guid>
      <dc:creator>Daniel_Seo</dc:creator>
      <dc:date>2021-09-22T12:51:24Z</dc:date>
    </item>
  </channel>
</rss>

