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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
delmak2000
Creator
Creator

Re-Installation error encountered when installing Qlik Sense Enterprise windows - May 2024 & November 2024

Hi @Andre_Sostizzo and @Sonja_Bauernfeind,

Please I need assistance. I am trying to re-install Qlik Sense windows enterprise on a Windows Server 2019 after some other users on the servers upgraded the postgres to version 18.

I decided to carry out a fresh installation by uninstalling postgres 18, the Qlik Sense windows enterprise May 2024 and deleted any folder related to Qlik Sense and restarting the server as well, but encountering errors for a fresh installation.

Please could you point me what I might be missing that may cause the failure?

I have attached the log files for the setup failure encountered. 

Looking forward to any pointers or direction.

Thanks

Regards,

Ayodele

Labels (1)
6 Replies
hugo_andrade
Partner - Specialist
Partner - Specialist

Hi @delmak2000 ,

There must be something left behind.

Apply these changes and let us know how it goes:

  • Rename C:\ProgramData\Qlik to C:\ProgramData\Qlik_old
  • Rename C:\Program Files\Qlik to C:\Program Files\Qlik_old
  • Open Microsoft Management Console (MMC) as the service account: Add the following snap-ins: Certificates (Local Computer) Certificates (Current User)

  • In Local Computer, Delete the following certificates:

    • In Trusted Root Certification Authorities > Certificates, delete certificates issued by servername-CA. 

    • In Personal > Certificates, delete certificates issued by servername-CA.

  • In Current User > Personal > Certificates, delete the QlikClient certificate.

Reference: https://community.qlik.com/t5/Official-Support-Articles/Recreating-Qlik-Sense-root-CA-certificate-ma... 

Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

delmak2000
Creator
Creator
Author

Hi @hugo_andrade,

I have carried out removing the certificates and still getting installation failure!

Hopefully I get more pointers on this!

Thanks

Regards,

Ayodele

delmak2000
Creator
Creator
Author

@Sonja_Bauernfeind please help?!!

😢

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @delmak2000 

We took a look and found what looks to be the first error in the chain, which points at a problem connecting to the database. That may indicate that you are using the wrong port or the new DB you have installed for your fresh install may have applied settings from the previously installed Postgre 18 install (leading to the wrong port, etc).

Look into the DB as the root cause.

If you are unable to find a solution, please log a case with us.

Error:

CAQuietExec: WARNING: Skiping the database initialization. No superuser or password specified.
CAQuietExec: Creating schema 'dataprep_service'.
CAQuietExec: Error executing database command "SELECT 1 FROM information_schema.schemata WHERE schema_name = 'dataprep_service'":
CAQuietExec: psql: error: connection to server at "SERVERNAME" (IP), port 4432 failed: Connection timed out
CAQuietExec: (0x0000274C/10060)
CAQuietExec: Is the server running on that host and accepting TCP/IP connections?
CAQuietExec: connection to server at "SERVERNAME" (IP), port 4432 failed: Connection timed out
CAQuietExec: (0x0000274C/10060)
CAQuietExec: Is the server running on that host and accepting TCP/IP connections?
CAQuietExec: At C:\Program Files\Qlik\Sense\DataPrepService\install\install-utils\Postgres.ps1:109 char:9
CAQuietExec: + throw "Error executing database command "" ...
CAQuietExec: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CAQuietExec: + CategoryInfo : OperationStopped: (:) , Exception
CAQuietExec: + FullyQualifiedErrorId : Error executing database command "SELECT 1 FROM information_schema.schemata WHERE schema
CAQuietExec: _name = 'dataprep_service'": psql: error: connection to server at "SERVERNAME" (IP), port 44
CAQuietExec: 32 failed: Connection timed out (0x0000274C/10060)
CAQuietExec: Is the server running on that host and accepting TCP/IP connections?
CAQuietExec: connection to server at "SERVERNAME" (IP), port 4432 failed: Connection timed out (0x0000274
CAQuietExec: C/10060)
CAQuietExec: Is the server running on that host and accepting TCP/IP connections?
CAQuietExec:
CAQuietExec: Error 0x80070001: Command line returned an error.
CAQuietExec: Error 0x80070001: QuietExec Failed
CAQuietExec: Error 0x80070001: Failed in ExecCommon method

Don't forget to Like posts and use the "Accept as Solution" button on content that answered your question! Thanks 🙂
delmak2000
Creator
Creator
Author

Hi @Sonja_Bauernfeind,

Thanks for the feedback.

I was looking at this side Qlik Sense of the error log in the temp folder only and notice below thinking it was the service dispatcher that was installing successfully.

Error 0x80070643: Failed to install MSI package.
Error 0x80070643: Failed to execute MSI package.
Error 0x80070643: Failed to configure per-machine MSI package.
Detected failing msi: ServiceDispatcher
Applied execute package: ServiceDispatcher, result: 0x80070643, restart: None
Error 0x80070643: Failed to execute MSI package.

However, trying all the suggested post workarounds did not help...
https://community.qlik.com/t5/Management-Governance/Install-QlikSense-Enterprise-on-Windows-Server-2...

https://community.qlik.com/t5/Management-Governance/Error-0x80070643-during-upgrade-to-February-2022...

https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Installation-failed-with-central-...

I have removed every trace of the postgres 18 and as far the registry files as well.

I am really stranded on this and will hope to get assistance by logging a ticket!

Regards,
Ayodele

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @delmak2000 

I would focus on postgres. I am assuming that process of installing postgres 18 wasn't fully done. There is a whole procedure off uninstalling previous versions and services and making sure that all those steps were done would be critical. If it wasn't done it is possible that despite uninstalling postgres 18 there are still binaries of postgres 12 or 14 or other (depending on how old your server was) and not clearing everything out will lead to errors like yours.

https://community.qlik.com/t5/Official-Support-Articles/Upgrading-and-unbundling-the-Qlik-Sense-Repo...

I know this is not direct solution to your problem but make sure you dont have any old postgres leftovers by checking steps from that link. 

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.