NPrinting fails to Upgrade from June 2017 to other later versions when database is large (in the Gigabytes). Typically if it contains a lot of published reports.
The upgrade logs register the following:...
CAQuietExec64: Unhandled Exception: System.InvalidOperationException: Could not upgrade database to version 22.214.171.124. ---> System.InvalidOperationException: Could not execute alter DB script. Path: C: \ Program Files \ NPrintingServer \ NPrinting \ Repo.UpgradeDb \ scripts \ 17 \ 126.96.36.199 \ ---> Npgsql.NpgsqlException: ERROR: 57014: canceling statement due to statement timeout
CAQuietExec64: Error 0xe0434352: Command line returned an error.
CAQuietExec64: Error 0xe0434352: QuietExec64 Failed
CAQuietExec64: Error 0xe0434352: Failed in ExecCommon64 method
CustomAction UpgradeDatabase returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:42:09: InstallFinalize. Return value 3.
- NPrinting June 2018 and older
Upgrade to the version below.Fixed Version:
- NPrinting November 2018 release