Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nov 13, 2024 9:25:28 AM
Nov 19, 2021 4:53:30 AM
While updating the qliksenserepository user with any of the Configure-Service.ps1 scripts, you may encounter the following error:
Invoke-Query : Exception calling "Start" with "0" argument(s): "The system cannot find the file specified"
At C:\Program Fi 1es\Qlik\Sense\Mobi1i tyRegistrarService\install\instal1-uti1s\Postgres.psl:56 char :10
+ $ret = Invoke-Query $command
+ Categorylnfo : NotSpecified: (:) [Invoke-Query], MethodlnvocationException
+ FullyQualifiedErrorld : Win32Exception,Invoke-Query
Some Power-shell scripts have not been updated for the new default value of the Database home.
Different versions of Qlik Sense Enterprise for Windows come with their own bundled PostgreSQL version.
Examples: Qlik Sense Enterprise for Windows from May 2021 to May 2023 will install PostgreSQL 12.5, while previous releases used PostgreSQL 9.6 as a default during a new install. Similarly, from Qlik Sense Enterprise on Windows August 2023 onwards, Qlik pre-installs PostgreSQL 14.8 as the default database. For more details on the default, see the System Requirements for your respective version.
When you upgrade from an earlier release you will keep 9.6 or 12.5 and you should not have the issue.
This leads to issues with the following line:
Variation One:
[string]$postgresHome = "$senseInstallPath\Repository\PostgreSQL\9.6",
Variation Two:
[string]$postgresHome = "$senseInstallPath\Repository\PostgreSQL\12.5",
Apply the actions in this solution on all nodes.
Depending on your version of Qlik Sense Enterprise on Windows different corrections will be needed.
This is an example list of .ps1 files needing to be edited in the Qlik Sense Enterprise for Windows August 2023 version:
Dear
After upgrading postgres from 12 to 14, our Qliksense and postgres new path are:
C:\Program Files\Qlik\Sense &
C:\Program Files\PostgreSQL\14
So how can write line 13 ? what will be [string]$postgresHome value?
Dear
We have successfully upgraded postgres from 12.5 to 14.
But I am unable to see below folder path as you mentioned in above steps:
Thers is no postgres folder available :