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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Charvick
Contributor III
Contributor III

Upgrading PostgresDB in an Postgres unbundled Qliksense environment

Hi Community,

We previously unbundled PostgreSQL from our Qlik Sense environment and upgraded to the May 2024 version, as our earlier setup was outdated. Now that May 2024 has reached end of life, we’re planning the next Qlik Sense upgrade. This also means we need to update PostgreSQL again, especially since it contains VA points and relies on older libraries.

I have two main questions:

  1. Can I upgrade PostgreSQL using the Qlik PostgreSQL tool, or do I need to use a separate installer from the PostgreSQL website? I haven’t found clear documentation on this process and would appreciate any advice or best practices.
  2. After upgrading PostgreSQL, what is the correct process to reattach Qlik Sense to the upgraded database without losing any data? Are there specific steps or precautions I should follow to ensure a smooth transition.
  3. Is there any way, I can just re-bundle Qlik Sense with PostgreSQL database? So that in the future we won't have to look at an upgrade as two entities?

Thanks in advance for your help!

 
1 Solution

Accepted Solutions
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

Hi @Charvick 

You will find the answers in the following link: Upgrading and unbundling the Qlik Sense Repository... - Qlik Community - 1934238

Installing or upgrading PostgreSQL using the Qlik PostgreSQL Installer | Qlik Sense for administrato...

  1. Can I upgrade PostgreSQL using the Qlik PostgreSQL tool, or do I need to use a separate installer from the PostgreSQL website? I haven’t found clear documentation on this process and would appreciate any advice or best practices. Yes (only with QPI 2.0 or later). Check the link above.
  2. After upgrading PostgreSQL, what is the correct process to reattach Qlik Sense to the upgraded database without losing any data? Are there specific steps or precautions I should follow to ensure a smooth transition. If it succeeds, there's no need to reattach it.
  3. Is there any way, I can just re-bundle Qlik Sense with PostgreSQL database? So that in the future we won't have to look at an upgrade as two entities? Yes. As this is a complex and delicate step, please make sure you back up the environment before attempting it. In short, you need to back up all 4 postgres databases, uninstall Qlik Sense (keeping files and certificates), uninstall PostgreSQL, reinstall the same version of Qlik Sense you uninstalled earlier (skipping service start), and then restore the PostgreSQL backup.

As I mentioned, this is very delicate and can leave you with a non-functional environment. Make sure you have everything backed up before attempting it.

I hope that helps!

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

View solution in original post

2 Replies
Eduardo_Monteiro
Partner - Creator III
Partner - Creator III

Hi @Charvick 

You will find the answers in the following link: Upgrading and unbundling the Qlik Sense Repository... - Qlik Community - 1934238

Installing or upgrading PostgreSQL using the Qlik PostgreSQL Installer | Qlik Sense for administrato...

  1. Can I upgrade PostgreSQL using the Qlik PostgreSQL tool, or do I need to use a separate installer from the PostgreSQL website? I haven’t found clear documentation on this process and would appreciate any advice or best practices. Yes (only with QPI 2.0 or later). Check the link above.
  2. After upgrading PostgreSQL, what is the correct process to reattach Qlik Sense to the upgraded database without losing any data? Are there specific steps or precautions I should follow to ensure a smooth transition. If it succeeds, there's no need to reattach it.
  3. Is there any way, I can just re-bundle Qlik Sense with PostgreSQL database? So that in the future we won't have to look at an upgrade as two entities? Yes. As this is a complex and delicate step, please make sure you back up the environment before attempting it. In short, you need to back up all 4 postgres databases, uninstall Qlik Sense (keeping files and certificates), uninstall PostgreSQL, reinstall the same version of Qlik Sense you uninstalled earlier (skipping service start), and then restore the PostgreSQL backup.

As I mentioned, this is very delicate and can leave you with a non-functional environment. Make sure you have everything backed up before attempting it.

I hope that helps!

Eduardo Monteiro - Senior Support Engineer @ IPC Global
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

Charvick
Contributor III
Contributor III
Author

This is very helpful @Eduardo_Monteiro . Thanks for this.