Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Tool_Tip
Creator III
Creator III

Changes after upgrading postgres from 12 to 14

Dear all,

After upgrading postgres from 12 to 14, we have found  below new changes to our enviornment, which we want to understand/confirm if those are normal:

Steps followed using URL "https://help.qlik.com/en-US/sense-admin/November2024/Subsystems/DeployAdministerQSE/Content/Sense_De... 

1) Qlik Sense Repository Database service is disappeared 

2) New service named postgresql-x64-14  is running

3) Default path of postgres changed 

    FROM : C:\Program Files\Qlik\Sense\Repository\PostgreSQL\12.5

    TO : C:\Program Files\PostgreSQL\14

4) Unable to run Qliksenseutil as it is throwing below error :

     

Tool_Tip_0-1733719237604.png

 

 

Labels (1)
19 Replies
Tool_Tip
Creator III
Creator III
Author

Okay. So is it mandatory to provide new passport in highlighted script below or we can provide same existing password and also we need to change the postrgres path to our new folder path that is 

C:\Program Files\PostgreSQL\14

correct ?

Tool_Tip_0-1733916114300.png

 

mpc
Partner Ambassador
Partner Ambassador

You will need to change the path to C:\Program Files\PostgreSQL\14 and use your current password 🙂 

From Next Decision and mpc with love
Tool_Tip
Creator III
Creator III
Author

Dear Mpc,

Can you check if below code is correct as per our discussion :

Tool_Tip_0-1734926282374.png

 

We have changes in two places:

1) We have kept $newdatabasehostname='localhost' as local host as we have just changed the path for postgres on existing server.

2) postgresHome 'C:\Program Files\PostgreSQL\14' : as per our discussion we have changed the path to newly installed postgres home location

 

Steps:

1) Stop all the qliksense service except "postgresql-x64-14 - PostgreSQL Server 14".

2) Run above script 

 

Please let me know if anything else needs to change.

mpc
Partner Ambassador
Partner Ambassador

Hi, 

If $password is set correctly, everything should run fine, launched with Admin privilege 

Best

From Next Decision and mpc with love
Tool_Tip
Creator III
Creator III
Author

Dear Mpc

I have executed poweshell script, But I am sure it is success as I can see some warning messages:

Tool_Tip_0-1736415314211.pngTool_Tip_1-1736415340048.png

 

mpc
Partner Ambassador
Partner Ambassador

Hi, 

I think it's ok, this warning can be ignored. 

You can try to restart your server ? 

From Next Decision and mpc with love
Tool_Tip
Creator III
Creator III
Author

No. I did not restarted but I check one of the Configure-Service.ps1 for 
C:\Program Files\Qlik\Sense\AppDistributionService

And It is still showing older path

Tool_Tip_0-1736416008197.png

 

mpc
Partner Ambassador
Partner Ambassador

Ok, then you'll need to update each file manually unfortunately 

From Next Decision and mpc with love
Tool_Tip
Creator III
Creator III
Author

Thank you. I will then do all the files manually.
Just for information to know what if I did not update these Configure-Service.ps1 files?
And from the below list which are all folder contains this file to update:

Tool_Tip_0-1736416410453.png

 

mpc
Partner Ambassador
Partner Ambassador

I've no clue why this happened, but I've encountered the case several times. 
Files are listed in Configure-Service.ps1 in C:\program files\Qlik\Sense\. 

From Next Decision and mpc with love